FEATool  v1.7
Finite Element Analysis Toolbox
 All Files Functions Pages
ex_multiphase1.m File Reference


EX_MULTIPHASE1 Static bubble example.

[ FEA, OUT ] = EX_MULTIPHASE1( VARARGIN ) Sets up and solves a stationary static bubble example where the pressure jump should be equal to sigma/r. Accepts the following property/value pairs.

Input       Value/{Default}        Description
rho         scalar {1e4}           Density
miu         scalar {1}             Molecular/dynamic viscosity
sigma       scalar {1}             Coefficient of surface tension
r           scalar {0.25}          Bubble radius
lbi         scalar 1/{0}           Exact or transformed surface tension source term
igrid       scalar 0/{1}           Cell type (0=quadrilaterals, 1=triangles)
hmax        scalar {1/30}          Max grid cell size
ischeme     scalar {3}             Time stepping scheme
sf_u        string {sflag2}        Shape function for velocity
sf_p        string {sflag1}        Shape function for pressure
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: