33 template<
class CloudType>
37 particleStressModel_(nullptr)
41 template<
class CloudType>
54 this->coeffDict().subDict(ParticleStressModel::typeName)
60 template<
class CloudType>
64 particleStressModel_(cm.particleStressModel_)
70 template<
class CloudType>
77 template<
class CloudType>
87 Info<<
"Selecting packing model " << modelType <<
endl;
89 typename dictionaryConstructorTable::iterator cstrIter =
90 dictionaryConstructorTablePtr_->find(modelType);
92 if (cstrIter == dictionaryConstructorTablePtr_->end())
95 <<
"Unknown packing model type " << modelType
96 <<
", constructor not in hash table" <<
nl <<
nl 97 <<
" Valid packing model types are:" <<
nl 98 << dictionaryConstructorTablePtr_->sortedToc()
static autoPtr< PackingModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual ~PackingModel()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Base class for packing models.
Base class for cloud sub-models.
A class for handling words, derived from string.
PackingModel(CloudType &owner)
Construct null from owner.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Templated base class for dsmc cloud.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.