38 #ifndef singleComponentPhaseChange_H
39 #define singleComponentPhaseChange_H
71 bool energySemiImplicit_;
83 TypeName(
"singleComponentPhaseChange");
92 const word& modelType,
Generic GeometricField class.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
tmp< volScalarField::Internal > rho(const label i) const
Return the density.
Base class for phase change models.
Base class for phase change models in which only a single component changes phase....
const Pair< label > & specieis() const
Return the indices of the changing species in the phases.
const word & specie() const
Return the name of the changing specie.
virtual bool read(const dictionary &dict)
Read source dictionary.
void addSup(const volScalarField &alpha, const volScalarField &rho, const volScalarField &heOrYi, fvMatrix< scalar > &eqn) const
Override the energy equation to add the phase change heat, or.
TypeName("singleComponentPhaseChange")
Runtime type information.
singleComponentPhaseChange(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict, const Pair< bool > &fluidThermosRequired, const Pair< bool > &specieThermosRequired)
Construct from explicit source name and mesh.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))