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,
132 const word& modelType,
135 const word& cellZoneName
bool writeData(Ostream &os) const
Write.
const dictionary & dict() const
Return dictionary used for model construction.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
DarcyForchheimer(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName)
virtual ~DarcyForchheimer()
Destructor.
virtual tmp< vectorField > force(const volVectorField &U, const volScalarField &rho, const volScalarField &mu) const
Return the force over the cell zone(s)
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionedScalar mu
Atomic mass unit.
void operator=(const DarcyForchheimer &)=delete
Disallow default bitwise assignment.
Darcy-Forchheimer law porosity model, given by:
TypeName("DarcyForchheimer")
Runtime type information.
const word & name() const
Return const access to the porosity model name.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
Mesh data needed to do the Finite Volume discretisation.