Go to the documentation of this file.
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");
247 const word& sourceName,
248 const word& modelType,
249 const dictionary&
dict,
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
A class for managing temporary objects.
~solidificationMeltingSource()=default
Destructor.
solidificationMeltingSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
void operator=(const solidificationMeltingSource &)=delete
No copy assignment.
thermoMode
Options for the thermo mode specification.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to enthalpy equation.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static const Enum< thermoMode > thermoModeTypeNames_
Names for thermoMode.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
TypeName("solidificationMeltingSource")
Runtime type information.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
virtual bool read(const dictionary &dict)
Read source dictionary.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
This source is designed to model the effect of solidification and melting processes,...