Go to the documentation of this file.
30 #include "phaseSystem.H"
38 namespace diameterModels
61 liquidPhaseName_(diameterProperties.
lookup(
"liquidPhase")),
86 phase_.time().timeName(),
115 refCast<const phaseSystem>
117 phase_.mesh().lookupObject<
phaseSystem>(
"phaseProperties")
129 liquid.thermo().T() - satModel.
Tsat(liquid.thermo().p())
138 (d1_*(Tsub - Tsub2_) + d2_*(Tsub - Tsub1_))/(Tsub2_ - Tsub1_)
148 diameterProperties_.readEntry(
"liquidPhase", liquidPhaseName_);
149 diameterProperties_.readEntry(
"d2", d2_);
150 diameterProperties_.readEntry(
"Tsub2", Tsub2_);
151 diameterProperties_.readEntry(
"d1", d1_);
152 diameterProperties_.readEntry(
"Tsub1", Tsub1_);
defineTypeNameAndDebug(constant, 0)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
linearTsub(const dictionary &diameterProperties, const phaseModel &phase)
Construct from components.
Helper class to manage multi-specie phase properties.
addToRunTimeSelectionTable(diameterModel, constant, dictionary)
A2stract base-class for dispersed-phase particle diameter models.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
virtual tmp< volScalarField > d() const
Return the diameter field.
virtual void correct()
Correct the diameter field.
virtual tmp< volScalarField > Tsat(const volScalarField &p) const =0
Saturation temperature.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
ITstream & lookup(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~linearTsub()
Destructor.
Macros for easy insertion into run-time selection tables.
const word & name() const
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
Class to represent a system of phases and model interfacial transfers between them.
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Vapour bubble diameter model for modelling of condensation of vapour bubbles. Calculates bubble diame...