MomentumTransportModels: Library builds of multiphase models

The MomentumTransportModels library now builds of a standard set of
phase-incompressible and phase-compressible models. This replaces most
solver-specific builds of these models.

This has been made possible by the addition of a new
"dynamicTransportModel" interface, from which all transport classes used
by the momentum transport models now derive. For the purpose of
disambiguation, the old "transportModel" has also been renamed
"kinematicTransportModel".

This change has been made in order to create a consistent definition of
phase-incompressible and phase-compressible MomentumTransportModels,
which can then be looked up by functionObjects, fvModels, and similar.

Some solvers still build specific momentum transport models, but these
are now in addition to the standard set. The solver does not build all
the models it uses.

There are also corresponding centralised builds of phase dependent
ThermophysicalTransportModels.
This commit is contained in:
Will Bainbridge
2021-03-25 11:04:09 +00:00
parent 227734ddf8
commit 8a5ee8aac1
269 changed files with 1509 additions and 1181 deletions

View File

@ -20,13 +20,14 @@ EXE_INC = \
-IPDRModels/turbulence/PDRkEpsilon \ -IPDRModels/turbulence/PDRkEpsilon \
-IlaminarFlameSpeed/SCOPE \ -IlaminarFlameSpeed/SCOPE \
-I$(LIB_SRC)/engine/lnInclude \ -I$(LIB_SRC)/engine/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/laminarFlameSpeed/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/laminarFlameSpeed/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/dynamicFvMesh/lnInclude \ -I$(LIB_SRC)/dynamicFvMesh/lnInclude \
-I$(LIB_SRC)/dynamicMesh/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude \
@ -40,7 +41,7 @@ EXE_LIBS = \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lspecie \ -lspecie \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-llaminarFlameSpeedModels \ -llaminarFlameSpeedModels \
-lfiniteVolume \ -lfiniteVolume \

View File

@ -69,7 +69,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "psiuReactionThermo.H" #include "psiuReactionThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "laminarFlameSpeed.H" #include "laminarFlameSpeed.H"
#include "XiModel.H" #include "XiModel.H"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -58,7 +58,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "dynamicFvMesh.H" #include "dynamicFvMesh.H"
#include "psiuReactionThermo.H" #include "psiuReactionThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "laminarFlameSpeed.H" #include "laminarFlameSpeed.H"
#include "XiModel.H" #include "XiModel.H"
#include "PDRDragModel.H" #include "PDRDragModel.H"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -38,7 +38,7 @@ SourceFiles
#include "IOdictionary.H" #include "IOdictionary.H"
#include "psiuReactionThermo.H" #include "psiuReactionThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "multivariateSurfaceInterpolationScheme.H" #include "multivariateSurfaceInterpolationScheme.H"
#include "runTimeSelectionTables.H" #include "runTimeSelectionTables.H"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -50,7 +50,7 @@ PDRkEpsilon::PDRkEpsilon
const volVectorField& U, const volVectorField& U,
const surfaceScalarField& alphaRhoPhi, const surfaceScalarField& alphaRhoPhi,
const surfaceScalarField& phi, const surfaceScalarField& phi,
const fluidThermo& thermophysicalModel, const dynamicTransportModel& transport,
const word& modelName const word& modelName
) )
: :
@ -61,7 +61,7 @@ PDRkEpsilon::PDRkEpsilon
U, U,
phi, phi,
phi, phi,
thermophysicalModel, transport,
modelName modelName
), ),

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -61,7 +61,7 @@ SourceFiles
#define compressible_PDRkEpsilon_H #define compressible_PDRkEpsilon_H
#include "kEpsilon.H" #include "kEpsilon.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -102,7 +102,7 @@ public:
const volVectorField& U, const volVectorField& U,
const surfaceScalarField& alphaRhoPhi, const surfaceScalarField& alphaRhoPhi,
const surfaceScalarField& phi, const surfaceScalarField& phi,
const fluidThermo& thermophysicalModel, const dynamicTransportModel& transport,
const word& modelName = typeName const word& modelName = typeName
); );

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -43,7 +43,7 @@ SourceFiles
#include "IOdictionary.H" #include "IOdictionary.H"
#include "psiuReactionThermo.H" #include "psiuReactionThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "runTimeSelectionTables.H" #include "runTimeSelectionTables.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -40,7 +40,7 @@ SourceFiles
#include "IOdictionary.H" #include "IOdictionary.H"
#include "psiuReactionThermo.H" #include "psiuReactionThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "runTimeSelectionTables.H" #include "runTimeSelectionTables.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -92,7 +92,7 @@ SourceFiles
#include "IOdictionary.H" #include "IOdictionary.H"
#include "psiuReactionThermo.H" #include "psiuReactionThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "multivariateSurfaceInterpolationScheme.H" #include "multivariateSurfaceInterpolationScheme.H"
#include "fvcDiv.H" #include "fvcDiv.H"
#include "runTimeSelectionTables.H" #include "runTimeSelectionTables.H"

