44 rho.mesh().time().constant(),
58 viscosityConstructorTable::iterator cstrIter =
59 viscosityConstructorTablePtr_->find(
type);
61 if (cstrIter == viscosityConstructorTablePtr_->end())
65 <<
"Valid cloud types are:" <<
nl
66 << viscosityConstructorTablePtr_->sortedToc()
88 rho.mesh().time().constant(),
102 thermoConstructorTable::iterator cstrIter =
103 thermoConstructorTablePtr_->find(
type);
105 if (cstrIter == thermoConstructorTablePtr_->end())
109 <<
"Valid cloud types are:" <<
nl
110 << thermoConstructorTablePtr_->sortedToc()
114 return cstrIter()(
name,
rho,
U, g, carrierThermo);
Generic GeometricField class.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
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.
bool open(const fileName &libName, const bool verbose=true)
Open the named library, optionally with warnings if problems occur.
Base-class for fluid thermodynamic properties.
static autoPtr< parcelCloud > New(const word &name, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g)
Selectors.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionedScalar mu
Atomic mass unit.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dlLibraryTable libs
Table of loaded dynamic libraries.
Ostream & endl(Ostream &os)
Add newline and flush stream.
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.