44 alphaPacked_(dict.template lookup<scalar>(
"alphaPacked"))
68 Info<<
"Selecting particle stress model " << modelType <<
endl;
70 dictionaryConstructorTable::iterator cstrIter =
71 dictionaryConstructorTablePtr_->find(modelType);
73 if (cstrIter == dictionaryConstructorTablePtr_->end())
76 <<
"Unknown particle stress model type " << modelType
77 <<
", constructor not in hash table" <<
nl <<
nl 78 <<
" Valid particle stress model types are:" <<
nl 79 << dictionaryConstructorTablePtr_->sortedToc()
116 value->set(i, tau(alpha[i], rho[i], uRms[i]));
#define forAll(list, i)
Loop across all elements in list.
scalar alphaPacked_
Close pack volume fraction.
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.
virtual ~ParticleStressModel()
Destructor.
Ostream & endl(Ostream &os)
Add newline and flush stream.
ParticleStressModel(const dictionary &dict)
Constructors.
static autoPtr< ParticleStressModel > New(const dictionary &dict)
Selector.
scalar alphaPacked() const
Member Functions.
A class for handling words, derived from string.
errorManip< error > abort(error &err)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
label size() const
Return the number of elements in the UPtrList.
A class for managing temporary objects.
Base class for inter-particle stress models.
virtual tmp< Field< scalar > > tau(const Field< scalar > &alpha, const Field< scalar > &rho, const Field< scalar > &uRms) const =0
Collision stress.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.