Skip to content

Commit

Permalink
Merge pull request #1 from mrklein/master
Browse files Browse the repository at this point in the history
Fix for duplicate entries
  • Loading branch information
zordiack committed Dec 21, 2015
2 parents d27252a + 14094d9 commit 6ca7601
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 259 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/Make/linux*
lnInclude
3 changes: 2 additions & 1 deletion kOmegaSSTSASnew/compressible/Make/files
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
myturbulentFluidThermoModels.C
makeTurbulenceModels.C

LIB = $(FOAM_USER_LIBBIN)/libmycompressibleturbulenceModels
3 changes: 2 additions & 1 deletion kOmegaSSTSASnew/compressible/Make/options
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
EXE_INC = \
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \
Expand Down
2 changes: 2 additions & 0 deletions kOmegaSSTSASnew/compressible/kOmegaSSTSASnew.C
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ License
\*---------------------------------------------------------------------------*/

#include "makeTurbulenceModel.H"

#include "kOmegaSSTSASnew.H"

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Expand Down
134 changes: 0 additions & 134 deletions kOmegaSSTSASnew/compressible/makeTurbulenceModel.H

This file was deleted.

23 changes: 23 additions & 0 deletions kOmegaSSTSASnew/compressible/makeTurbulenceModels.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#include "turbulentFluidThermoModel.H"
#include "addToRunTimeSelectionTable.H"
#include "makeTurbulenceModel.H"

namespace Foam
{

typedef ThermalDiffusivity<CompressibleTurbulenceModel<fluidThermo> >
fluidThermoCompressibleTurbulenceModel;

typedef RASModel<EddyDiffusivity<fluidThermoCompressibleTurbulenceModel> >
RASfluidThermoCompressibleTurbulenceModel;

}


#include "kOmegaSSTSASnew.H"
makeTemplatedTurbulenceModel
(
fluidThermoCompressibleTurbulenceModel,
RAS,
kOmegaSSTSASnew
);
63 changes: 0 additions & 63 deletions kOmegaSSTSASnew/compressible/myturbulentFluidThermoModels.C

This file was deleted.

3 changes: 2 additions & 1 deletion kOmegaSSTSASnew/incompressible/Make/files
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
myturbulentTransportModels.C
makeTurbulenceModels.C

LIB = $(FOAM_USER_LIBBIN)/libmyincompressibleturbulenceModels
2 changes: 2 additions & 0 deletions kOmegaSSTSASnew/incompressible/kOmegaSSTSASnew.C
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ License

#include "kOmegaSSTSASnew.H"

#include "turbulentTransportModel.H"

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

namespace Foam
Expand Down
4 changes: 2 additions & 2 deletions kOmegaSSTSASnew/incompressible/kOmegaSSTSASnew.H
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ namespace RASModels
{

/*---------------------------------------------------------------------------*\
Class kOmegaSSTSAS Declaration
Class kOmegaSSTSASnew Declaration
\*---------------------------------------------------------------------------*/

template<class BasicTurbulenceModel>
Expand Down Expand Up @@ -137,12 +137,12 @@ protected:
) const;


public:

typedef typename BasicTurbulenceModel::alphaField alphaField;
typedef typename BasicTurbulenceModel::rhoField rhoField;
typedef typename BasicTurbulenceModel::transportModel transportModel;

public:

//- Runtime type information
TypeName("kOmegaSSTSASnew");
Expand Down
22 changes: 22 additions & 0 deletions kOmegaSSTSASnew/incompressible/makeTurbulenceModels.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#include "IncompressibleTurbulenceModel.H"
#include "incompressible/transportModel/transportModel.H"
#include "addToRunTimeSelectionTable.H"
#include "makeTurbulenceModel.H"

#include "RASModel.H"

namespace Foam
{
typedef IncompressibleTurbulenceModel<transportModel>
transportModelIncompressibleTurbulenceModel;
typedef RASModel<transportModelIncompressibleTurbulenceModel>
RAStransportModelIncompressibleTurbulenceModel;
}

#include "kOmegaSSTSASnew.H"
makeTemplatedTurbulenceModel
(
transportModelIncompressibleTurbulenceModel,
RAS,
kOmegaSSTSASnew
);
57 changes: 0 additions & 57 deletions kOmegaSSTSASnew/incompressible/myturbulentTransportModels.C

This file was deleted.

0 comments on commit 6ca7601

Please sign in to comment.