33 namespace diameterModels
50 AvbyAlpha_(
"AvbyAlpha",
inv(
dimLength), diameterProperties, -1),
53 read(diameterProperties);
68 if (AvbyAlphaFieldPtr_.valid())
86 if (AvbyAlphaFieldPtr_.valid())
89 return phase()*AvbyAlpha;
92 return phase()*AvbyAlpha_;
101 AvbyAlpha_.readOrDefault(diameterProperties, -1);
103 if (AvbyAlpha_.value() < 0 && !AvbyAlphaFieldPtr_.valid())
105 Info<<
"fixedInterfacialArea: Uniform AvbyAlpha not provided. "
127 AvbyAlphaFieldPtr_->max
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static word groupName(Name name, const word &group)
Abstract base-class for dispersed-phase particle diameter models.
virtual bool read()
Read diameter properties dictionary.
fixedInterfacialArea dispersed-phase diameter model. The interfacial are is set by providing phase su...
fixedInterfacialArea(const dictionary &diameterProperties, const phaseModel &phase)
Construct from dictionary and phase.
virtual tmp< volScalarField > d() const
Get the diameter field.
virtual tmp< volScalarField > Av() const
Get the surface area per unit volume field.
virtual ~fixedInterfacialArea()
Destructor.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
T lookupOrDefault(const word &, const T &) const
Find and return a T, if not found return the given default.
A class for managing temporary objects.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
addToRunTimeSelectionTable(diameterModel, constant, dictionary)
defineTypeNameAndDebug(constant, 0)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet & dimLength
void inv(pointPatchField< tensor > &, const pointPatchField< tensor > &)
VolField< scalar > volScalarField
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.