31 template<
class RhoFieldType>
32 void Foam::fv::solidificationMeltingSource::apply
34 const RhoFieldType& rho,
40 Info<<
type() <<
": applying source to " << eqn.psi().name() <<
endl;
52 eqn -= L/Cp*(
fvc::ddt(rho, alpha1_));
Ostream & endl(Ostream &os)
Add newline and flush stream.
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 dimEnergy
const dimensionSet dimMass
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
const dimensionSet dimTemperature