Enables users to set field values in the domain, irrespective of the local flow conditions.


Downstream fields outside the region constrained will continue developing normally.

No information will be added to the log file other than the identification of the constraint at the start of the simulation.


The constraint is available for all primitive field types, i.e. scalar, vector, sphericalTensor, symTensor and tensor, where the type entry is set as

type            <type>FixedValueConstraint

For example, the scalar variant can be applied to the turbulence k and epsilon fields using:

    type            scalarFixedValueConstraint;
    active          yes;

    selectionMode   cellZone;    //cellZone or all
    cellZone        porosity;
        k           1;
        epsilon     150;     // any field values can be modified, including scalars.

Further information


Source code