Go to the documentation of this file.
61 #ifndef powerLawLopesdaCosta_H
62 #define powerLawLopesdaCosta_H
71 namespace porosityModels
78 class powerLawLopesdaCostaZone
97 const word& modelType,
133 template<
class RhoFieldType>
138 const RhoFieldType&
rho,
143 template<
class RhoFieldType>
147 const RhoFieldType&
rho,
168 const word& modelType,
171 const word& cellZoneName
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
scalarField Sigma_
Porosity surface area per unit volume zone field.
A class for handling words, derived from Foam::string.
const dimensionedScalar mu
Atomic mass unit.
const word & name() const
Return const access to the porosity model name.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
TypeName("powerLawLopesdaCosta")
Runtime type information.
bool writeData(Ostream &os) const
Write.
powerLawLopesdaCostaZone(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Constructor.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
virtual tmp< vectorField > force(const volVectorField &U, const volScalarField &rho, const volScalarField &mu)
Return the force over the cell zone(s)
virtual ~powerLawLopesdaCosta()
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const scalarField & Sigma() const
Return the porosity surface area per unit volume zone field.
OBJstream os(runTime.globalPath()/outputName)
Mesh data needed to do the Finite Volume discretisation.
Top level model for porosity models.
const word zoneName_
Automatically generated zone name for this porous zone.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const dictionary & dict() const
Return dictionary used for model construction.
Variant of the power law porosity model with spatially varying drag coefficient.