Macros
makeTurbulenceModel.H File Reference
Include dependency graph for makeTurbulenceModel.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define makeTurbulenceModelTypes( Alpha, Rho, baseModel, BaseModel, TDModel, Transport)
 
#define makeBaseTurbulenceModel( Alpha, Rho, baseModel, BaseModel, TDModel, Transport)
 
#define makeTemplatedLaminarModel(BaseModel, SType, Type)
 
#define makeTemplatedTurbulenceModel(BaseModel, SType, Type)
 
#define makeTurbulenceModel(BaseModel, SType, Type)
 

Detailed Description

Original source file makeTurbulenceModel.H

Definition in file makeTurbulenceModel.H.

Macro Definition Documentation

◆ makeTurbulenceModelTypes

#define makeTurbulenceModelTypes (   Alpha,
  Rho,
  baseModel,
  BaseModel,
  TDModel,
  Transport 
)
Value:
\
namespace Foam \
{ \
typedef TDModel<BaseModel<Transport>> \
Transport##BaseModel; \
typedef laminarModel<Transport##BaseModel> \
laminar##Transport##BaseModel; \
typedef RASModel<EddyDiffusivity<Transport##BaseModel>> \
RAS##Transport##BaseModel; \
typedef LESModel<EddyDiffusivity<Transport##BaseModel>> \
LES##Transport##BaseModel; \
}
Namespace for OpenFOAM.

Definition at line 30 of file makeTurbulenceModel.H.

◆ makeBaseTurbulenceModel

#define makeBaseTurbulenceModel (   Alpha,
  Rho,
  baseModel,
  BaseModel,
  TDModel,
  Transport 
)

Definition at line 46 of file makeTurbulenceModel.H.

◆ makeTemplatedLaminarModel

#define makeTemplatedLaminarModel (   BaseModel,
  SType,
  Type 
)
Value:
typedef Foam::SType##Models::Type<Foam::BaseModel> \
Type##SType##BaseModel; \
defineNamedTemplateTypeNameAndDebug(Type##SType##BaseModel, 0); \
\
namespace Foam \
{ \
namespace SType##Models \
{ \
typedef Type<BaseModel> Type##SType##BaseModel; \
\
addToRunTimeSelectionTable \
( \
SType##BaseModel, \
Type##SType##BaseModel, \
dictionary \
); \
} \
}
Namespace for OpenFOAM.

Definition at line 118 of file makeTurbulenceModel.H.

◆ makeTemplatedTurbulenceModel

#define makeTemplatedTurbulenceModel (   BaseModel,
  SType,
  Type 
)
Value:
typedef Foam::SType##Models::Type<Foam::EddyDiffusivity<Foam::BaseModel>> \
Type##SType##BaseModel; \
defineNamedTemplateTypeNameAndDebug(Type##SType##BaseModel, 0); \
\
namespace Foam \
{ \
namespace SType##Models \
{ \
typedef Type<EddyDiffusivity<BaseModel>> Type##SType##BaseModel; \
\
addToRunTimeSelectionTable \
( \
SType##BaseModel, \
Type##SType##BaseModel, \
dictionary \
); \
} \
}
Namespace for OpenFOAM.

Definition at line 139 of file makeTurbulenceModel.H.

◆ makeTurbulenceModel

#define makeTurbulenceModel (   BaseModel,
  SType,
  Type 
)
Value:
namespace Foam \
{ \
namespace SType##Models \
{ \
defineTypeNameAndDebug(Type, 0); \
\
addToRunTimeSelectionTable \
( \
SType##BaseModel, \
Type, \
dictionary \
); \
} \
}
Namespace for OpenFOAM.

Definition at line 160 of file makeTurbulenceModel.H.