78 #ifndef VoFSolidificationMeltingSource_H 79 #define VoFSolidificationMeltingSource_H 98 class VoFSolidificationMeltingSource
108 autoPtr<Function1<scalar>> alphaSolidT_;
126 mutable label curTimeIndex_;
135 word alphaSolidName()
const;
141 template<
class RhoFieldType>
148 TypeName(
"VoFSolidificationMeltingSource");
157 const word& modelType,
185 const word& fieldName
193 const word& fieldName
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return const access to the source name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const fvMesh & mesh() const
Return const access to the mesh database.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
VoFSolidificationMeltingSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A class for handling words, derived from string.
Solidification and melting model for VoF simulations.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
TypeName("VoFSolidificationMeltingSource")
Runtime type information.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void updateMesh(const mapPolyMesh &)
Update for mesh changes.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
void operator=(const VoFSolidificationMeltingSource &)=delete
Disallow default bitwise assignment.
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const word &fieldName) const
Add explicit contribution to compressible enthalpy equation.
virtual wordList addSupFields() const
Return the list of fields for which the option adds source term.