Go to the documentation of this file.
52 #ifndef DarcyForchheimer_H
53 #define DarcyForchheimer_H
62 namespace porosityModels
100 template<
class RhoFieldType>
106 const RhoFieldType&
rho,
112 template<
class RhoFieldType>
116 const RhoFieldType&
rho,
137 const word& modelType,
140 const word& cellZoneName
A class for handling words, derived from string.
const dimensionedScalar mu
Atomic mass unit.
Darcy-Forchheimer law porosity model, given by:
const word & name() const
Return const access to the porosity model name.
dimensionedVector fXYZ_
Forchheimer coeffient XYZ components (user-supplied) [1/m].
List< tensorField > F_
Forchheimer coefficient - converted from fXYZ [1/m].
void operator=(const DarcyForchheimer &)
Disallow default bitwise assignment.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
word muName_
Name of dynamic viscosity field.
word nuName_
Name of kinematic viscosity field.
virtual ~DarcyForchheimer()
Destructor.
bool writeData(Ostream &os) const
Write.
virtual tmp< vectorField > force(const volVectorField &U, const volScalarField &rho, const volScalarField &mu)
Return the force over the cell zone(s)
Pre-declare SubField and related Field type.
List< tensorField > D_
Darcy coefficient - converted from dXYZ [1/m2].
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
dimensionedVector dXYZ_
Darcy coeffient XYZ components (user-supplied) [1/m2].
word rhoName_
Name of density field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
Top level model for porosity models.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
TypeName("DarcyForchheimer")
Runtime type information.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void apply(scalarField &Udiag, vectorField &Usource, const scalarField &V, const RhoFieldType &rho, const scalarField &mu, const vectorField &U) const
Apply.
DarcyForchheimer(const DarcyForchheimer &)
Disallow default bitwise copy construct.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.