FEATool Multiphysics
v1.17.2
Finite Element Analysis Toolbox
|
DARCYSLAW Darcy's law physics mode.
DARCYSLAW Define and generate a Darcy's law physics mode struct. Used with the ADDPHYS function.
1) Add default Darcy's law physics mode. fea.sdim = {'x', 'y'}; fea.geom.objects = {gobj_circle}; fea = addphys( fea, @darcyslaw ); 2) Add Darcy's law physics mode with named dependent variable. fea.sdim = {'x', 'y', 'z'}; fea.geom.objects = {gobj_block}; fea = addphys( fea, @darcyslaw, {'p0'} );
[ PHYS ] = DARCYSLAW( SDIM, DVAR, TAG, ISAXI ) Optional arguments when used without addphys are a cell array of space dimension variables SDIM (default {x
, y
}), dependent variable name DVAR (default {p
}), mode tag TAG (default dl
), and boolean ISAXI to specify 2D axisymmetric formulation (default false).