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

322        Process Modelling and Simulation with Finite Element Methods


          Load  up FEMLAB  and in the  Model Navigator, Multiphysics tab,  set up  as
          follows:

           Model Navigator
                  Select Multiphysics tab, 2D
                  Select Incompressible Navier-Stokes  variables u v p;  ns  mode  >>
                  Select PDE general form,       variable Y;  species  mode  >>
                  Select PDE general form,       variable phi; potential mode >>
                  Solver Type: time dependent
                  OK

          Accept the default element shape and order for each mode.
          Pull  down  the  options menu  and  select  Add/Edit constants.  The  AddEdit
         constants dialog box appears.

                   AddEdit Constants
                          Define as follows:
                   Pec       30
                   Re        0.03
                   zel       1
                   betael  1
                   zetar     1
                   sigr      1


          Pull down the Options menu and set the grid to (-1,4) x  (-1,l).  Pull down the
          Draw menu.


           Draw Mode
              Select Draw Rectangle from the palette on the left.
              Enter points (O,O),  (3,0), (3,0.5), (0,OS).  Click on the points to be sure
              that you snapped to the grid or to edit them.
                  Apply/OK
          Now pull down the Subdomain menu and select Subdomain settings.

           Subdomain      r                            F             da
           Modelsettings
           Subdomain 1    p = 1; 7 = 1Re;  Fx = 0;  Fy = 0
           (ns mode)
           Subdomain 1    -( l/Pec)*Yx-betael*zel*Y*phix   -u*Yx-v*Yy   1
           (species mode)   (space delimiter)
                          -( l/Pec)*Yy-betael*zel*Y *phiy
   330   331   332   333   334   335   336   337   338   339   340