Go to the documentation of this file.
52 namespace porosityModels
114 const word& modelType,
117 const word& cellZoneName
A class for handling words, derived from 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.
dimensionedVector betaXYZ_
Beta coefficient XYZ components (user-supplied) [1/m].
fixedCoeff(const fixedCoeff &)
Disallow default bitwise copy construct.
void operator=(const fixedCoeff &)
Disallow default bitwise assignment.
List< tensorField > alpha_
Model alpha coefficient - converted from alphaXYZ [1/s].
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.
Pre-declare SubField and related Field type.
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void apply(scalarField &Udiag, vectorField &Usource, const scalarField &V, const vectorField &U, const scalar rho) const
Apply.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
virtual ~fixedCoeff()
Destructor.
Top level model for porosity models.
List< tensorField > beta_
Model beta coefficient - converted from betaXYZ [1/m].
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,...
Generic GeometricField class.
dimensionedVector alphaXYZ_
Alpha coefficient XYZ components (user-supplied) [1/s].