44 void Foam::fv::coefficientPhaseChange::readCoeffs()
55 const word& modelType,
86 if (specieis().first() != -1)
88 tmDot.ref() *= specieThermos().first().Y()[specieis().first()];
102 const label i = index(alphaNames(), eqn.
psi().name());
111 if (specieis().
first() != -1)
113 mDotByAlpha1 *= specieThermos().first().Y()[specieis().first()];
142 const label i = index(alphaNames(), eqn.
psi().name());
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
static word member(const word &name)
Return member (name without the extension)
A list of keyword definitions, which are a keyword followed by any number of values (e....
void read(const dictionary &)
Update the value of dimensioned<Type>
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Finite volume model abstract base class.
const dictionary & coeffs() const
Return dictionary.
This simple model generates a phase change between two phases calculated from the following expressio...
virtual tmp< DimensionedField< scalar, volMesh > > mDot() const
Return the phase change rate.
virtual bool read(const dictionary &dict)
Read source dictionary.
coefficientPhaseChange(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from explicit source name and mesh.
void addSup(const volScalarField &alpha, const volScalarField &rho, fvMatrix< scalar > &eqn) const
Override the compressible continuity equation to add.
virtual void addSup(fvMatrix< scalar > &eqn) const
Add a source term to a field-less proxy equation.
Base class for phase change models in which only a single component changes phase....
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.
Base class of the thermophysical property types.
A class for managing temporary objects.
A class for handling words, derived from string.
Calculate the gradient of the given field.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
addToRunTimeSelectionTable(fvConstraint, bound, dictionary)
defineTypeNameAndDebug(bound, 0)
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
labelList first(const UList< labelPair > &p)
const dimensionSet dimTime
dimensioned< scalar > mag(const dimensioned< Type > &)
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
const dimensionSet dimMass
const dimensionSet dimArea