31 template<
class RhoFieldType>
32 void Foam::fv::VoFSolidificationMeltingSource::apply
34 const RhoFieldType& rho,
40 Info<<
type() <<
": applying source to " << eqn.psi().name() <<
endl;
45 const twoPhaseMixtureThermo&
thermo 57 eqn += L_/CpVoF*(
fvc::ddt(rho, alphaSolid_));
61 eqn += L_*(
fvc::ddt(rho, alphaSolid_));
const fvMesh & mesh_
Reference to the mesh database.
Ostream & endl(Ostream &os)
Add newline and flush stream.
rhoReactionThermo & thermo
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
const word dictName() const
Return the local dictionary name (final part of scoped name)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Calculate the first temporal derivative.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.