44 rho.
mesh().time().constant(),
53 Info<<
"Selecting " << parcelCloud::typeName <<
" " << type <<
endl;
55 viscosityConstructorTable::iterator cstrIter =
56 viscosityConstructorTablePtr_->find(type);
58 if (cstrIter == viscosityConstructorTablePtr_->end())
61 <<
"Unknown " << parcelCloud::typeName <<
" " << type <<
nl <<
nl 62 <<
"Valid cloud types are:" <<
nl 63 << viscosityConstructorTablePtr_->sortedToc()
85 rho.
mesh().time().constant(),
94 Info<<
"Selecting " << parcelCloud::typeName <<
" " << type <<
endl;
96 thermoConstructorTable::iterator cstrIter =
97 thermoConstructorTablePtr_->find(type);
99 if (cstrIter == thermoConstructorTablePtr_->end())
102 <<
"Unknown " << parcelCloud::typeName <<
" " << type <<
nl <<
nl 103 <<
"Valid cloud types are:" <<
nl 104 << thermoConstructorTablePtr_->sortedToc()
108 return cstrIter()(
name,
rho,
U,
g, carrierThermo);
errorManipArg< error, int > exit(error &err, const int errNo=1)
static autoPtr< parcelCloud > New(const word &name, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g)
Selectors.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A class for handling words, derived from string.
Base-class for fluid thermodynamic properties.
const dimensionedScalar mu
Atomic mass unit.
const Mesh & mesh() const
Return mesh.
word name(const complex &)
Return a string representation of a complex.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
const dimensionedVector & g
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.