36 #ifndef PDRDragModel_H
37 #define PDRDragModel_H
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base-class for sub-grid obstacle drag models. The available drag model is at basic....
bool on() const
Return true if the drag model is switched on.
virtual tmp< volScalarField > Gk() const =0
Return the momentum drag turbulence generation rate.
virtual tmp< volSymmTensorField > Dcu() const =0
Return the momentum drag coefficient.
virtual ~PDRDragModel()
Destructor.
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 surfaceScalarField & phi_
PDRDragModel(const dictionary &PDRProperties, const compressible::RASModel &turbulence, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
const volVectorField & U_
dictionary PDRDragModelCoeffs_
TypeName("PDRDragModel")
Runtime type information.
void operator=(const PDRDragModel &)=delete
Disallow default bitwise assignment.
virtual bool writeData(Ostream &) const
Pure virtual writaData function.
const volScalarField & rho_
const compressible::RASModel & turbulence_
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))
virtual void writeFields() const
virtual bool read()
Inherit read from regIOobject.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual bool read()
Read object.
A class for managing temporary objects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
RASModel< momentumTransportModel > RASModel
Typedefs for turbulence, RAS and LES models for compressible flow based on the standard laminar trans...
Macros to ease declaration of run-time selection tables.
autoPtr< incompressible::momentumTransportModel > turbulence(incompressible::momentumTransportModel::New(U, phi, viscosity))