This function object calculates and outputs the intensive fields: More...
Public Member Functions | |
TypeName ("dsmcFields") | |
Runtime type information. More... | |
dsmcFields (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false) | |
Construct for given objectRegistry and dictionary. More... | |
virtual | ~dsmcFields () |
Destructor. More... | |
virtual const word & | name () const |
Return name of the set of dsmcFields. More... | |
virtual void | read (const dictionary &) |
Read the dsmcFields 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 () |
Calculate the dsmcFields and write. More... | |
virtual void | updateMesh (const mapPolyMesh &) |
Update for changes of mesh. More... | |
virtual void | movePoints (const polyMesh &) |
Update for changes of mesh. More... | |
Private Member Functions | |
dsmcFields (const dsmcFields &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const dsmcFields &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
word | name_ |
Name of this set of dsmcFields objects. More... | |
const objectRegistry & | obr_ |
bool | active_ |
on/off switch More... | |
Switch | log_ |
Switch to send output to Info as well as to file. More... | |
This function object calculates and outputs the intensive fields:
Example of function object specification to calculate DSMC fields:
dsmcFields1 { type dsmcFields; functionObjectLibs ("libutilityFunctionObjects.so"); ... }
Function object usage
Property | Description | Required | Default value |
---|---|---|---|
type | Type name: dsmcFields | yes | |
log | Log to standard output | no | yes |
Definition at line 98 of file dsmcFields.H.
|
private |
Disallow default bitwise copy construct.
dsmcFields | ( | 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 46 of file dsmcFields.C.
References dict, Foam::endl(), Foam::nl, Foam::read(), and WarningInFunction.
|
virtual |
Destructor.
Definition at line 73 of file dsmcFields.C.
|
private |
Disallow default bitwise assignment.
TypeName | ( | "dsmcFields" | ) |
Runtime type information.
|
inlinevirtual |
Return name of the set of dsmcFields.
Definition at line 149 of file dsmcFields.H.
References dsmcFields::name_.
|
virtual |
|
virtual |
Execute, currently does nothing.
Definition at line 88 of file dsmcFields.C.
|
virtual |
Execute at the final time-loop, currently does nothing.
Definition at line 94 of file dsmcFields.C.
|
virtual |
Called when time was set at the end of the Time::operator++.
Definition at line 100 of file dsmcFields.C.
|
virtual |
Calculate the dsmcFields and write.
Definition at line 106 of file dsmcFields.C.
References Foam::endl(), polyPatch::faceAreas(), forAll, Foam::Info, Foam::constant::physicoChemical::k, Foam::mag(), Foam::max(), mesh, Foam::min(), Foam::nl, IOobject::NO_READ, p, Foam::type(), UMean(), and dimensioned::value().
|
inlinevirtual |
Update for changes of mesh.
Definition at line 170 of file dsmcFields.H.
|
inlinevirtual |
Update for changes of mesh.
Definition at line 174 of file dsmcFields.H.
|
private |
Name of this set of dsmcFields objects.
Definition at line 103 of file dsmcFields.H.
Referenced by dsmcFields::name().
|
private |
Definition at line 105 of file dsmcFields.H.
|
private |
on/off switch
Definition at line 108 of file dsmcFields.H.
|
private |
Switch to send output to Info as well as to file.
Definition at line 111 of file dsmcFields.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.