49Foam::exponentialDiffusivity::exponentialDiffusivity
56 alpha_(readScalar(mdData)),
72 return exp(-alpha_/basicDiffusivityPtr_->operator()());
78 basicDiffusivityPtr_->correct();
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh motion diffusivity maipulator which returns the exp(-alpha/D) of the given diffusivity D.
virtual void correct()
Correct the motion diffusivity.
virtual tmp< surfaceScalarField > operator()() const
Return diffusivity field.
virtual ~exponentialDiffusivity()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for cell-centre mesh motion diffusivity.
static autoPtr< motionDiffusivity > New(const fvMesh &mesh, Istream &mdData)
Select null constructed.
const fvMesh & mesh() const
Return reference to the mesh.
motionDiffusivity(const fvMesh &mesh)
Construct for the given fvMesh.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
dimensionedScalar exp(const dimensionedScalar &ds)