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 virtual bool writeNow() const
In case of multi-point runs with turbulent flows, output dummy turbulence fields with the base names...
List< objective * > getObjectiveFunctions() const
Return the list of objectives assodicated with this solver.
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.
Base class for primal solvers.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const fvMesh & mesh() const
Return the solver mesh.
bool writeTime() const noexcept
True if this is a write time.
const Time & time() const
Return the top-level database.
declareRunTimeSelectionTable(autoPtr, incompressiblePrimalSolver, dictionary,(fvMesh &mesh, const word &managerType, const dictionary &dict),(mesh, managerType, dict))
Base class for solution control classes.
A class for handling words, derived from Foam::string.
virtual void correctBoundaryConditions()
Update boundary conditions.
virtual const dictionary & dict() const
Return the solver dictionary.
Abstract base class for objective functions. No point in making this runTime selectable since its chi...
virtual bool readDict(const dictionary &dict)
Read dict if updated.
TypeName("incompressible")
Run-time type information.
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.
bool useSolverNameForFields() const
Should solver name be appended to fields.
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.
static autoPtr< incompressiblePrimalSolver > New(fvMesh &mesh, const word &managerType, const dictionary &dict)
Return a reference to the selected incompressible primal solver.
virtual ~incompressiblePrimalSolver()=default
Destructor.