FEATool Multiphysics
v1.17.1
Finite Element Analysis Toolbox
|
NAVIERSTOKES Navier-Stokes equations physics mode.
NAVIERSTOKES Define and generate a Navier-Stokes equations physics mode struct. Used with the ADDPHYS function.
1) Add default Navier-Stokes equations physics mode. fea.sdim = {'x', 'y'}; fea.geom.objects = {gobj_circle}; fea = addphys( fea, @navierstokes ); 2) Add Navier-Stokes equations physics mode with named dependent variables. fea.sdim = {'x', 'y', 'z'}; fea.geom.objects = {gobj_block}; fea = addphys( fea, @navierstokes, {'u1', 'u2', 'u3', 'p'} );
[ PHYS ] = NAVIERSTOKES( SDIM, DVAR, TAG, ISAXI ) Optional arguments when used without addphys are a cell array of space dimension variables SDIM (default {x
, y
}), dependent variable names DVAR (default {u
, v
, p
}), mode tag TAG (default ns
), and boolean ISAXI to specify 2D axisymmetric formulation (default false).