82 #ifndef Foam_porosityModels_solidification_H 83 #define Foam_porosityModels_solidification_H 92 namespace porosityModels
121 template<
class AlphaFieldType,
class RhoFieldType>
126 const AlphaFieldType&
alpha,
127 const RhoFieldType&
rho,
132 template<
class AlphaFieldType,
class RhoFieldType>
136 const AlphaFieldType&
alpha,
137 const RhoFieldType&
rho,
142 template<
class RhoFieldType>
147 const RhoFieldType&
rho,
152 template<
class RhoFieldType>
156 const RhoFieldType&
rho,
176 const word& modelType,
179 const wordRe& 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 a number of values (eg...
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 Foam::string.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
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.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
bool writeData(Ostream &os) const
Write.
virtual ~solidification()=default
Destructor.