44 alphaPacked_(
dict.template
lookup<scalar>(
"alphaPacked"))
54 alphaPacked_(cm.alphaPacked_)
69 <<
"Selecting particle stress model " << modelType <<
endl;
71 dictionaryConstructorTable::iterator cstrIter =
72 dictionaryConstructorTablePtr_->find(modelType);
74 if (cstrIter == dictionaryConstructorTablePtr_->end())
77 <<
"Unknown particle stress model type " << modelType
78 <<
", constructor not in hash table" <<
nl <<
nl
79 <<
" Valid particle stress model types are:" <<
nl
80 << dictionaryConstructorTablePtr_->sortedToc()
#define forAll(list, i)
Loop across all elements in list.
Base class for inter-particle stress models.
ParticleStressModel(const dictionary &dict)
Constructors.
virtual tmp< Field< scalar > > tau(const Field< scalar > &alpha, const Field< scalar > &rho, const Field< scalar > &uRms) const =0
Collision stress.
static autoPtr< ParticleStressModel > New(const dictionary &dict)
Selector.
virtual ~ParticleStressModel()
Destructor.
scalar alphaPacked() const
Member Functions.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
A class for managing temporary objects.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
defineRunTimeSelectionTable(fvConstraint, dictionary)
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)