View File

@ -1,5 +1,6 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/engine/lnInclude \ -I$(LIB_SRC)/engine/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
@ -14,7 +15,7 @@ EXE_INC = \
EXE_LIBS = \ EXE_LIBS = \
-lengine \ -lengine \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \

View File

@ -4,6 +4,7 @@ EXE_INC = \
-I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/engine/lnInclude \ -I$(LIB_SRC)/engine/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
@ -20,7 +21,7 @@ EXE_LIBS = \
-lmeshTools \ -lmeshTools \
-lengine \ -lengine \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \

View File

@ -52,7 +52,7 @@ Description
#include "engineTime.H" #include "engineTime.H"
#include "engineMesh.H" #include "engineMesh.H"
#include "psiuReactionThermo.H" #include "psiuReactionThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "laminarFlameSpeed.H" #include "laminarFlameSpeed.H"
#include "ignition.H" #include "ignition.H"

View File

@ -51,7 +51,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "psiuReactionThermo.H" #include "psiuReactionThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "laminarFlameSpeed.H" #include "laminarFlameSpeed.H"
#include "ignition.H" #include "ignition.H"

View File

@ -1,4 +1,5 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \

View File

@ -4,6 +4,7 @@ EXE_INC = \
-I../XiFoam \ -I../XiFoam \
-I../../compressible/rhoPimpleFoam \ -I../../compressible/rhoPimpleFoam \
-I$(LIB_SRC)/engine/lnInclude \ -I$(LIB_SRC)/engine/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
@ -18,7 +19,7 @@ EXE_LIBS = \
-lengine \ -lengine \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lspecie \ -lspecie \
-lfiniteVolume \ -lfiniteVolume \

View File

@ -33,7 +33,7 @@ Description
#include "engineTime.H" #include "engineTime.H"
#include "engineMesh.H" #include "engineMesh.H"
#include "psiThermo.H" #include "psiThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "OFstream.H" #include "OFstream.H"
#include "fvModels.H" #include "fvModels.H"

View File

@ -7,6 +7,7 @@ EXE_INC = \
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \
-I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ -I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
@ -26,7 +27,7 @@ EXE_LIBS = \
-lmeshTools \ -lmeshTools \
-lsampling \ -lsampling \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidReactionThermophysicalTransportModels \ -lfluidReactionThermophysicalTransportModels \
-lspecie \ -lspecie \

View File

@ -31,7 +31,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "fvCFD.H" #include "fvCFD.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidReactionThermophysicalTransportModel.H" #include "fluidReactionThermophysicalTransportModel.H"
#include "parcelCloudList.H" #include "parcelCloudList.H"
#include "surfaceFilmModel.H" #include "surfaceFilmModel.H"

View File

@ -3,6 +3,7 @@ EXE_INC = \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
@ -23,7 +24,7 @@ EXE_LIBS = \
-lcombustionModels \ -lcombustionModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidReactionThermophysicalTransportModels \ -lfluidReactionThermophysicalTransportModels \
-lfiniteVolume \ -lfiniteVolume \

View File

@ -9,6 +9,7 @@ EXE_INC = \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
@ -24,7 +25,7 @@ EXE_LIBS = \
-lmeshTools \ -lmeshTools \
-lsampling \ -lsampling \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidReactionThermophysicalTransportModels \ -lfluidReactionThermophysicalTransportModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \

View File

@ -33,7 +33,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "fluidReactionThermo.H" #include "fluidReactionThermo.H"
#include "combustionModel.H" #include "combustionModel.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidReactionThermophysicalTransportModel.H" #include "fluidReactionThermophysicalTransportModel.H"
#include "multivariateScheme.H" #include "multivariateScheme.H"
#include "pimpleControl.H" #include "pimpleControl.H"

View File

@ -33,7 +33,7 @@ Description
#include "dynamicFvMesh.H" #include "dynamicFvMesh.H"
#include "fluidReactionThermo.H" #include "fluidReactionThermo.H"
#include "combustionModel.H" #include "combustionModel.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidReactionThermophysicalTransportModel.H" #include "fluidReactionThermophysicalTransportModel.H"
#include "multivariateScheme.H" #include "multivariateScheme.H"
#include "pimpleControl.H" #include "pimpleControl.H"

View File

@ -1,5 +1,6 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude

View File

