This function object linearly interpolates volume fields to generate surface fields. More...
Public Member Functions | |
TypeName ("surfaceInterpolateFields") | |
Runtime type information. More... | |
surfaceInterpolateFields (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false) | |
Construct for given objectRegistry and dictionary. More... | |
virtual | ~surfaceInterpolateFields () |
Destructor. More... | |
virtual const word & | name () const |
Return name of the surfaceInterpolateFields object. More... | |
virtual void | read (const dictionary &) |
Read the field min/max data. More... | |
virtual void | execute () |
Execute, currently does nothing. More... | |
virtual void | end () |
Execute at the final time-loop, currently does nothing. More... | |
virtual void | timeSet () |
Called when time was set at the end of the Time::operator++. More... | |
virtual void | write () |
Write. More... | |
virtual void | updateMesh (const mapPolyMesh &) |
Update for changes of mesh. More... | |
virtual void | movePoints (const polyMesh &) |
Update for changes of mesh. More... | |
Protected Member Functions | |
surfaceInterpolateFields (const surfaceInterpolateFields &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const surfaceInterpolateFields &) |
Disallow default bitwise assignment. More... | |
template<class Type > | |
void | interpolateFields (PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &) const |
Protected Attributes | |
word | name_ |
Name of this set of surfaceInterpolateFields object. More... | |
const objectRegistry & | obr_ |
bool | active_ |
on/off switch More... | |
List< Tuple2< word, word > > | fieldSet_ |
Fields to process. More... | |
Switch | log_ |
Switch to send output to Info as well as to file. More... | |
PtrList< surfaceScalarField > | ssf_ |
Locally constructed fields. More... | |
PtrList< surfaceVectorField > | svf_ |
PtrList< surfaceSphericalTensorField > | sSpheretf_ |
PtrList< surfaceSymmTensorField > | sSymmtf_ |
PtrList< surfaceTensorField > | stf_ |
This function object linearly interpolates volume fields to generate surface fields.
Group grpFieldFunctionObjects
This functionObject can either be used
Example of function object specification:
surfaceInterpolateFields1 { type surfaceInterpolateFields; functionObjectLibs ("libfieldFunctionObjects.so"); ... fields ((p pNear)(U UNear)); }
Function object usage
Property | Description | Required | Default value |
---|---|---|---|
type | type name: nearWallFields | yes | |
fields | list of fields with correspoding output field names | yes | |
log | Log to standard output | no | yes |
Definition at line 111 of file surfaceInterpolateFields.H.
|
protected |
Disallow default bitwise copy construct.
surfaceInterpolateFields | ( | const word & | name, |
const objectRegistry & | obr, | ||
const dictionary & | dict, | ||
const bool | loadFromFiles = false |
||
) |
Construct for given objectRegistry and dictionary.
Allow the possibility to load fields from files
Definition at line 39 of file surfaceInterpolateFields.C.
References dict, Foam::endl(), Foam::read(), and WarningInFunction.
|
virtual |
Destructor.
Definition at line 69 of file surfaceInterpolateFields.C.
|
protected |
Disallow default bitwise assignment.
|
protected |
Definition at line 34 of file surfaceInterpolateFieldsTemplates.C.
References Foam::endl(), fld(), forAll, forAllConstIter(), HashTable::found(), Foam::Info, HashTable::insert(), and Foam::linearInterpolate().
TypeName | ( | "surfaceInterpolateFields" | ) |
Runtime type information.
|
inlinevirtual |
Return name of the surfaceInterpolateFields object.
Definition at line 180 of file surfaceInterpolateFields.H.
References surfaceInterpolateFields::name_.
|
virtual |
Read the field min/max data.
Definition at line 75 of file surfaceInterpolateFields.C.
References dict, and dictionary::lookup().
|
virtual |
Execute, currently does nothing.
Definition at line 85 of file surfaceInterpolateFields.C.
References Foam::endl(), Foam::Info, Foam::nl, and Foam::type().
|
virtual |
Execute at the final time-loop, currently does nothing.
Definition at line 109 of file surfaceInterpolateFields.C.
|
virtual |
Called when time was set at the end of the Time::operator++.
Definition at line 115 of file surfaceInterpolateFields.C.
|
virtual |
Write.
Definition at line 121 of file surfaceInterpolateFields.C.
References Foam::endl(), forAll, Foam::Info, Foam::nl, and Foam::type().
|
inlinevirtual |
Update for changes of mesh.
Definition at line 201 of file surfaceInterpolateFields.H.
|
inlinevirtual |
Update for changes of mesh.
Definition at line 205 of file surfaceInterpolateFields.H.
|
protected |
Name of this set of surfaceInterpolateFields object.
Definition at line 118 of file surfaceInterpolateFields.H.
Referenced by surfaceInterpolateFields::name().
|
protected |
Definition at line 120 of file surfaceInterpolateFields.H.
|
protected |
on/off switch
Definition at line 123 of file surfaceInterpolateFields.H.
Fields to process.
Definition at line 126 of file surfaceInterpolateFields.H.
|
protected |
Switch to send output to Info as well as to file.
Definition at line 129 of file surfaceInterpolateFields.H.
|
protected |
Locally constructed fields.
Definition at line 132 of file surfaceInterpolateFields.H.
|
protected |
Definition at line 133 of file surfaceInterpolateFields.H.
|
protected |
Definition at line 134 of file surfaceInterpolateFields.H.
|
protected |
Definition at line 135 of file surfaceInterpolateFields.H.
|
protected |
Definition at line 136 of file surfaceInterpolateFields.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.