34 namespace diameterModels
51 liquidPhaseName_(diameterProperties.
lookup(
"liquidPhase")),
52 d2_(
"d2",
dimLength, diameterProperties, 0.0015),
54 d1_(
"d1",
dimLength, diameterProperties, 0.00015),
60 "saturationTemperature",
103 saturationModelPtr_->Tsat(
liquid.fluidThermo().p())
109 d_ =
max(d1_,
min(d2_, (1 -
f)*d1_ +
f*d2_));
118 diameterProperties.
lookup(
"liquidPhase") >> liquidPhaseName_;
120 d2_.readIfPresent(diameterProperties);
121 Tsub2_.readIfPresent(diameterProperties);
122 d1_.readIfPresent(diameterProperties);
123 Tsub1_.readIfPresent(diameterProperties);
125 saturationModelPtr_.reset
129 "saturationTemperature",
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Abstract base-class for dispersed-phase particle diameter models.
virtual bool read()
Read diameter properties dictionary.
virtual ~linearTsub()
Destructor.
linearTsub(const dictionary &diameterProperties, const phaseModel &phase)
Construct from dictionary and phase.
virtual void correct()
Correct the model.
virtual tmp< volScalarField > d() const
Get the diameter field.
Base class for models which represent spherical diameter models, providing a common implementation of...
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.
const Type & value() const
Return const reference to value.
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Model to describe the dependence of saturation temperature on pressure.
static autoPtr< saturationTemperatureModel > New(const word &name, const dictionary &dict)
Select with name within a dictionary.
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)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet & dimLength
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
const dimensionSet & dimTemperature
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)