FEATool  v1.6
Finite Element Analysis Toolbox
 All Files Functions Pages
ex_multiphase2.m File Reference


EX_MULTIPHASE2 Multiphase flow rising bubble example.

[ FEA, OUT ] = EX_MULTIPHASE2( VARARGIN ) A benchmark multiphase flow rising bubble example. Reference solution is given in Hysing et. al Quantitative benchmark computations of two-dimensional bubble dynamics. Int. J. Numer. Meth. Fluids, 60: 1259–1288,

  1. doi: 10.1002/fld.1934. Accepts the following property/value pairs.
    Input       Value/{Default}        Description
    rho1        scalar {1e2}           Density of the bubble
    rho2        scalar {1e3}           Density of the surrounding fluid
    miu1        scalar {1}             Viscosity of the bubble
    miu2        scalar {1e1}           Viscosity of the surrounding fluid
    gy          scalar {0.98}          Gravitational constant
    sigma       scalar {24.5}          Coefficient of surface tension
    igrid       scalar 0/{1}           Cell type (0=quadrilaterals, 1=triangles)
    hmax        scalar {1/20}          Max grid cell size
    dt          scalar {0.1}           Time step size
    sf_u        string {sflag2}        Shape function for velocity
    sf_p        string {sflag1}        Shape function for pressure
    sf_c        string {sflag1}        Shape function for the level set function
    iplot       scalar 0/{1}           Plot solution and error (=1)
    Output      Value/(Size)           Description
    fea         struct                 Problem definition struct
    out         struct                 Output struct
Generated fields of fea:
Generated fields of out: