Go to the documentation of this file.
35 namespace porosityModels
48 const word& modelType,
51 const word& cellZoneName
57 rhoName_(coeffs_.lookupOrDefault<
word>(
"rho",
"rho"))
86 apply(Udiag, V,
rho,
U);
106 apply(Udiag, V,
rho,
U);
126 apply(Udiag, V,
rho,
U);
A class for handling words, derived from string.
Power law porosity model, given by:
const dimensionedScalar mu
Atomic mass unit.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
defineTypeNameAndDebug(DarcyForchheimer, 0)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionSet dimForce
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.
Pre-declare SubField and related Field type.
bool writeData(Ostream &os) const
Write.
virtual Ostream & write(const token &)=0
Write next token to stream.
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....
Macros for easy insertion into run-time selection tables.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
Mesh data needed to do the Finite Volume discretisation.
Ostream & indent(Ostream &os)
Indent stream.
Top level model for porosity models.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
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.
addToRunTimeSelectionTable(porosityModel, DarcyForchheimer, mesh)
virtual ~powerLaw()
Destructor.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
word name(const complex &)
Return a string representation of a complex.