makeTurbulenceModel.H File Reference

Go to the source code of this file.

Macros

#define defineTurbulenceModelTypes( Alpha, Rho, baseModel, BaseModel, Transport)
 Define turbulence model typedefs, with EddyDiffusivity. More...
 
#define makeTurbulenceModelTypes(a, b, c, d, e)    defineTurbulenceModelTypes(a, b, c, d, e)
 
#define makeBaseTurbulenceModel(Alpha, Rho, baseModel, BaseModel, Transport)
 
#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

◆ defineTurbulenceModelTypes

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

Define turbulence model typedefs, with EddyDiffusivity.

Definition at line 30 of file makeTurbulenceModel.H.

◆ makeTurbulenceModelTypes

#define makeTurbulenceModelTypes (   a,
  b,
  c,
  d,
  e 
)     defineTurbulenceModelTypes(a, b, c, d, e)

Definition at line 57 of file makeTurbulenceModel.H.

◆ makeBaseTurbulenceModel

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

Definition at line 61 of file makeTurbulenceModel.H.

◆ makeTemplatedTurbulenceModel

#define makeTemplatedTurbulenceModel (   BaseModel,
  SType,
  Type 
)
Value:
(Foam::SType##Models::Type<Foam::BaseModel>, 0); \
\
namespace Foam \
{ \
namespace SType##Models \
{ \
typedef Type<BaseModel> Type##SType##BaseModel; \
\
( \
SType##BaseModel, \
Type##SType##BaseModel, \
dictionary \
); \
} \
}
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:136

Definition at line 115 of file makeTurbulenceModel.H.

◆ makeTurbulenceModel

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

Definition at line 135 of file makeTurbulenceModel.H.