Go to the documentation of this file.
29 #include "phaseSystem.H"
37 namespace diameterModels
60 liquidPhaseName_(diameterProperties.
lookup(
"liquidPhase")),
85 phase_.time().timeName(),
114 refCast<const phaseSystem>
116 phase_.mesh().lookupObject<
phaseSystem>(
"phaseProperties")
128 liquid.thermo().T() - satModel.
Tsat(liquid.thermo().p())
137 (d1_*(Tsub - Tsub2_) + d2_*(Tsub - Tsub1_))/(Tsub2_ - Tsub1_)
147 diameterProperties_.lookup(
"liquidPhase") >> liquidPhaseName_;
148 diameterProperties_.lookup(
"d2") >> d2_;
149 diameterProperties_.lookup(
"Tsub2") >> Tsub2_;
150 diameterProperties_.lookup(
"d1") >> d1_;
151 diameterProperties_.lookup(
"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.
T lookupOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
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.
Vapour bubble diameter model for modelling of condensation of vapour bubbles. Calculates bubble diame...