35 namespace diameterModels
55 const dictionary& diameterProperties,
56 const phaseModel& phase
59 spherical(diameterProperties, phase),
60 liquidPhaseName_(diameterProperties.
lookup(
"liquidPhase")),
61 d2_(
"d2",
dimLength, diameterProperties.lookupOrDefault(
"d2", 0.0015)),
66 diameterProperties.lookupOrDefault(
"Tsub2", 0)
72 diameterProperties.lookupOrDefault(
"d1", 0.00015)
78 diameterProperties.lookupOrDefault(
"Tsub1", 13.5)
97 const phaseSystem& fluid =
98 refCast<const phaseSystem>
100 phase().
mesh().lookupObject<phaseSystem>(
"phaseProperties")
103 const phaseModel& liquid(fluid.phases()[liquidPhaseName_]);
105 if (
phase().
mesh().foundObject<saturationModel>(
"saturationModel"))
107 const saturationModel& satModel =
108 phase().
mesh().lookupObject<saturationModel>(
"saturationModel");
112 liquid.thermo().T() - satModel.Tsat(liquid.thermo().p())
121 (d1_*(Tsub - Tsub2_) + d2_*(Tsub - Tsub1_))/(Tsub2_ - Tsub1_)
virtual tmp< volScalarField > calcD() const
Get the diameter field.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Macros for easy insertion into run-time selection tables.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
stressControl lookup("compactNormalStress") >> compactNormalStress
const phaseModel & phase() const
Return the phase.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
const Mesh & mesh() const
Return mesh.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
virtual ~linearTsub()
Destructor.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
linearTsub(const dictionary &diameterProperties, const phaseModel &phase)
Construct from components.
A class for managing temporary objects.
const dictionary & diameterProperties() const
Return the phase diameter properties dictionary.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual void correct()
Correct the diameter field.