59 #ifndef powerLawLopesdaCosta_H
60 #define powerLawLopesdaCosta_H
69 namespace porosityModels
76 class powerLawLopesdaCostaZone
134 template<
class RhoFieldType>
139 const RhoFieldType&
rho,
144 template<
class RhoFieldType>
148 const RhoFieldType&
rho,
166 const word& cellZoneName
Generic GeometricField class.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Top level model for porosity models.
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)
const word zoneName_
Automatically generated zone name for this porous zone.
const scalarField & Av() const
Return the porosity surface area per unit volume zone field.
powerLawLopesdaCostaZone(const word &name, const fvMesh &mesh, const dictionary &dict, const dictionary &coeffDict)
Constructor.
scalarField Av_
Porosity surface area per unit volume zone field.
Variant of the power law porosity model with spatially varying drag coefficient.
const dictionary & dict() const
powerLawLopesdaCosta(const word &name, const fvMesh &mesh, const dictionary &dict, const dictionary &coeffDict, const word &cellZoneName)
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
void operator=(const powerLawLopesdaCosta &)=delete
Disallow default bitwise assignment.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
virtual ~powerLawLopesdaCosta()
Destructor.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
TypeName("powerLawLopesdaCosta")
Runtime type information.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionedScalar mu
Atomic mass unit.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.