Go to the documentation of this file.
48 #ifndef porosityModels_powerLaw_H
49 #define porosityModels_powerLaw_H
57 namespace porosityModels
83 template<
class RhoFieldType>
88 const RhoFieldType&
rho,
93 template<
class RhoFieldType>
97 const RhoFieldType&
rho,
105 void operator=(
const powerLaw&) =
delete;
117 const word& modelType,
120 const word& cellZoneName
A class for handling words, derived from Foam::string.
const dimensionedScalar mu
Atomic mass unit.
const word & name() const
Return const access to the porosity model name.
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)
bool writeData(Ostream &os) const
Write.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual ~powerLaw()=default
Destructor.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
Mesh data needed to do the Finite Volume discretisation.
Top level model for porosity models.
Power law porosity model, given by:
A special matrix type and solver, designed for finite volume solutions of scalar equations....
TypeName("powerLaw")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const dictionary & dict() const
Return dictionary used for model construction.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.