Writes scalar fields corresponding to the magnitude ot the gradient of the supplied field (name) for each time. More...
Public Member Functions | |
TypeName ("magGrad") | |
Runtime type information. More... | |
magGrad () | |
Construct null. More... | |
virtual | ~magGrad () |
Destructor. More... | |
![]() | |
TypeName ("calcType") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, calcType, dictionary,(),()) | |
calcType () | |
Construct null. More... | |
virtual | ~calcType () |
Destructor. More... | |
void | tryInit () |
Initialise - typically setting static variables,. More... | |
void | tryPreCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Pre-time loop calculations. More... | |
void | tryCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Time loop calculations. More... | |
void | tryPostCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Post-time loop calculations. More... | |
Protected Member Functions | |
virtual void | init () |
Initialise - typically setting static variables,. More... | |
virtual void | preCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Pre-time loop calculations. More... | |
virtual void | calc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Time loop calculations. More... | |
template<class Type > | |
void | writeMagGradField (const IOobject &header, const fvMesh &mesh, bool &processed) |
Write magGrad fields. More... | |
![]() | |
virtual void | postCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Post-time loop calculations. More... | |
Private Member Functions | |
magGrad (const magGrad &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const magGrad &) |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< calcType > | New (const word &calcTypeName) |
Writes scalar fields corresponding to the magnitude ot the gradient of the supplied field (name) for each time.
|
private |
Disallow default bitwise assignment.
|
protectedvirtual |
Initialise - typically setting static variables,.
e.g. command line arguments
Reimplemented from calcType.
Definition at line 57 of file magGrad.C.
References argList::validArgs.
Time loop calculations.
Reimplemented from calcType.
Definition at line 74 of file magGrad.C.
References args, Foam::endl(), Foam::exit(), Foam::FatalError, IOobject::headerClassName(), IOobject::headerOk(), Foam::Info, mesh, IOobject::MUST_READ, Foam::nl, and Time::timeName().
Write magGrad fields.
Definition at line 28 of file writeMagGradField.C.
References Foam::endl(), Foam::fvc::grad(), IOobject::headerClassName(), Foam::Info, Foam::mag(), mesh, and IOobject::name().
TypeName | ( | "magGrad" | ) |
Runtime type information.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.