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


EX_NAVIERSTOKES10 3D Example for stationary flow in a pipe.

[ FEA, OUT ] = EX_NAVIERSTOKES10( VARARGIN ) Sets up and solves stationary and laminar 3D flow in a circular pipe. The inflow profile is constant and the outflow should assume an offset parabolic profile. Accepts the following property/value pairs.

Input       Value/{Default}        Description
rho         scalar {1}             Density
miu         scalar {0.01}          Molecular/dynamic viscosity
uin         scalar {0.3}           Magnitude of inlet velocity
R           scalar {0.5}           Channel radius
sf_u        string {sf_hex_Q1nc}   Shape function for velocity
sf_p        string {sf_disc0}      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: