Page 54 - Process Modelling and Simulation With Finite Element Methods
P. 54

FEMLAB and the Basics of  Numerical Analysis   41

          Partial Results

          A resolved numerical solution gives

                                     c.4  -
                                    --0.1
                                     C
                                    t = 5.65225                       (1.18)

                                     x = 18.5435
          with a profile for CAIC as in Figure 1.5.







                     0.6

                     0.4




                       I
                               2       4       6       8      10
                   Figure 1.5 Profile of normalized alcohol concentration vs. space time t.

         FEMLAB Implementation
          We wish to create  our pseudo-OD simulation environment  yet  again, this time
         with  four  dependent  variables.  Start  up  FEMLAB  and  await  the  Model
         Navigator window.

                   Model Navigator
                          Select 1-D dimension
                          Select PDE modes + Coefficient+time dependent
                      0
                      0   Select 4 dependent variables
                          Element: Lagrange - linear
                      0   More>>
                      0   OK
         This application mode gives us four dependent variables uI u2  u3 u4 and one space
         coordinate x. Next, set up the domain.

         Pull down the Draw menu and select Specify Geometry.
   49   50   51   52   53   54   55   56   57   58   59