36 #ifndef PDRDragModel_H 37 #define PDRDragModel_H autoPtr< compressible::turbulenceModel > turbulence
virtual ~PDRDragModel()
Destructor.
TypeName("PDRDragModel")
Runtime type information.
dictionary PDRDragModelCoeffs_
virtual bool read()
Read object.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool writeData(Ostream &) const
Pure virtual writaData function.
Base-class for sub-grid obstacle drag models. The available drag model is at basic.H.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
const compressible::RASModel & turbulence_
const volScalarField & rho_
virtual void writeFields() const
const volVectorField & U_
const surfaceScalarField & phi_
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool on() const
Return true if the drag model is switched on.
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
static autoPtr< PDRDragModel > New(const dictionary &PDRProperties, const compressible::RASModel &turbulence, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi)
Return a reference to the selected Xi model.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
declareRunTimeSelectionTable(autoPtr, PDRDragModel, dictionary,(const dictionary &PDRProperties, const compressible::RASModel &turbulence, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi),(PDRProperties, turbulence, rho, U, phi))
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual tmp< volScalarField > Gk() const =0
Return the momentum drag turbulence generation rate.
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual tmp< volSymmTensorField > Dcu() const =0
Return the momentum drag coefficient.