Writes scalar fields corresponding to the magnitude ot the gradient of the supplied field (name) for each time. More...
#include <foamCalcFunctions/magGrad.H>
Writes scalar fields corresponding to the magnitude ot the gradient of the supplied field (name) for each time.
Definition at line 53 of file magGrad.H.
Public Member Functions | |
TypeName ("magGrad") | |
Runtime type information.
| |
magGrad () | |
Construct null.
| |
virtual | ~magGrad () |
Protected Member Functions | |
virtual void | init () |
Initialise - typically setting static variables,.
| |
virtual void | preCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Pre-time loop calculations.
| |
virtual void | calc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Time loop calculations.
| |
template<class Type > | |
void | writeMagGradField (const IOobject &header, const fvMesh &mesh, bool &processed) |
Write magGrad fields.
|
void init | ( | ) | [protected, virtual]
|
Initialise - typically setting static variables,.
e.g. command line arguments
Reimplemented from calcType.
Definition at line 57 of file magGrad.C.
References LList< LListBase, T >::append(), and argList::validArgs.
Time loop calculations.
Reimplemented from calcType.
Definition at line 74 of file magGrad.C.
References argList::additionalArgs(), Foam::endl(), Foam::exit(), Foam::FatalError, Foam::Info, mesh, IOobject::MUST_READ, Foam::nl, and Time::timeName().
void writeMagGradField | ( | const IOobject & | header, |
const fvMesh & | mesh, | ||
bool & | processed | ||
) | [protected]
|
Write magGrad fields.
Definition at line 28 of file writeMagGradField.C.
References Foam::endl(), Foam::fvc::grad(), IOobject::headerClassName(), Foam::Info, Foam::mag(), mesh, IOobject::name(), fvMesh::time(), Time::timeName(), and regIOobject::write().
TypeName | ( | "magGrad" | ) |
Runtime type information.