Go to the documentation of this file.
44 #ifndef porosityModels_fixedCoeff_H
45 #define porosityModels_fixedCoeff_H
54 namespace porosityModels
116 const word& modelType,
119 const word& cellZoneName
virtual ~fixedCoeff()=default
Destructor.
A class for handling words, derived from Foam::string.
const dimensionedScalar mu
Atomic mass unit.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
const word & name() const
Return const access to the porosity model name.
Fixed coefficient form of porosity model.
TypeName("fixedCoeff")
Runtime type information.
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.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Mesh data needed to do the Finite Volume discretisation.
Top level model for porosity models.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
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.