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
|
namespace LESModels
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
defineTypeNameWithName(GenEddyVisc, "GenEddyVisc");
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
GenEddyVisc::GenEddyVisc
|
GenEddyVisc::GenEddyVisc
|
||||||
|
|||||||
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -34,6 +34,11 @@ namespace compressible
|
|||||||
namespace LESModels
|
namespace LESModels
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
defineTypeNameWithName(GenSGSStress, "GenSGSStress");
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
GenSGSStress::GenSGSStress
|
GenSGSStress::GenSGSStress
|
||||||
|
|||||||
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -34,6 +34,11 @@ namespace incompressible
|
|||||||
namespace LESModels
|
namespace LESModels
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
defineTypeNameWithName(GenEddyVisc, "GenEddyVisc");
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
GenEddyVisc::GenEddyVisc
|
GenEddyVisc::GenEddyVisc
|
||||||
|
|||||||
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -34,6 +34,11 @@ namespace incompressible
|
|||||||
namespace LESModels
|
namespace LESModels
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
defineTypeNameWithName(GenSGSStress, "GenSGSStress");
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
GenSGSStress::GenSGSStress
|
GenSGSStress::GenSGSStress
|
||||||
|
|||||||
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user