35 #ifndef twoPhaseChangeModel_H 36 #define twoPhaseChangeModel_H 155 virtual bool read() = 0;
static const word phaseChangePropertiesName
Default phaseChangeProperties dictionary name.
virtual Pair< tmp< volScalarField::Internal > > Salpha(volScalarField &alpha) const =0
Return the phase-change explicit and implicit sources.
TypeName("phaseChangeModel")
Runtime type information.
virtual tmp< fvVectorMatrix > SU(const volScalarField &rho, const surfaceScalarField &rhoPhi, volVectorField &U) const =0
Return the phase-change source matrix for the momentum equation.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dictionary twoPhaseChangeModelCoeffs_
Model coefficient dictionary.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
static autoPtr< twoPhaseChangeModel > New(const immiscibleIncompressibleTwoPhaseMixture &mixture)
Return a reference to the selected phaseChange model.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
An ordered pair of two objects of type <T> with first() and second() elements.
virtual ~twoPhaseChangeModel()
Destructor.
A class for handling words, derived from string.
virtual void correct()=0
Correct the phaseChange model.
virtual bool read()=0
Read the transportProperties dictionary and update.
declareRunTimeSelectionTable(autoPtr, twoPhaseChangeModel, dictionary,(const immiscibleIncompressibleTwoPhaseMixture &mixture),(mixture))
void operator=(const twoPhaseChangeModel &)=delete
Disallow default bitwise assignment.
virtual tmp< fvScalarMatrix > Sp_rgh(const volScalarField &rho, const volScalarField &gh, volScalarField &p_rgh) const =0
Return the phase-change source matrix.
Forward declarations of fvMatrix specialisations.
An immiscible incompressible two-phase mixture transport model.
twoPhaseChangeModel(const word &type, const immiscibleIncompressibleTwoPhaseMixture &mixture)
Construct from dictionary.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
const volScalarField & gh
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const immiscibleIncompressibleTwoPhaseMixture & mixture_
Reference to the two-phase mixture.