Go to the documentation of this file.
56 namespace porosityModels
82 template<
class RhoFieldType>
87 const RhoFieldType&
rho,
92 template<
class RhoFieldType>
96 const RhoFieldType&
rho,
116 const word& modelType,
119 const word& cellZoneName
A class for handling words, derived from string.
Power law porosity model, given by:
const dimensionedScalar mu
Atomic mass unit.
const word & name() const
Return const access to the porosity model name.
void apply(scalarField &Udiag, const scalarField &V, const RhoFieldType &rho, const vectorField &U) const
Apply resistance.
word rhoName_
Name of density field.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
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.
bool writeData(Ostream &os) const
Write.
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
Mesh data needed to do the Finite Volume discretisation.
void operator=(const powerLaw &)
Disallow default bitwise assignment.
scalar C0_
C0 coefficient.
Top level model for porosity models.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
TypeName("powerLaw")
Runtime type information.
powerLaw(const powerLaw &)
Disallow default bitwise copy construct.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
virtual ~powerLaw()
Destructor.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
scalar C1_
C1 coefficient.