56 namespace porosityModels
82 template<
class RhoFieldType>
87 const RhoFieldType&
rho,
92 template<
class RhoFieldType>
96 const RhoFieldType&
rho,
116 const word& modelType,
119 const word& cellZoneName
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)
TypeName("powerLaw")
Runtime type information.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
A class for handling words, derived from string.
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.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const word & name() const
Return const access to the porosity model name.
virtual ~powerLaw()
Destructor.
const dimensionedScalar mu
Atomic mass unit.
Mesh data needed to do the Finite Volume discretisation.
bool writeData(Ostream &os) const
Write.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.