@ -1,6 +1,7 @@
EXE_INC = \ EXE_INC = \
-IBCs/lnInclude \ -IBCs/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
@ -17,7 +18,7 @@ EXE_LIBS = \
-lspecie \ -lspecie \
-lrhoCentralFoam \ -lrhoCentralFoam \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-ldynamicFvMesh \ -ldynamicFvMesh \
-ltopoChangerFvMesh \ -ltopoChangerFvMesh \

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -33,7 +33,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "dynamicFvMesh.H" #include "dynamicFvMesh.H"
#include "psiThermo.H" #include "psiThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "fixedRhoFvPatchScalarField.H" #include "fixedRhoFvPatchScalarField.H"
#include "directionInterpolate.H" #include "directionInterpolate.H"

View File

@ -1,4 +1,5 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
@ -13,7 +14,7 @@ EXE_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie \ -lspecie \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfiniteVolume \ -lfiniteVolume \
-ldynamicFvMesh \ -ldynamicFvMesh \

View File

@ -36,7 +36,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "dynamicFvMesh.H" #include "dynamicFvMesh.H"
#include "fluidThermo.H" #include "fluidThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "pimpleControl.H" #include "pimpleControl.H"
#include "pressureControl.H" #include "pressureControl.H"

View File

@ -1,4 +1,5 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
@ -12,7 +13,7 @@ EXE_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie \ -lspecie \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lsampling \ -lsampling \

View File

@ -1,6 +1,7 @@
EXE_INC = \ EXE_INC = \
-I. \ -I. \
-I.. \ -I.. \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
@ -14,7 +15,7 @@ EXE_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie \ -lspecie \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lsampling \ -lsampling \

View File

@ -32,7 +32,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "fluidThermo.H" #include "fluidThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "simpleControl.H" #include "simpleControl.H"
#include "pressureControl.H" #include "pressureControl.H"

View File

@ -31,7 +31,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "fluidThermo.H" #include "fluidThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "simpleControl.H" #include "simpleControl.H"
#include "pressureControl.H" #include "pressureControl.H"

View File

@ -1,6 +1,7 @@
EXE_INC = \ EXE_INC = \
-I. \ -I. \
-I../../compressible/rhoPimpleFoam \ -I../../compressible/rhoPimpleFoam \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
@ -15,7 +16,7 @@ EXE_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie \ -lspecie \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfiniteVolume \ -lfiniteVolume \
-ldynamicFvMesh \ -ldynamicFvMesh \

View File

@ -37,7 +37,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "dynamicFvMesh.H" #include "dynamicFvMesh.H"
#include "fluidThermo.H" #include "fluidThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "pimpleControl.H" #include "pimpleControl.H"
#include "pressureControl.H" #include "pressureControl.H"

View File

@ -3,6 +3,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/cfdTools \ -I$(LIB_SRC)/finiteVolume/cfdTools \
-I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
@ -18,5 +19,5 @@ EXE_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie \ -lspecie \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lmeshTools -lmeshTools

View File

@ -31,7 +31,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "fvCFD.H" #include "fvCFD.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "simpleControl.H" #include "simpleControl.H"
#include "pressureControl.H" #include "pressureControl.H"

View File

@ -9,6 +9,7 @@ EXE_INC = \
-I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/finiteVolume/cfdTools \ -I$(LIB_SRC)/finiteVolume/cfdTools \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
@ -32,7 +33,7 @@ EXE_LIBS = \
-lODE \ -lODE \
-lcombustionModels \ -lcombustionModels \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidReactionThermophysicalTransportModels \ -lfluidReactionThermophysicalTransportModels \
-lmeshTools \ -lmeshTools \

View File

@ -32,7 +32,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "fvCFD.H" #include "fvCFD.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidReactionThermophysicalTransportModel.H" #include "fluidReactionThermophysicalTransportModel.H"
#include "fluidReactionThermo.H" #include "fluidReactionThermo.H"
#include "combustionModel.H" #include "combustionModel.H"

View File

@ -2,6 +2,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
@ -16,5 +17,5 @@ EXE_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie \ -lspecie \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels -lthermophysicalTransportModels

View File

@ -31,7 +31,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "fluidThermo.H" #include "fluidThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidThermophysicalTransportModel.H" #include "fluidThermophysicalTransportModel.H"
#include "LESModel.H" #include "LESModel.H"
#include "fvModels.H" #include "fvModels.H"

View File

@ -11,7 +11,7 @@ EXE_INC = \
EXE_LIBS = \ EXE_LIBS = \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools \ -lmeshTools \
-lfvModels \ -lfvModels \

View File

@ -9,7 +9,7 @@ EXE_INC = \
EXE_LIBS = \ EXE_LIBS = \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools \ -lmeshTools \
-lfvModels \ -lfvModels \

View File

@ -4,6 +4,6 @@ EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude -I$(LIB_SRC)/meshTools/lnInclude
EXE_LIBS = \ EXE_LIBS = \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools -lmeshTools

View File

@ -11,7 +11,7 @@ EXE_INC = \
EXE_LIBS = \ EXE_LIBS = \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lfvModels \ -lfvModels \
-lfvConstraints \ -lfvConstraints \

