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,
173 const word& modelType,
176 const word& cellZoneName
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
const dictionary & dict() const
Return dictionary used for model construction.
Simple solidification porosity model.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual tmp< vectorField > force(const volVectorField &U, const volScalarField &rho, const volScalarField &mu)
Return the force over the cell zone(s)
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
A class for handling words, derived from string.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
virtual ~solidification()
Destructor.
solidification(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName)
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
void operator=(const solidification &)=delete
Disallow default bitwise assignment.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
TypeName("solidification")
Runtime type information.
const dimensionedScalar & mu
Atomic mass unit.
const word & name() const
Return const access to the porosity model name.
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
bool writeData(Ostream &os) const
Write.