118 #ifndef Foam_explicitPorositySource_H 119 #define Foam_explicitPorositySource_H 137 class explicitPorositySource
139 public fv::cellSetOption
161 const word& modelType,
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void operator=(const explicitPorositySource &)=delete
No copy assignment.
A class for handling words, derived from Foam::string.
virtual bool read(const dictionary &dict)
Read dictionary.
explicitPorositySource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Add implicit contribution to momentum equation.
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.
const word & name() const noexcept
Return const access to the source name.
virtual ~explicitPorositySource()=default
Destructor.
Mesh data needed to do the Finite Volume discretisation.
autoPtr< porosityModel > porosityPtr_
Run-time selectable porosity model.
const porosityModel & model() const noexcept
Access to the porosityModel.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Applies an explicit porosity source to the momentum equation within a specified region.
Top level model for porosity models.
TypeName("explicitPorositySource")
Runtime type information.