78 #ifndef VoFSolidificationMeltingSource_H 79 #define VoFSolidificationMeltingSource_H 98 class VoFSolidificationMeltingSource
108 autoPtr<Function1<scalar>> alphaSolidT_;
132 word alphaSolidName()
const;
135 template<
class RhoFieldType>
142 TypeName(
"VoFSolidificationMeltingSource");
151 const word& modelType,
179 const word& fieldName
187 const word& fieldName
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
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...
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual bool movePoints()
Update for mesh motion.
virtual void correct()
Correct the model.
const fvMesh & mesh() const
Return const access to the mesh database.
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.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Solidification and melting model for VoF simulations.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
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.
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 void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual wordList addSupFields() const
Return the list of fields for which the option adds source term.
Class containing mesh-to-mesh mapping information.