49 class multicomponentThermo;
50 class fluidMulticomponentThermo;
81 bool energySemiImplicit_;
114 const word& modelType,
152 const word& modelType,
208 const label mDoti = -1
215 const label mDoti = -1
224 const label mDoti = -1
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class containing a pair of thermo references. Handles down-casting to more specific thermo types by c...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
Base class for mass transfers between phases.
tmp< volScalarField::Internal > rho(const label i) const
Return the density.
Base class for phase change models.
void reReadSpecies(const dictionary &dict) const
Re-read the names of the transferring species.
const labelPair & specieis(const label mDoti=-1) const
Return the indices of the transferring specie in the two.
wordList readSpecie(const dictionary &dict, const bool required) const
Read the names of the transferring specie.
const ThermoRefPair< multicomponentThermo > multicomponentThermos(const bool, const bool) const
Return the multicomponent thermo references.
virtual tmp< DimensionedField< scalar, volMesh > > Lfraction() const
Return the fraction of the latent heat that is transferred into.
const ThermoRefPair< fluidThermo > fluidThermos(const bool, const bool) const
Return the fluid thermo references.
void reReadSpecie(const dictionary &dict) const
Re-read the names of the transferring specie.
wordList readSpecies(const dictionary &dict, const bool required) const
Read the names of the transferring species.
static tmp< DimensionedField< scalar, volMesh > > vfToVif(const tmp< volScalarField > &tvf)
Remove the boundary field from the given geometric field.
virtual tmp< DimensionedField< scalar, volMesh > > mDot() const
Return the total phase change rate.
TypeName("phaseChange")
Runtime type information.
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.
void setSpecies(const word &name, const word &modelType, const wordList &species)
Set the names of the transferring species.
const ThermoRefPair< fluidMulticomponentThermo > fluidMulticomponentThermos(const bool, const bool) const
Return the fluid multicomponent thermo references.
void reSetSpecies(const wordList &species)
Re-set the names of the transferring species.
tmp< DimensionedField< scalar, volMesh > > L(const label mDoti=-1) const
Return the latent heat.
const hashedWordList & species() const
Return the names of the transferring species. Empty if neither.
const volScalarField & p() const
Access the pressure field.
virtual tmp< DimensionedField< scalar, volMesh > > Tchange() const
Return the temperature at which the phases are considered to be.
phaseChange(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict, const wordList &species)
Construct from explicit source name and mesh.
const ThermoRefPair< basicThermo > & thermos() const
Return the thermo references.
const Pair< word > & heNames() const
Return the names of the energy fields.
static tmp< volScalarField > vifToVf(const tmp< DimensionedField< scalar, volMesh >> &tvif)
Add a boundary field to the given internal field.
A wordList with hashed indices for faster lookup by name.
A class for managing temporary objects.
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))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.