Geometric constraint conditions

Some cases can be reduced to their equivalent simplified systems by taking advantage of dimensionality, symmetric and cyclic behaviour. In OpenFOAM, this is achieved by the application of constraint conditions, e.g. for

  • 2-D cases: empty, wedge
  • reduced geometry cases: symmetry, cyclic
  • parallel cases: processor

Options

Available constraint conditions include

Boundary mesh type

Constraint conditons are specified using the <constraint type> type entry in the $FOAM_CASE/constant/polyMesh/boundary file:

patchName
{
    type            <constraint type>;
    ...
}

Field type

The field type entry typically takes the same value as the boundary mesh type, with additional properties as required

patchName
{
    type            <constraint type>;
    ...
}

Further information

Source code:

  • See the implementation details to see how the conditions are coded.

See also

Copyright ©  OpenCFD Ltd. 2017
Creative Commons License