STYLE: add in typeName for LES viscosity models

- left "as-is", without using the ClassName() definition
This commit is contained in:
Mark Olesen
2010-06-18 18:36:40 +02:00
parent 583d518ad5
commit a586f89404
8 changed files with 36 additions and 4 deletions

View File

@ -34,6 +34,11 @@ namespace compressible
namespace LESModels namespace LESModels
{ {
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameWithName(GenEddyVisc, "GenEddyVisc");
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
GenEddyVisc::GenEddyVisc GenEddyVisc::GenEddyVisc

View File

@ -82,6 +82,9 @@ protected:
public: public:
//- Partial Runtime type information
static const word typeName;
// Constructors // Constructors
//- Construct from components //- Construct from components
@ -92,7 +95,7 @@ public:
const surfaceScalarField& phi, const surfaceScalarField& phi,
const basicThermo& thermoPhysicalModel, const basicThermo& thermoPhysicalModel,
const word& turbulenceModelName = turbulenceModel::typeName, const word& turbulenceModelName = turbulenceModel::typeName,
const word& modelName = "GenEddyVisc" const word& modelName = typeName
); );

View File

@ -34,6 +34,11 @@ namespace compressible
namespace LESModels namespace LESModels
{ {
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameWithName(GenSGSStress, "GenSGSStress");
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
GenSGSStress::GenSGSStress GenSGSStress::GenSGSStress

View File

@ -82,6 +82,9 @@ protected:
public: public:
//- Partial Runtime type information
static const word typeName;
// Constructors // Constructors
//- Constructor from components //- Constructor from components
@ -92,7 +95,7 @@ public:
const surfaceScalarField& phi, const surfaceScalarField& phi,
const basicThermo& thermoPhysicalModel, const basicThermo& thermoPhysicalModel,
const word& turbulenceModelName = turbulenceModel::typeName, const word& turbulenceModelName = turbulenceModel::typeName,
const word& modelName = "GenSGSStress" const word& modelName = typeName
); );

View File

@ -34,6 +34,11 @@ namespace incompressible
namespace LESModels namespace LESModels
{ {
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameWithName(GenEddyVisc, "GenEddyVisc");
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
GenEddyVisc::GenEddyVisc GenEddyVisc::GenEddyVisc

View File

@ -74,6 +74,9 @@ protected:
public: public:
//- Partial Runtime type information
static const word typeName;
// Constructors // Constructors
//- Construct from components //- Construct from components
@ -83,7 +86,7 @@ public:
const surfaceScalarField& phi, const surfaceScalarField& phi,
transportModel& transport, transportModel& transport,
const word& turbulenceModelName = turbulenceModel::typeName, const word& turbulenceModelName = turbulenceModel::typeName,
const word& modelName = "GenEddyVisc" const word& modelName = typeName
); );

View File

@ -34,6 +34,11 @@ namespace incompressible
namespace LESModels namespace LESModels
{ {
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameWithName(GenSGSStress, "GenSGSStress");
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
GenSGSStress::GenSGSStress GenSGSStress::GenSGSStress

View File

@ -78,6 +78,9 @@ protected:
public: public:
//- Partial Runtime type information
static const word typeName;
// Constructors // Constructors
//- Construct from components //- Construct from components
@ -87,7 +90,7 @@ public:
const surfaceScalarField& phi, const surfaceScalarField& phi,
transportModel& transport, transportModel& transport,
const word& turbulenceModelName = turbulenceModel::typeName, const word& turbulenceModelName = turbulenceModel::typeName,
const word& modelName = "GenSGSStress" const word& modelName = typeName
); );