52 namespace porosityModels
109 const word& modelType,
112 const word& cellZoneName
fixedCoeff(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName)
const dictionary & dict() const
Return dictionary used for model construction.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual tmp< vectorField > force(const volVectorField &U, const volScalarField &rho, const volScalarField &mu)
Return the force over the cell zone(s)
virtual ~fixedCoeff()
Destructor.
A class for handling words, derived from string.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Fixed coefficient form of porosity model.
TypeName("fixedCoeff")
Runtime type information.
void operator=(const fixedCoeff &)=delete
Disallow default bitwise assignment.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
const dimensionedScalar & mu
Atomic mass unit.
const word & name() const
Return const access to the porosity model name.
Mesh data needed to do the Finite Volume discretisation.
bool writeData(Ostream &os) const
Write.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
Top level model for porosity models.