47 alphaPacked_(
dict.
get<scalar>(
"alphaPacked"))
56 alphaPacked_(cm.alphaPacked_)
69 Info<<
"Selecting particle stress model " << modelType <<
endl;
71 auto* ctorPtr = dictionaryConstructorTable(modelType);
78 "particle stress model",
80 *dictionaryConstructorTablePtr_
111 auto& value = tvalue.ref();
115 value.set(i, tau(
alpha[i],
rho[i], uRms[i]));
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~ParticleStressModel()
Destructor.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
ParticleStressModel(const dictionary &dict)
Constructors.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
static autoPtr< ParticleStressModel > New(const dictionary &dict)
Selector.
A field of fields is a PtrList of fields with reference counting.
scalar alphaPacked() const
Member Functions.
#define forAll(list, i)
Loop across all elements in list.
A class for handling words, derived from Foam::string.
errorManip< error > abort(error &err)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
messageStream Info
Information stream (stdout output on master, null elsewhere)
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
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.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...