36 #ifndef incompressiblePrimalSolver_H 37 #define incompressiblePrimalSolver_H 162 virtual bool write(
const bool valid =
true)
const virtual bool writeNow() const
In case of multi-point runs with turbulent flows, output dummy turbulence fields with the base names...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
scalar phiReconstructionTol_
Convergence criterion for reconstructing phi from U and p.
static autoPtr< incompressiblePrimalSolver > New(fvMesh &mesh, const word &managerType, const dictionary &dict, const word &solverName)
Return a reference to the selected incompressible primal solver.
Base class for primal solvers.
const fvMesh & mesh() const
Return the solver mesh.
bool writeTime() const noexcept
True if this is a write interval.
const Time & time() const
Return the top-level database.
Base class for solution control classes.
A class for handling words, derived from Foam::string.
virtual void correctBoundaryConditions()
Update boundary conditions.
const word & managerType() const
Return the manager type.
const dictionary & dict() const
Return the solver dictionary.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Abstract base class for objective functions. No point in making this runTime selectable since its chi...
UPtrList< objective > getObjectiveFunctions() const
Return the list of objectives assodicated with this solver.
virtual bool readDict(const dictionary &dict)
Read dict if updated.
TypeName("incompressible")
Run-time type information.
const word & solverName() const
Return the solver name.
Mesh data needed to do the Finite Volume discretisation.
virtual bool write(const bool valid=true) const
In case of multi-point runs with turbulent flows, output dummy turbulence fields with the base names...
const incompressibleVars & getIncoVars() const
Access to the incompressible variables set.
fvMesh & mesh_
Reference to the mesh database.
label phiReconstructionIters_
Max iterations for reconstructing phi from U and p.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Base class for primal incompressible solvers.
bool write() const
Write dummy turbulent fields to allow for continuation in multi-point, turbulent runs.
declareRunTimeSelectionTable(autoPtr, incompressiblePrimalSolver, dictionary,(fvMesh &mesh, const word &managerType, const dictionary &dict, const word &solverName),(mesh, managerType, dict, solverName))
virtual ~incompressiblePrimalSolver()=default
Destructor.