The open source CFD toolbox
Uniform fixed value

# Properties

• Wrapper around the fixed condition
• Sets the field to a uniform value
• Applicable to all variable types

# Usage

The condition is specified in the field file using:

<patchName>
{
type            uniformFixedValue;
uniformValue    <Function1>;
}


The uniformValue is a Foam::Function1 type, allowing the value to be prescribed as a function of time. For example, to ramp vector values from (0 0 0) to (10 0 0) over 5 seconds:

<patchName>
{
type            uniformFixedValue;
uniformValue    table
(
(0   (0 0 0))
(5   (10 0 0))
);
}


# Further information

Source code:

Related:

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