Go to the documentation of this file.
86 #ifndef directionalPressureGradientExplicitSource_H
87 #define directionalPressureGradientExplicitSource_H
159 scalar pressureDrop_;
177 scalar relaxationFactor_;
210 TypeName(
"directionalPressureGradientExplicitSource");
218 const word& sourceName,
219 const word& modelType,
volVectorField gradP(fvc::grad(p))
A class for handling words, derived from Foam::string.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
virtual void constrain(fvMatrix< vector > &eqn, const label fieldI)
Set 1/A coefficient.
TypeName("directionalPressureGradientExplicitSource")
Runtime type information.
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.
pressureDropModel
Modes of pressure drop.
Creates an explicit pressure gradient source in such a way to deflect the flow towards an specific di...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldI)
Add explicit contribution to momentum equation.
const fvMesh & mesh() const
Return const access to the mesh database.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual void writeData(Ostream &os) const
Write the source properties.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void correct(volVectorField &U)
Correct the pressure gradient.
virtual bool read(const dictionary &dict)
Read source dictionary.