Fixed value

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

Properties

Downstream fields outside the region constrained will continue developing normally.

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

Usage

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:

fixedValue
{
    type            scalarFixedValueConstraint;
    active          yes;

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

Further information

Tutorials

Source code


Would you like to suggest an improvement to this page? Create an issue

Copyright © 2018 OpenCFD Ltd.

Licensed under the Creative Commons License BY-NC-ND Creative Commons License