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

Go to the source code of this file.

Macros

#define makeMomentumTransportModelTypes(Alpha, Rho, BaseModel)
 
#define makeBaseMomentumTransportModel(Alpha, Rho, BaseModel)
 
#define makeTemplatedLaminarModel(BaseModel, SType, Type)
 
#define makeTemplatedMomentumTransportModel(BaseModel, SType, Type)
 
#define makeMomentumTransportModel(BaseModel, SType, Type)
 

Detailed Description

Original source file makeMomentumTransportModel.H

Definition in file makeMomentumTransportModel.H.

Macro Definition Documentation

◆ makeMomentumTransportModelTypes

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

Definition at line 30 of file makeMomentumTransportModel.H.

◆ makeBaseMomentumTransportModel

#define makeBaseMomentumTransportModel (   Alpha,
  Rho,
  BaseModel 
)

Definition at line 39 of file makeMomentumTransportModel.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 \
); \
} \
}

Definition at line 89 of file makeMomentumTransportModel.H.

◆ makeTemplatedMomentumTransportModel

#define makeTemplatedMomentumTransportModel (   BaseModel,
  SType,
  Type 
)
Value:
(Foam::SType##Models::Type<Foam::BaseModel>, 0); \
\
namespace Foam \
{ \
namespace SType##Models \
{ \
typedef Type<BaseModel> Type##SType##BaseModel; \
\
addToRunTimeSelectionTable \
( \
SType##BaseModel, \
Type##SType##BaseModel, \
dictionary \
); \
} \
}
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:139

Definition at line 110 of file makeMomentumTransportModel.H.

◆ makeMomentumTransportModel

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

Definition at line 130 of file makeMomentumTransportModel.H.