53 const word motionType(mdData);
55 Info<<
"Selecting motion diffusion: " << motionType <<
endl;
57 IstreamConstructorTable::iterator cstrIter =
58 IstreamConstructorTablePtr_->find(motionType);
60 if (cstrIter == IstreamConstructorTablePtr_->end())
63 <<
"Unknown diffusion type "
64 << motionType <<
nl <<
nl
65 <<
"Valid diffusion types are :" <<
endl
66 << IstreamConstructorTablePtr_->sortedToc()
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for cell-centre mesh motion diffusivity.
virtual ~motionDiffusivity()
Destructor.
static autoPtr< motionDiffusivity > New(const fvMesh &mesh, Istream &mdData)
Select null constructed.
motionDiffusivity(const fvMesh &mesh)
Construct for the given fvMesh.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)