84 #ifndef solidification_H
85 #define solidification_H
94 namespace porosityModels
123 template<
class AlphaFieldType,
class RhoFieldType>
128 const AlphaFieldType&
alpha,
129 const RhoFieldType&
rho,
134 template<
class AlphaFieldType,
class RhoFieldType>
138 const AlphaFieldType&
alpha,
139 const RhoFieldType&
rho,
144 template<
class RhoFieldType>
149 const RhoFieldType&
rho,
154 template<
class RhoFieldType>
158 const RhoFieldType&
rho,
176 const word& cellZoneName
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
const dictionary & dict() const
Return dictionary used for model construction.
const word & name() const
Return const access to the porosity model name.
virtual tmp< vectorField > force(const volVectorField &U, const volScalarField &rho, const volScalarField &mu) const
Return the force over the cell zone(s)
Simple solidification porosity model.
TypeName("solidification")
Runtime type information.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
bool writeData(Ostream &os) const
Write.
solidification(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName)
virtual ~solidification()
Destructor.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
void operator=(const solidification &)=delete
Disallow default bitwise assignment.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
const dimensionedScalar mu
Atomic mass unit.