52 #ifndef DarcyForchheimer_H
53 #define DarcyForchheimer_H
62 namespace porosityModels
69 class DarcyForchheimer
100 template<
class RhoFieldType>
106 const RhoFieldType&
rho,
112 template<
class RhoFieldType>
116 const RhoFieldType&
rho,
135 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.
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)
Darcy-Forchheimer law porosity model, given by:
virtual ~DarcyForchheimer()
Destructor.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
TypeName("DarcyForchheimer")
Runtime type information.
void operator=(const DarcyForchheimer &)=delete
Disallow default bitwise assignment.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
DarcyForchheimer(const word &name, const fvMesh &mesh, const dictionary &dict, const dictionary &coeffDict, const word &cellZoneName)
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
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.