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))
);
}
Source code:
Related:
| Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2016-2017 OpenCFD Ltd.