135 #ifndef solidificationMeltingSource_H 136 #define solidificationMeltingSource_H 154 class solidificationMeltingSource
156 public fv::cellSetOption
226 tmp<volScalarField> Cp()
const;
232 template<
class RhoFieldType>
233 void apply(
const RhoFieldType&
rho, fvMatrix<scalar>& eqn);
239 TypeName(
"solidificationMeltingSource");
248 const word& modelType,
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
thermoMode
Options for the thermo mode specification.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static const Enum< thermoMode > thermoModeTypeNames_
Names for thermoMode.
~solidificationMeltingSource()=default
Destructor.
solidificationMeltingSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
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. windhield defrosting, within a specified region. The phase change occurs at the melting temperature, Tmelt.
A class for handling words, derived from Foam::string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void operator=(const solidificationMeltingSource &)=delete
No copy 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.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to enthalpy equation.
Mesh data needed to do the Finite Volume discretisation.