Go to the documentation of this file.
37 #ifndef incompressiblePrimalSolver_H
38 #define incompressiblePrimalSolver_H
98 const word& managerType,
111 const word& managerType,
122 const word& managerType,
163 virtual bool write(
const bool valid =
true)
const
List< objective * > getObjectiveFunctions() const
Return the list of objectives assodicated with this solver.
A class for handling words, derived from Foam::string.
virtual bool writeNow() const
fvMesh & mesh_
Reference to the mesh database.
scalar phiReconstructionTol_
Convergence criterion for reconstructing phi from U and p.
bool writeTime() const noexcept
True if this is a write time.
virtual bool readDict(const dictionary &dict)
Read dict if updated.
declareRunTimeSelectionTable(autoPtr, incompressiblePrimalSolver, dictionary,(fvMesh &mesh, const word &managerType, const dictionary &dict),(mesh, managerType, dict))
Base class for primal incompressible solvers.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool useSolverNameForFields() const
Should solver name be appended to fields.
virtual void correctBoundaryConditions()
Update boundary conditions.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const fvMesh & mesh() const
Return the solver mesh.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base class for primal solvers.
TypeName("incompressible")
Run-time type information.
virtual bool write(const bool valid=true) const
virtual ~incompressiblePrimalSolver()=default
Destructor.
const Time & time() const
Return the top-level database.
const incompressibleVars & getIncoVars() const
Access to the incompressible variables set.
label phiReconstructionIters_
Max iterations for reconstructing phi from U and p.
virtual const dictionary & dict() const
Return the solver dictionary.
Base class for solution control classes.
static autoPtr< incompressiblePrimalSolver > New(fvMesh &mesh, const word &managerType, const dictionary &dict)
Return a reference to the selected incompressible primal solver.