|
|
|
addSubtract Class Referenceadds/subtracts a field or value to/from a base field. More...
Inheritance diagram for addSubtract:
![]()
Collaboration diagram for addSubtract:
![]()
Detailed Descriptionadds/subtracts a field or value to/from a base field.New field name specified by -resultName option, or automatically as: <baseFieldName>_add_<addSubtractFieldName> <baseFieldName>_add_value <baseFieldName>_subtract_<addSubtractFieldName> <baseFieldName>_subtract_value Example usage: addSubtract p add -value 100000 -resultName pAbs addSubtract U subtract -field U0
Definition at line 59 of file addSubtract.H. Member Enumeration Documentation
Constructor & Destructor Documentation
Definition at line 183 of file addSubtract.C.
Member Function Documentation
Initialise - typically setting static variables,. Reimplemented from calcType. Definition at line 189 of file addSubtract.C.
Pre-time loop calculations.
Reimplemented from calcType. Definition at line 201 of file addSubtract.C. Time loop calculations.
Reimplemented from calcType. Definition at line 251 of file addSubtract.C. References argList::option().
Here is the call graph for this function:
![]()
Write addSubtract field.
Definition at line 20 of file writeAddSubtractField.C. References addSubtract::ADD, Foam::endl(), IOobject::headerClassName(), Foam::Info, IOobject::name(), Foam::nl, IOobject::NO_READ, fvMesh::time(), and Time::timeName().
Here is the call graph for this function:
![]()
Write addSubtract value.
Definition at line 20 of file writeAddSubtractValue.C. References addSubtract::ADD, Foam::endl(), IOobject::headerClassName(), Foam::Info, IOobject::name(), IOobject::NO_READ, fvMesh::time(), Time::timeName(), and Ostream::write().
Here is the call graph for this function:
![]()
Runtime type information.
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||