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


EX_NAVIERSTOKES4 2D Example for incompressible flow over a backwards facing step.

[ FEA, OUT ] = EX_NAVIERSTOKES4( VARARGIN ) Stationary flow over a backwards

facing step. References

[1] P.M. Gresho and R.L. Sani, Incompressible Flow and the Finite Element Method, Volume 1 & 2, John Wiley & Sons, New York, 2000.

[2] A. Rose and B. Simpson: “Laminar, Constant-Temperature Flow Over a Backward Facing Step,” 1st NAFEMS Workbook of CFD Examples, Glasgow, UK, 2000.

Accepts the following property/value pairs.

Input       Value/{Default}        Description
re          scalar {389}           Reynolds number
h           scalar {1}             Channel height
y           scalar {0.485}         Step height (fraction of channel height)
lc          scalar {7.92}          Channel length (fraction of channel height)
li          scalar {1.98}          Inlet length (fraction of channel height)
hmax        scalar {0.06}          Max grid cell size
sf_u        string {sflag2}        Shape function for velocity
sf_p        string {sflag1}        Shape function for pressure
iphys       scalar 0/{1}           Use physics mode to define problem (=1)
iplot       scalar 0/{1}           Plot solution (=1)
Output      Value/(Size)           Description
fea         struct                 Problem definition struct
out         struct                 Output struct
Generated fields of fea:
Generated fields of out: