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