View File

@ -11,7 +11,7 @@ EXE_INC = \
EXE_LIBS = \ EXE_LIBS = \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools \ -lmeshTools \
-lfvModels \ -lfvModels \

View File

@ -9,7 +9,7 @@ EXE_INC = \
EXE_LIBS = \ EXE_LIBS = \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools \ -lmeshTools \
-lfvModels \ -lfvModels \

View File

@ -6,11 +6,10 @@ EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude -I$(LIB_SRC)/sampling/lnInclude
EXE_LIBS = \ EXE_LIBS = \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools \ -lmeshTools \
-lfvModels \ -lfvModels \

View File

@ -11,7 +11,7 @@ EXE_INC = \
EXE_LIBS = \ EXE_LIBS = \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools \ -lmeshTools \
-lfvModels \ -lfvModels \

View File

@ -11,7 +11,7 @@ EXE_INC = \
EXE_LIBS = \ EXE_LIBS = \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools \ -lmeshTools \
-lfvModels \ -lfvModels \

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
wclean libso denseParticleMomentumTransportModels
wclean
wclean MPPICFoam
#------------------------------------------------------------------------------

View File

@ -1,11 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Parse arguments for library compilation
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
wmake $targetType denseParticleMomentumTransportModels
wmake $targetType
#------------------------------------------------------------------------------

View File

@ -1,11 +1,10 @@
EXE_INC = \ EXE_INC = \
-I./denseParticleMomentumTransportModels/lnInclude \
-I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \
-I$(LIB_SRC)/lagrangian/parcel/lnInclude \ -I$(LIB_SRC)/lagrangian/parcel/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/phaseIncompressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/phaseIncompressible/lnInclude \
@ -19,10 +18,10 @@ EXE_LIBS = \
-llagrangian \ -llagrangian \
-llagrangianParcel \ -llagrangianParcel \
-llagrangianParcelTurbulence \ -llagrangianParcelTurbulence \
-lincompressibleTransportModels \ -ltransportModels \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-ldenseParticleMomentumTransportModels \ -lphaseIncompressibleMomentumTransportModels \
-lfiniteVolume \ -lfiniteVolume \
-ldynamicFvMesh \ -ldynamicFvMesh \
-ltopoChangerFvMesh \ -ltopoChangerFvMesh \

View File

