38#ifndef phaseChangeTwoPhaseMixture_H
39#define phaseChangeTwoPhaseMixture_H
85 TypeName(
"phaseChangeTwoPhaseMixture");
158 virtual bool read() = 0;
An ordered pair of two objects of type <T> with first() and second() elements.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A two-phase incompressible transportModel.
const volVectorField & U() const
Return const-access to the mixture velocity.
void operator=(const phaseChangeTwoPhaseMixture &)=delete
No copy assignment.
virtual bool read()=0
Read the transportProperties dictionary and update.
const dimensionedScalar & pSat() const
Return const-access to the saturation vapour pressure.
static autoPtr< phaseChangeTwoPhaseMixture > New(const volVectorField &U, const surfaceScalarField &phi)
Return a reference to the selected phaseChange model.
dimensionedScalar pSat_
Saturation vapour pressure.
virtual Pair< tmp< volScalarField > > mDotP() const =0
Return the mass condensation and vaporisation rates as coefficients.
TypeName("phaseChangeTwoPhaseMixture")
Runtime type information.
phaseChangeTwoPhaseMixture(const word &type, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual void correct()=0
Correct the phaseChange model.
Pair< tmp< volScalarField > > vDotP() const
Return the volumetric condensation and vaporisation rates as.
phaseChangeTwoPhaseMixture(const phaseChangeTwoPhaseMixture &)=delete
No copy construct.
declareRunTimeSelectionTable(autoPtr, phaseChangeTwoPhaseMixture, components,(const volVectorField &U, const surfaceScalarField &phi),(U, phi))
dictionary phaseChangeTwoPhaseMixtureCoeffs_
Pair< tmp< volScalarField > > vDotAlphal() const
Return the volumetric condensation and vaporisation rates as a.
virtual ~phaseChangeTwoPhaseMixture()=default
Destructor.
virtual Pair< tmp< volScalarField > > mDotAlphal() const =0
Return the mass condensation and vaporisation rates as a.
A class for handling words, derived from Foam::string.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.