mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: add in typeName for LES viscosity models
- left "as-is", without using the ClassName() definition
This commit is contained in:
@ -34,6 +34,11 @@ namespace compressible
|
||||
namespace LESModels
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
defineTypeNameWithName(GenEddyVisc, "GenEddyVisc");
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
GenEddyVisc::GenEddyVisc
|
||||
|
||||
@ -82,6 +82,9 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
//- Partial Runtime type information
|
||||
static const word typeName;
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
@ -92,7 +95,7 @@ public:
|
||||
const surfaceScalarField& phi,
|
||||
const basicThermo& thermoPhysicalModel,
|
||||
const word& turbulenceModelName = turbulenceModel::typeName,
|
||||
const word& modelName = "GenEddyVisc"
|
||||
const word& modelName = typeName
|
||||
);
|
||||
|
||||
|
||||
|
||||
@ -34,6 +34,11 @@ namespace compressible
|
||||
namespace LESModels
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
defineTypeNameWithName(GenSGSStress, "GenSGSStress");
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
GenSGSStress::GenSGSStress
|
||||
|
||||
@ -82,6 +82,9 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
//- Partial Runtime type information
|
||||
static const word typeName;
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Constructor from components
|
||||
@ -92,7 +95,7 @@ public:
|
||||
const surfaceScalarField& phi,
|
||||
const basicThermo& thermoPhysicalModel,
|
||||
const word& turbulenceModelName = turbulenceModel::typeName,
|
||||
const word& modelName = "GenSGSStress"
|
||||
const word& modelName = typeName
|
||||
);
|
||||
|
||||
|
||||
|
||||
@ -34,6 +34,11 @@ namespace incompressible
|
||||
namespace LESModels
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
defineTypeNameWithName(GenEddyVisc, "GenEddyVisc");
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
GenEddyVisc::GenEddyVisc
|
||||
|
||||
@ -74,6 +74,9 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
//- Partial Runtime type information
|
||||
static const word typeName;
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
@ -83,7 +86,7 @@ public:
|
||||
const surfaceScalarField& phi,
|
||||
transportModel& transport,
|
||||
const word& turbulenceModelName = turbulenceModel::typeName,
|
||||
const word& modelName = "GenEddyVisc"
|
||||
const word& modelName = typeName
|
||||
);
|
||||
|
||||
|
||||
|
||||
@ -34,6 +34,11 @@ namespace incompressible
|
||||
namespace LESModels
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
defineTypeNameWithName(GenSGSStress, "GenSGSStress");
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
GenSGSStress::GenSGSStress
|
||||
|
||||
@ -78,6 +78,9 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
//- Partial Runtime type information
|
||||
static const word typeName;
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
@ -87,7 +90,7 @@ public:
|
||||
const surfaceScalarField& phi,
|
||||
transportModel& transport,
|
||||
const word& turbulenceModelName = turbulenceModel::typeName,
|
||||
const word& modelName = "GenSGSStress"
|
||||
const word& modelName = typeName
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user