Go to the documentation of this file.
118 #ifndef explicitPorositySource_H
119 #define explicitPorositySource_H
137 class explicitPorositySource
139 public fv::cellSetOption
161 const word& modelType,
const word & name() const noexcept
void operator=(const explicitPorositySource &)=delete
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
const dimensionedScalar alpha
TypeName("explicitPorositySource")
virtual ~explicitPorositySource()=default
Applies an explicit porosity source to the momentum equation within a specified region.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
const porosityModel & model() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Top level model for porosity models.
const fvMesh & mesh() const noexcept
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual bool read(const dictionary &dict)
Generic GeometricField class.
explicitPorositySource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
autoPtr< porosityModel > porosityPtr_