FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Writes scalar fields corresponding to the magnitude ot the gradient of the supplied field (name) for each time. More...

#include <foamCalcFunctions/magGrad.H>


Detailed Description

Writes scalar fields corresponding to the magnitude ot the gradient of the supplied field (name) for each time.

Source files

Definition at line 53 of file magGrad.H.

Inheritance diagram for magGrad:
Collaboration diagram for magGrad:

List of all members.

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.

Constructor & Destructor Documentation

magGrad (  )

Construct null.

Definition at line 43 of file magGrad.C.

~magGrad (  ) [virtual]

Definition at line 51 of file magGrad.C.


Member Function Documentation

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.

void preCalc ( const argList &   args,
const Time &   runTime,
const fvMesh &   mesh  
) [protected, virtual]

Pre-time loop calculations.

Reimplemented from calcType.

Definition at line 65 of file magGrad.C.

void calc ( const argList &   args,
const Time &   runTime,
const fvMesh &   mesh  
) [protected, virtual]

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]
TypeName ( "magGrad"    )

Runtime type information.


The documentation for this class was generated from the following files:
  • src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.H
  • src/postProcessing/foamCalcFunctions/field/magGrad/magGrad.C
  • src/postProcessing/foamCalcFunctions/field/magGrad/writeMagGradField.C