36 #ifndef PDRDragModel_H 37 #define PDRDragModel_H virtual bool writeData(Ostream &) const
Pure virtual writaData function.
virtual ~PDRDragModel()
Destructor.
Macros to ease declaration of run-time selection tables.
const volVectorField & U_
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 ))
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.
autoPtr< compressible::turbulenceModel > turbulence
A list of keyword definitions, which are a keyword followed by any number of values (e...
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
virtual tmp< volSymmTensorField > Dcu() const =0
Return the momentum drag coefficient.
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.
const volScalarField & rho_
const surfaceScalarField & phi_
dictionary PDRDragModelCoeffs_
virtual bool read()
Read object.
virtual tmp< volScalarField > Gk() const =0
Return the momentum drag turbulence generation rate.
Base-class for sub-grid obstacle drag models. The available drag model is at basic.H.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
TypeName("PDRDragModel")
Runtime type information.
const compressible::RASModel & turbulence_
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void writeFields() const
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
bool on() const
Return true if the drag model is switched on.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.