120 #ifndef solidificationMeltingSource_H
121 #define solidificationMeltingSource_H
140 class solidificationMeltingSource
211 mutable label curTimeIndex_;
223 tmp<volScalarField> Cp()
const;
232 template<
class RhoFieldType>
239 TypeName(
"solidificationMeltingSource");
248 const word& modelType,
275 const word& fieldName
282 const word& fieldName
293 const word& fieldName
301 const word& fieldName
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.
This source is designed to model the effect of solidification and melting processes,...
virtual bool movePoints()
Update for mesh motion.
TypeName("solidificationMeltingSource")
Runtime type information.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
virtual void addSup(fvMatrix< scalar > &eqn, const word &fieldName) const
Add explicit contribution to enthalpy equation.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
solidificationMeltingSource(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from explicit source name and mesh.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
void operator=(const solidificationMeltingSource &)=delete
Disallow default bitwise assignment.
static const NamedEnum< thermoMode, 2 > thermoModeTypeNames_
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
VolField< scalar > volScalarField