@ -147,10 +147,9 @@ surfaceScalarField alphaPhic
alphacf*phic alphacf*phic
); );
autoPtr<PhaseIncompressibleMomentumTransportModel<singlePhaseTransportModel>> autoPtr<phaseIncompressible::momentumTransportModel> continuousPhaseTurbulence
continuousPhaseTurbulence
( (
PhaseIncompressibleMomentumTransportModel<singlePhaseTransportModel>::New phaseIncompressible::momentumTransportModel::New
( (
alphac, alphac,
Uc, Uc,

View File

@ -78,7 +78,7 @@ namespace Foam
#include "fvCFD.H" #include "fvCFD.H"
#include "dynamicFvMesh.H" #include "dynamicFvMesh.H"
#include "singlePhaseTransportModel.H" #include "singlePhaseTransportModel.H"
#include "PhaseIncompressibleMomentumTransportModel.H" #include "phaseKinematicMomentumTransportModel.H"
#include "pimpleControl.H" #include "pimpleControl.H"
#include "CorrectPhi.H" #include "CorrectPhi.H"
#include "fvModels.H" #include "fvModels.H"

View File

@ -1,3 +0,0 @@
denseParticleMomentumTransportModels.C
LIB = $(FOAM_LIBBIN)/libdenseParticleMomentumTransportModels

View File

@ -1,8 +0,0 @@
EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/phaseIncompressible/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude

View File

@ -16,7 +16,7 @@ EXE_LIBS = \
-llagrangianParcelTurbulence \ -llagrangianParcelTurbulence \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lregionModels \ -lregionModels \
-lsurfaceFilmModels \ -lsurfaceFilmModels \

View File

@ -9,6 +9,7 @@ EXE_INC = \
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \
-I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ -I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
@ -29,7 +30,7 @@ EXE_LIBS = \
-lmeshTools \ -lmeshTools \
-ldynamicFvMesh \ -ldynamicFvMesh \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidReactionThermophysicalTransportModels \ -lfluidReactionThermophysicalTransportModels \
-lspecie \ -lspecie \

View File

@ -10,6 +10,7 @@ EXE_INC = \
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \
-I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ -I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
@ -30,7 +31,7 @@ EXE_LIBS = \
-lmeshTools \ -lmeshTools \
-ldynamicFvMesh \ -ldynamicFvMesh \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidReactionThermophysicalTransportModels \ -lfluidReactionThermophysicalTransportModels \
-lspecie \ -lspecie \

View File

@ -32,7 +32,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "dynamicFvMesh.H" #include "dynamicFvMesh.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidReactionThermophysicalTransportModel.H" #include "fluidReactionThermophysicalTransportModel.H"
#include "parcelCloudList.H" #include "parcelCloudList.H"
#include "surfaceFilmModel.H" #include "surfaceFilmModel.H"

View File

@ -10,6 +10,7 @@ EXE_INC = \
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \
-I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ -I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
@ -31,7 +32,7 @@ EXE_LIBS = \
-lmeshTools \ -lmeshTools \
-ldynamicFvMesh \ -ldynamicFvMesh \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidReactionThermophysicalTransportModels \ -lfluidReactionThermophysicalTransportModels \
-lspecie \ -lspecie \

View File

@ -32,7 +32,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "engineMesh.H" #include "engineMesh.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidReactionThermophysicalTransportModel.H" #include "fluidReactionThermophysicalTransportModel.H"
#include "parcelCloudList.H" #include "parcelCloudList.H"
#include "surfaceFilmModel.H" #include "surfaceFilmModel.H"

View File

@ -32,7 +32,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "dynamicFvMesh.H" #include "dynamicFvMesh.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidReactionThermophysicalTransportModel.H" #include "fluidReactionThermophysicalTransportModel.H"
#include "parcelCloudList.H" #include "parcelCloudList.H"
#include "surfaceFilmModel.H" #include "surfaceFilmModel.H"

View File

@ -1,6 +1,7 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \
-I$(LIB_SRC)/lagrangian/parcel/lnInclude \ -I$(LIB_SRC)/lagrangian/parcel/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
@ -19,7 +20,7 @@ EXE_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie \ -lspecie \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lfvModels \ -lfvModels \
-lfvConstraints \ -lfvConstraints \

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -34,7 +34,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "dynamicFvMesh.H" #include "dynamicFvMesh.H"
#include "fluidThermo.H" #include "fluidThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "parcelCloudList.H" #include "parcelCloudList.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -9,6 +9,7 @@ EXE_INC = \
-I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \
-I$(LIB_SRC)/lagrangian/parcel/lnInclude \ -I$(LIB_SRC)/lagrangian/parcel/lnInclude \
-I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ -I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
@ -25,7 +26,7 @@ EXE_LIBS = \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools \ -lmeshTools \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \
-lfluidReactionThermophysicalTransportModels \ -lfluidReactionThermophysicalTransportModels \
-llagrangian \ -llagrangian \

View File

@ -31,7 +31,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "fvCFD.H" #include "fvCFD.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "fluidReactionThermophysicalTransportModel.H" #include "fluidReactionThermophysicalTransportModel.H"
#include "parcelCloudList.H" #include "parcelCloudList.H"
#include "fluidReactionThermo.H" #include "fluidReactionThermo.H"

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
wclean libso twoPhaseMixtureThermo wclean libso twoPhaseMixtureThermo
wclean libso surfaceTensionModels wclean libso surfaceTensionModels
wclean libso twoPhaseChange wclean libso twoPhaseChange
wclean libso VoFphaseCompressibleMomentumTransportModels wclean libso compressibleInterPhaseTransportModel
wclean wclean

View File

@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
wmake $targetType twoPhaseMixtureThermo wmake $targetType twoPhaseMixtureThermo
wmake $targetType surfaceTensionModels wmake $targetType surfaceTensionModels
wmake $targetType twoPhaseChange wmake $targetType twoPhaseChange
wmake $targetType VoFphaseCompressibleMomentumTransportModels wmake $targetType compressibleInterPhaseTransportModel
wmake $targetType wmake $targetType

View File

@ -1,18 +1,18 @@
EXE_INC = \ EXE_INC = \
-I. \ -I. \
-ItwoPhaseMixtureThermo \ -ItwoPhaseMixtureThermo \
-IVoFphaseCompressibleMomentumTransportModels/lnInclude \ -IcompressibleInterPhaseTransportModel/lnInclude \
-ItwoPhaseChange/lnInclude \ -ItwoPhaseChange/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/phaseCompressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/phaseCompressible/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
@ -31,8 +31,8 @@ EXE_LIBS = \
-linterfaceProperties \ -linterfaceProperties \
-lcompressibleTwoPhaseChangeModels \ -lcompressibleTwoPhaseChangeModels \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lVoFphaseCompressibleMomentumTransportModels \ -lcompressibleInterPhaseTransportModel \
-lsurfaceFilmModels \ -lsurfaceFilmModels \
-lsurfaceFilmDerivedFvPatchFields \ -lsurfaceFilmDerivedFvPatchFields \
-lfiniteVolume \ -lfiniteVolume \

View File

@ -1,4 +0,0 @@
VoFphaseCompressibleMomentumTransportModels.C
compressibleInterPhaseTransportModel.C
LIB = $(FOAM_LIBBIN)/libVoFphaseCompressibleMomentumTransportModels

View File

@ -0,0 +1,3 @@
compressibleInterPhaseTransportModel.C
LIB = $(FOAM_LIBBIN)/libcompressibleInterPhaseTransportModel

View File

@ -1,5 +1,6 @@
EXE_INC = \ EXE_INC = \
-I../twoPhaseMixtureThermo \ -I../twoPhaseMixtureThermo \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \
@ -17,7 +18,8 @@ LIB_LIBS = \
-ltwoPhaseProperties \ -ltwoPhaseProperties \
-linterfaceProperties \ -linterfaceProperties \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lincompressibleTransportModels \ -lphaseCompressibleMomentumTransportModels \
-ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools -lmeshTools

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -94,7 +94,7 @@ Foam::compressibleInterPhaseTransportModel::compressibleInterPhaseTransportModel
turbulence1_ = turbulence1_ =
( (
PhaseCompressibleMomentumTransportModel<fluidThermo>::New phaseCompressible::momentumTransportModel::New
( (
alpha1, alpha1,
rho1, rho1,
@ -107,7 +107,7 @@ Foam::compressibleInterPhaseTransportModel::compressibleInterPhaseTransportModel
turbulence2_ = turbulence2_ =
( (
PhaseCompressibleMomentumTransportModel<fluidThermo>::New phaseCompressible::momentumTransportModel::New
( (
alpha2, alpha2,
rho2, rho2,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -46,8 +46,8 @@ SourceFiles
#include "twoPhaseMixture.H" #include "twoPhaseMixture.H"
#include "twoPhaseMixtureThermo.H" #include "twoPhaseMixtureThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "VoFphaseCompressibleMomentumTransportModel.H" #include "phaseDynamicMomentumTransportModel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -84,12 +84,10 @@ class compressibleInterPhaseTransportModel
autoPtr<compressible::momentumTransportModel> turbulence_; autoPtr<compressible::momentumTransportModel> turbulence_;
//- Phase-1 transport model (constructed for two-phase transport) //- Phase-1 transport model (constructed for two-phase transport)
autoPtr<PhaseCompressibleMomentumTransportModel<fluidThermo>> autoPtr<phaseCompressible::momentumTransportModel> turbulence1_;
turbulence1_;
//- Phase-2 transport model (constructed for two-phase transport) //- Phase-2 transport model (constructed for two-phase transport)
autoPtr<PhaseCompressibleMomentumTransportModel<fluidThermo>> autoPtr<phaseCompressible::momentumTransportModel> turbulence2_;
turbulence2_;
public: public:

View File

@ -1,8 +1,9 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \ -I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude -I$(LIB_SRC)/finiteVolume/lnInclude
LIB_LIBS = \ LIB_LIBS = \

View File

@ -1,8 +1,9 @@
EXE_INC = \ EXE_INC = \
-I../twoPhaseMixtureThermo/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \
-I../twoPhaseMixtureThermo/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude -I$(LIB_SRC)/finiteVolume/lnInclude

View File

@ -1,4 +1,5 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \

View File

@ -2,6 +2,7 @@ EXE_INC = \
-I. \ -I. \
-I../interFoam \ -I../interFoam \
-ImultiphaseMixtureThermo/lnInclude \ -ImultiphaseMixtureThermo/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/twoPhaseMixture/lnInclude \
-I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \ -I$(LIB_SRC)/twoPhaseModels/interfaceProperties/lnInclude \
@ -16,6 +17,6 @@ EXE_LIBS = \
-lspecie \ -lspecie \
-linterfaceProperties \ -linterfaceProperties \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lcompressibleMomentumTransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools -lmeshTools

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -37,7 +37,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "multiphaseMixtureThermo.H" #include "multiphaseMixtureThermo.H"
#include "fluidThermoMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "pimpleControl.H" #include "pimpleControl.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -1,4 +1,5 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude -I$(LIB_SRC)/meshTools/lnInclude

View File

@ -1,5 +1,4 @@
incompressibleTwoPhaseInteractingMixture/incompressibleTwoPhaseInteractingMixture.C incompressibleTwoPhaseInteractingMixture/incompressibleTwoPhaseInteractingMixture.C
compressibleMomentumTransportModels.C
driftFluxFoam.C driftFluxFoam.C
EXE = $(FOAM_APPBIN)/driftFluxFoam EXE = $(FOAM_APPBIN)/driftFluxFoam

View File

@ -19,4 +19,4 @@ EXE_LIBS = \
-lfvModels \ -lfvModels \
-lfvConstraints \ -lfvConstraints \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels -lcompressibleMomentumTransportModels

View File

@ -1,104 +0,0 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2014-2020 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 "CompressibleMomentumTransportModel.H"
#include "incompressibleTwoPhaseInteractingMixture.H"
#include "addToRunTimeSelectionTable.H"
#include "makeMomentumTransportModel.H"
#include "laminarModel.H"
#include "RASModel.H"
#include "LESModel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
makeMomentumTransportModelTypes
(
geometricOneField,
volScalarField,
compressibleMomentumTransportModel,
CompressibleMomentumTransportModel,
incompressibleTwoPhaseInteractingMixture
);
makeBaseMomentumTransportModel
(
geometricOneField,
volScalarField,
compressibleMomentumTransportModel,
CompressibleMomentumTransportModel,
incompressibleTwoPhaseInteractingMixture
);
#define makeLaminarModel(Type) \
makeTemplatedMomentumTransportModel \
( \
incompressibleTwoPhaseInteractingMixture \
##CompressibleMomentumTransportModel, \
laminar, \
Type \
)
#define makeRASModel(Type) \
makeTemplatedMomentumTransportModel \
( \
incompressibleTwoPhaseInteractingMixture \
##CompressibleMomentumTransportModel, \
RAS, \
Type \
)
#define makeLESModel(Type) \
makeTemplatedMomentumTransportModel \
( \
incompressibleTwoPhaseInteractingMixture \
##CompressibleMomentumTransportModel, \
LES, \
Type \
)
#include "Stokes.H"
makeLaminarModel(Stokes);
#include "kEpsilon.H"
makeRASModel(kEpsilon);
#include "buoyantKEpsilon.H"
makeRASModel(buoyantKEpsilon);
#include "Smagorinsky.H"
makeLESModel(Smagorinsky);
#include "kEqn.H"
makeLESModel(kEqn);
#include "LRR.H"
makeRASModel(LRR);
#include "SSG.H"
makeRASModel(SSG);
// ************************************************************************* //

View File

@ -75,13 +75,9 @@ autoPtr<relativeVelocityModel> UdmModelPtr
// Construct compressible turbulence model // Construct compressible turbulence model
autoPtr autoPtr<compressible::momentumTransportModel> turbulence
<
CompressibleMomentumTransportModel<incompressibleTwoPhaseInteractingMixture>
> turbulence
( (
CompressibleMomentumTransportModel<incompressibleTwoPhaseInteractingMixture> compressible::momentumTransportModel::New(rho, U, rhoPhi, mixture)
::New(rho, U, rhoPhi, mixture)
); );

View File

@ -39,7 +39,7 @@ Description
#include "incompressibleTwoPhaseInteractingMixture.H" #include "incompressibleTwoPhaseInteractingMixture.H"
#include "relativeVelocityModel.H" #include "relativeVelocityModel.H"
#include "momentumTransportModel.H" #include "momentumTransportModel.H"
#include "CompressibleMomentumTransportModel.H" #include "dynamicMomentumTransportModel.H"
#include "pimpleControl.H" #include "pimpleControl.H"
#include "fvModels.H" #include "fvModels.H"
#include "fvConstraints.H" #include "fvConstraints.H"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\ / A nd | Copyright (C) 2014-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -57,6 +57,7 @@ incompressibleTwoPhaseInteractingMixture
) )
), ),
twoPhaseMixture(U.mesh(), *this), twoPhaseMixture(U.mesh(), *this),
dynamicTransportModel(),
muModel_ muModel_
( (

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2014-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2014-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -40,9 +40,9 @@ SourceFiles
#include "viscosityModel.H" #include "viscosityModel.H"
#include "mixtureViscosityModel.H" #include "mixtureViscosityModel.H"
#include "twoPhaseMixture.H" #include "twoPhaseMixture.H"
#include "dynamicTransportModel.H"
#include "IOdictionary.H" #include "IOdictionary.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam namespace Foam
@ -55,7 +55,8 @@ namespace Foam
class incompressibleTwoPhaseInteractingMixture class incompressibleTwoPhaseInteractingMixture
: :
public IOdictionary, public IOdictionary,
public twoPhaseMixture public twoPhaseMixture,
public dynamicTransportModel
{ {
protected: protected:

View File

@ -6,5 +6,5 @@ EXE_INC = \
LIB_LIBS = \ LIB_LIBS = \
-ltwoPhaseMixture \ -ltwoPhaseMixture \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume -lfiniteVolume

View File

@ -7,6 +7,6 @@ EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude -I$(LIB_SRC)/meshTools/lnInclude
LIB_LIBS = \ LIB_LIBS = \
-lincompressibleTransportModels \ -ltransportModels \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools -lmeshTools

View File

@ -18,7 +18,7 @@ EXE_INC = \
EXE_LIBS = \ EXE_LIBS = \
-ltwoPhaseMixture \ -ltwoPhaseMixture \
-ltwoPhaseProperties \ -ltwoPhaseProperties \
-lincompressibleTransportModels \ -ltransportModels \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \
-lfiniteVolume \ -lfiniteVolume \

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -213,7 +213,7 @@ Foam::incompressibleThreePhaseMixture::nuf() const
bool Foam::incompressibleThreePhaseMixture::read() bool Foam::incompressibleThreePhaseMixture::read()
{ {
if (transportModel::read()) if (regIOobject::read())
{ {
if if
( (

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -34,7 +34,7 @@ SourceFiles
#ifndef incompressibleThreePhaseMixture_H #ifndef incompressibleThreePhaseMixture_H
#define incompressibleThreePhaseMixture_H #define incompressibleThreePhaseMixture_H
#include "transportModel.H" #include "kinematicTransportModel.H"
#include "IOdictionary.H" #include "IOdictionary.H"
#include "viscosityModel.H" #include "viscosityModel.H"
#include "dimensionedScalar.H" #include "dimensionedScalar.H"
@ -52,7 +52,7 @@ namespace Foam
class incompressibleThreePhaseMixture class incompressibleThreePhaseMixture
: :
public IOdictionary, public IOdictionary,
public transportModel public kinematicTransportModel
{ {
// Private Data // Private Data

View File

@ -5,7 +5,6 @@ wclean libso phaseSystems
wclean libso interfacialModels wclean libso interfacialModels
wclean libso interfacialCompositionModels wclean libso interfacialCompositionModels
wclean libso multiphaseCompressibleMomentumTransportModels wclean libso multiphaseCompressibleMomentumTransportModels
wclean libso multiphaseThermophysicalTransportModels
multiphaseEulerFoam/Allwclean multiphaseEulerFoam/Allwclean
wclean libso functionObjects wclean libso functionObjects

View File

@ -8,7 +8,6 @@ wmake $targetType phaseSystems
wmake $targetType interfacialModels wmake $targetType interfacialModels
wmake $targetType interfacialCompositionModels wmake $targetType interfacialCompositionModels
wmake $targetType multiphaseCompressibleMomentumTransportModels wmake $targetType multiphaseCompressibleMomentumTransportModels
wmake $targetType multiphaseThermophysicalTransportModels
wmake $targetType multiphaseReactions wmake $targetType multiphaseReactions
multiphaseEulerFoam/Allwmake $targetType $* multiphaseEulerFoam/Allwmake $targetType $*
wmake $targetType functionObjects wmake $targetType functionObjects

View File

@ -1,12 +1,18 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I../phaseSystems/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/functionObjects/field/lnInclude \
-I$(LIB_SRC)/fileFormats/lnInclude \
-I../interfacialModels/lnInclude \ -I../interfacialModels/lnInclude \
-I../phaseSystems/lnInclude -I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/phaseCompressible/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/fileFormats/lnInclude \
-I$(LIB_SRC)/functionObjects/field/lnInclude \
LIB_LIBS = \ LIB_LIBS = \
-lfieldFunctionObjects \ -lfiniteVolume \
-lmeshTools \
-lfileFormats \ -lfileFormats \
-lfiniteVolume -lfieldFunctionObjects

View File

@ -1,5 +1,6 @@
EXE_INC = \ EXE_INC = \
-I../phaseSystems/lnInclude \ -I../phaseSystems/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \

View File

@ -1,5 +1,6 @@
EXE_INC = \ EXE_INC = \
-I../phaseSystems/lnInclude \ -I../phaseSystems/lnInclude \
-I$(LIB_SRC)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2014-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2014-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,7 +25,7 @@ License
#include "Burns.H" #include "Burns.H"
#include "phasePair.H" #include "phasePair.H"
#include "phaseCompressibleMomentumTransportModel.H" #include "phaseDynamicMomentumTransportModel.H"
#include "addToRunTimeSelectionTable.H" #include "addToRunTimeSelectionTable.H"
#include "dragModel.H" #include "dragModel.H"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2014-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2014-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,7 +25,7 @@ License
#include "Gosman.H" #include "Gosman.H"
#include "phasePair.H" #include "phasePair.H"
#include "phaseCompressibleMomentumTransportModel.H" #include "phaseDynamicMomentumTransportModel.H"
#include "addToRunTimeSelectionTable.H" #include "addToRunTimeSelectionTable.H"
#include "dragModel.H" #include "dragModel.H"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2014-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2014-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -25,7 +25,7 @@ License
#include "LopezDeBertodano.H" #include "LopezDeBertodano.H"
#include "phasePair.H" #include "phasePair.H"
#include "phaseCompressibleMomentumTransportModel.H" #include "phaseDynamicMomentumTransportModel.H"
#include "addToRunTimeSelectionTable.H" #include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

Some files were not shown because too many files have changed in this diff Show More