31 template<
class RhoFieldType>
32 void Foam::fv::solidificationMeltingSource::apply
34 const RhoFieldType& rho,
40 Info<<
type() <<
": applying source to " << eqn.psi().name() <<
endl;
54 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 dimTemperature(0, 0, 0, 1, 0, 0, 0)
const dimensionSet dimEnergy
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)