A class for managing temporary objects.
virtual ~porousModel()=default
Destructor.
static autoPtr< porousModel > New(const dictionary &dict, const fvMesh &mesh)
const fvMesh & mesh_
Reference to mesh.
virtual tmp< volScalarField > S() const =0
Momentum source.
porousModel(const dictionary &dict, const fvMesh &mesh)
Construct from a dictionary and mesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
bool writeData(Ostream &os) const
Dummy write for regIOobject.
Macros to ease declaration of run-time selection tables.
declareRunTimeSelectionTable(autoPtr, porousModel, dictionary,(const dictionary &dict, const fvMesh &mesh),(dict, mesh))
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
TypeName("porousModel")
Runtime type information.