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
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...
static const NamedEnum< thermoMode, 2 > thermoModeTypeNames_
solidificationMeltingSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
const fvMesh & mesh() const
Return const access to the mesh database.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
TypeName("solidificationMeltingSource")
Runtime type information.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
This source is designed to model the effect of solidification and melting processes, e.g. windshield defrosting.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void operator=(const solidificationMeltingSource &)=delete
Disallow default bitwise assignment.
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.
virtual bool read(const dictionary &dict)
Read source dictionary.
Mesh data needed to do the Finite Volume discretisation.
scalar Cp(const scalar p, const scalar T) const
virtual void updateMesh(const mapPolyMesh &)
Update for mesh changes.
virtual void addSup(fvMatrix< scalar > &eqn, const word &fieldName) const
Add explicit contribution to enthalpy equation.
const dimensionedVector & g
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.