Reads fields from the time folders and adds them to the mesh database for further post-processing. More...
#include <fieldFunctionObjects/readFields.H>
Reads fields from the time folders and adds them to the mesh database for further post-processing.
Definition at line 59 of file readFields.H.
Public Member Functions | |
TypeName ("readFields") | |
Runtime type information. | |
readFields (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false) | |
Construct for given objectRegistry and dictionary. | |
virtual | ~readFields () |
Destructor. | |
virtual const word & | name () const |
Return name of the readFields object. | |
virtual void | read (const dictionary &) |
Read the field min/max data. | |
virtual void | execute () |
Execute, currently does nothing. | |
virtual void | end () |
Execute at the final time-loop, currently does nothing. | |
virtual void | write () |
Write. | |
virtual void | updateMesh (const mapPolyMesh &) |
Update for changes of mesh. | |
virtual void | movePoints (const pointField &) |
Update for changes of mesh. |
Protected Member Functions | |
readFields (const readFields &) | |
Disallow default bitwise copy construct. | |
void | operator= (const readFields &) |
Disallow default bitwise assignment. | |
template<class Type > | |
void | loadField (const word &, PtrList< GeometricField< Type, fvPatchField, volMesh > > &, PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > &) const |
Protected Attributes | |
word | name_ |
Name of this set of readFields object. | |
const objectRegistry & | obr_ |
bool | active_ |
on/off switch | |
wordList | fieldSet_ |
Fields to load. | |
PtrList< volScalarField > | vsf_ |
Loaded fields. | |
PtrList< volVectorField > | vvf_ |
PtrList< volSphericalTensorField > | vSpheretf_ |
PtrList< volSymmTensorField > | vSymmtf_ |
PtrList< volTensorField > | vtf_ |
PtrList< surfaceScalarField > | ssf_ |
PtrList< surfaceVectorField > | svf_ |
PtrList < surfaceSphericalTensorField > | sSpheretf_ |
PtrList< surfaceSymmTensorField > | sSymmtf_ |
PtrList< surfaceTensorField > | stf_ |
|
protected |
Disallow default bitwise copy construct.
readFields | ( | 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 40 of file readFields.C.
References Foam::endl(), and WarningIn.
|
virtual |
Destructor.
Definition at line 75 of file readFields.C.
|
protected |
Disallow default bitwise assignment.
|
protected |
Definition at line 35 of file readFieldsTemplates.C.
References Foam::endl(), Foam::Info, mesh, fvMesh::time(), and Time::timeName().
TypeName | ( | "readFields" | ) |
Runtime type information.
|
inlinevirtual |
Return name of the readFields object.
Definition at line 133 of file readFields.H.
References readFields::name_.
|
virtual |
Read the field min/max data.
Definition at line 81 of file readFields.C.
References dictionary::lookup().
|
virtual |
|
virtual |
Execute at the final time-loop, currently does nothing.
Definition at line 119 of file readFields.C.
|
virtual |
Write.
Definition at line 125 of file readFields.C.
|
inlinevirtual |
Update for changes of mesh.
Definition at line 151 of file readFields.H.
|
inlinevirtual |
Update for changes of mesh.
Definition at line 155 of file readFields.H.
|
protected |
Name of this set of readFields object.
Definition at line 66 of file readFields.H.
Referenced by readFields::name().
|
protected |
Definition at line 68 of file readFields.H.
|
protected |
on/off switch
Definition at line 71 of file readFields.H.
|
protected |
Fields to load.
Definition at line 74 of file readFields.H.
|
protected |
Loaded fields.
Definition at line 77 of file readFields.H.
|
protected |
Definition at line 78 of file readFields.H.
|
protected |
Definition at line 79 of file readFields.H.
|
protected |
Definition at line 80 of file readFields.H.
|
protected |
Definition at line 81 of file readFields.H.
|
protected |
Definition at line 83 of file readFields.H.
|
protected |
Definition at line 84 of file readFields.H.
|
protected |
Definition at line 85 of file readFields.H.
|
protected |
Definition at line 86 of file readFields.H.
|
protected |
Definition at line 87 of file readFields.H.