mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: Code clean-up
This commit is contained in:
@ -28,7 +28,6 @@ License
|
||||
#include "addToRunTimeSelectionTable.H"
|
||||
#include "makeTurbulenceModel.H"
|
||||
|
||||
#include "laminar.H"
|
||||
#include "turbulentTransportModel.H"
|
||||
#include "LESModel.H"
|
||||
|
||||
@ -50,13 +49,32 @@ makeBaseTurbulenceModel
|
||||
immiscibleIncompressibleTwoPhaseMixture
|
||||
);
|
||||
|
||||
#define makeLaminarModel(Type) \
|
||||
makeTemplatedTurbulenceModel \
|
||||
( \
|
||||
immiscibleIncompressibleTwoPhaseMixturePhaseCompressibleTurbulenceModel,\
|
||||
laminar, \
|
||||
Type \
|
||||
)
|
||||
|
||||
#define makeRASModel(Type) \
|
||||
makeTemplatedTurbulenceModel \
|
||||
(immiscibleIncompressibleTwoPhaseMixturePhaseCompressibleTurbulenceModel, RAS, Type)
|
||||
( \
|
||||
immiscibleIncompressibleTwoPhaseMixturePhaseCompressibleTurbulenceModel,\
|
||||
RAS, \
|
||||
Type \
|
||||
)
|
||||
|
||||
#define makeLESModel(Type) \
|
||||
makeTemplatedTurbulenceModel \
|
||||
(immiscibleIncompressibleTwoPhaseMixturePhaseCompressibleTurbulenceModel, LES, Type)
|
||||
( \
|
||||
immiscibleIncompressibleTwoPhaseMixturePhaseCompressibleTurbulenceModel,\
|
||||
LES, \
|
||||
Type \
|
||||
)
|
||||
|
||||
#include "Stokes.H"
|
||||
makeLaminarModel(Stokes);
|
||||
|
||||
#include "kEpsilon.H"
|
||||
makeRASModel(kEpsilon);
|
||||
@ -70,4 +88,5 @@ makeLESModel(kEqn);
|
||||
#include "kOmega.H"
|
||||
makeRASModel(kOmega);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user