44 rho.mesh().time().constant(),
53 Info<<
"Selecting " << parcelCloud::typeName <<
" " <<
type <<
endl;
57 viscosityConstructorTable::iterator cstrIter =
58 viscosityConstructorTablePtr_->find(
type);
60 if (cstrIter == viscosityConstructorTablePtr_->end())
63 <<
"Unknown " << parcelCloud::typeName <<
" " <<
type <<
nl <<
nl
64 <<
"Valid cloud types are:" <<
nl
65 << viscosityConstructorTablePtr_->sortedToc()
87 rho.mesh().time().constant(),
96 Info<<
"Selecting " << parcelCloud::typeName <<
" " <<
type <<
endl;
100 thermoConstructorTable::iterator cstrIter =
101 thermoConstructorTablePtr_->find(
type);
103 if (cstrIter == thermoConstructorTablePtr_->end())
106 <<
"Unknown " << parcelCloud::typeName <<
" " <<
type <<
nl <<
nl
107 <<
"Valid cloud types are:" <<
nl
108 << thermoConstructorTablePtr_->sortedToc()
112 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.
word name(const bool)
Return a word representation of a bool.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.