Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Mantis #1259: created lagrangian turbulence library for new turb…
…ulent structure
- Loading branch information
william
committed
Apr 15, 2014
1 parent
36fdb47
commit 1115c18
Showing
14 changed files
with
1,053 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
PARCELS=parcels | ||
DERIVEDPARCELS=$(PARCELS)/derived | ||
|
||
KINEMATICCOLLIDINGPARCEL=$(DERIVEDPARCELS)/basicKinematicCollidingParcel | ||
$(KINEMATICCOLLIDINGPARCEL)/makeBasicKinematicCollidingParcelSubmodels.C | ||
|
||
KINEMATICMPPICPARCEL=$(DERIVEDPARCELS)/basicKinematicMPPICParcel | ||
$(KINEMATICMPPICPARCEL)/makeBasicKinematicMPPICParcelSubmodels.C | ||
|
||
LIB = $(FOAM_LIBBIN)/liblagrangianTurbulentSubModels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
EXE_INC = \ | ||
-I$(LIB_SRC)/finiteVolume/lnInclude \ | ||
-I$(LIB_SRC)/meshTools/lnInclude \ | ||
-I$(LIB_SRC)/lagrangian/basic/lnInclude \ | ||
-I$(LIB_SRC)/lagrangian/intermediate/lnInclude \ | ||
-I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/properties/liquidProperties/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/properties/liquidMixtureProperties/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/properties/solidProperties/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/properties/solidMixtureProperties/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/radiationModels/lnInclude \ | ||
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ | ||
-I$(LIB_SRC)/transportModels \ | ||
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ | ||
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ | ||
-I$(LIB_SRC)/dynamicFvMesh/lnInclude \ | ||
-I$(LIB_SRC)/sampling/lnInclude | ||
|
||
LIB_LIBS = \ | ||
-lfiniteVolume \ | ||
-lmeshTools \ | ||
-llagrangian \ | ||
-llagrangianIntermediate \ | ||
-ldistributionModels \ | ||
-lspecie \ | ||
-lfluidThermophysicalModels \ | ||
-lliquidProperties \ | ||
-lliquidMixtureProperties \ | ||
-lsolidProperties \ | ||
-lsolidMixtureProperties \ | ||
-lreactionThermophysicalModels \ | ||
-lSLGThermo \ | ||
-lradiationModels \ | ||
-lturbulenceModels \ | ||
-lincompressibleTurbulenceModels \ | ||
-lcompressibleTurbulenceModels \ | ||
-lincompressibleTransportModels \ | ||
-lregionModels \ | ||
-lsurfaceFilmModels \ | ||
-ldynamicFvMesh \ | ||
-lsampling |
37 changes: 37 additions & 0 deletions
37
...arcels/derived/basicKinematicCollidingParcel/makeBasicKinematicCollidingParcelSubmodels.C
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/*---------------------------------------------------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | | ||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation | ||
\\/ M anipulation | | ||
------------------------------------------------------------------------------- | ||
License | ||
This file is part of OpenFOAM. | ||
OpenFOAM is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. | ||
\*---------------------------------------------------------------------------*/ | ||
|
||
#include "basicKinematicCollidingCloud.H" | ||
#include "makeParcelTurbulenceDispersionModels.H" | ||
|
||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
namespace Foam | ||
{ | ||
makeParcelTurbulenceDispersionModels(basicKinematicCollidingCloud); | ||
} | ||
|
||
|
||
// ************************************************************************* // |
37 changes: 37 additions & 0 deletions
37
...ulence/parcels/derived/basicKinematicMPPICParcel/makeBasicKinematicMPPICParcelSubmodels.C
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/*---------------------------------------------------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | | ||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation | ||
\\/ M anipulation | | ||
------------------------------------------------------------------------------- | ||
License | ||
This file is part of OpenFOAM. | ||
OpenFOAM is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. | ||
\*---------------------------------------------------------------------------*/ | ||
|
||
#include "basicKinematicMPPICCloud.H" | ||
#include "makeParcelTurbulenceDispersionModels.H" | ||
|
||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
namespace Foam | ||
{ | ||
makeParcelTurbulenceDispersionModels(basicKinematicMPPICCloud); | ||
} | ||
|
||
|
||
// ************************************************************************* // |
53 changes: 53 additions & 0 deletions
53
src/lagrangian/Turbulence/parcels/include/makeParcelTurbulenceDispersionModels.H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/*---------------------------------------------------------------------------*\ | ||
========= | | ||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | ||
\\ / O peration | | ||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation | ||
\\/ M anipulation | | ||
------------------------------------------------------------------------------- | ||
License | ||
This file is part of OpenFOAM. | ||
OpenFOAM is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. | ||
\*---------------------------------------------------------------------------*/ | ||
|
||
#ifndef makeParcelTurbulenceDispersionModels_h | ||
#define makeParcelTurbulenceDispersionModels_h | ||
|
||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
#include "GradientDispersionRAS.H" | ||
#include "StochasticDispersionRAS.H" | ||
|
||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
#define makeParcelTurbulenceDispersionModels(CloudType) \ | ||
\ | ||
typedef CloudType::kinematicCloudType kinematicCloudType; \ | ||
defineNamedTemplateTypeNameAndDebug \ | ||
( \ | ||
DispersionRASModel<kinematicCloudType>, \ | ||
0 \ | ||
); \ | ||
\ | ||
makeDispersionModelType(GradientDispersionRAS, CloudType); \ | ||
makeDispersionModelType(StochasticDispersionRAS, CloudType); \ | ||
|
||
|
||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
#endif | ||
|
||
// ************************************************************************* // |
Oops, something went wrong.