Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Showing
with 76 additions and 14 deletions
...@@ -24,6 +24,9 @@ License ...@@ -24,6 +24,9 @@ License
Application Application
rhoCentralFoam rhoCentralFoam
Group
grpCompressibleSolvers
Description Description
Density-based compressible flow solver based on central-upwind schemes of Density-based compressible flow solver based on central-upwind schemes of
Kurganov and Tadmor Kurganov and Tadmor
...@@ -51,6 +54,8 @@ int main(int argc, char *argv[]) ...@@ -51,6 +54,8 @@ int main(int argc, char *argv[])
#include "createTimeControls.H" #include "createTimeControls.H"
#include "createRDeltaT.H" #include "createRDeltaT.H"
turbulence->validate();
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "readFluxScheme.H" #include "readFluxScheme.H"
......
...@@ -7,7 +7,6 @@ EXE_INC = \ ...@@ -7,7 +7,6 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/fvOptions/lnInclude
EXE_LIBS = \ EXE_LIBS = \
-lcompressibleTransportModels \ -lcompressibleTransportModels \
......
...@@ -8,7 +8,6 @@ EXE_INC = \ ...@@ -8,7 +8,6 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/fvOptions/lnInclude \
-I$(LIB_SRC)/dynamicFvMesh/lnInclude \ -I$(LIB_SRC)/dynamicFvMesh/lnInclude \
-I$(LIB_SRC)/dynamicMesh/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
......
...@@ -43,7 +43,7 @@ Description ...@@ -43,7 +43,7 @@ Description
#include "bound.H" #include "bound.H"
#include "pimpleControl.H" #include "pimpleControl.H"
#include "CorrectPhi.H" #include "CorrectPhi.H"
#include "fvIOoptionList.H" #include "fvOptions.H"
#include "localEulerDdtScheme.H" #include "localEulerDdtScheme.H"
#include "fvcSmooth.H" #include "fvcSmooth.H"
...@@ -65,6 +65,8 @@ int main(int argc, char *argv[]) ...@@ -65,6 +65,8 @@ int main(int argc, char *argv[])
#include "createRhoUf.H" #include "createRhoUf.H"
#include "createControls.H" #include "createControls.H"
turbulence->validate();
if (!LTS) if (!LTS)
{ {
#include "compressibleCourantNo.H" #include "compressibleCourantNo.H"
......
...@@ -24,6 +24,9 @@ License ...@@ -24,6 +24,9 @@ License
Application Application
rhoPimpleFoam rhoPimpleFoam
Group
grpCompressibleSolvers
Description Description
Transient solver for laminar or turbulent flow of compressible fluids Transient solver for laminar or turbulent flow of compressible fluids
for HVAC and similar applications. for HVAC and similar applications.
...@@ -38,7 +41,7 @@ Description ...@@ -38,7 +41,7 @@ Description
#include "turbulentFluidThermoModel.H" #include "turbulentFluidThermoModel.H"
#include "bound.H" #include "bound.H"
#include "pimpleControl.H" #include "pimpleControl.H"
#include "fvIOoptionList.H" #include "fvOptions.H"
#include "localEulerDdtScheme.H" #include "localEulerDdtScheme.H"
#include "fvcSmooth.H" #include "fvcSmooth.H"
...@@ -59,6 +62,8 @@ int main(int argc, char *argv[]) ...@@ -59,6 +62,8 @@ int main(int argc, char *argv[])
#include "createMRF.H" #include "createMRF.H"
#include "createFvOptions.H" #include "createFvOptions.H"
turbulence->validate();
if (!LTS) if (!LTS)
{ {
#include "compressibleCourantNo.H" #include "compressibleCourantNo.H"
......
...@@ -7,7 +7,6 @@ EXE_INC = \ ...@@ -7,7 +7,6 @@ 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)/fvOptions/lnInclude
EXE_LIBS = \ EXE_LIBS = \
-lcompressibleTransportModels \ -lcompressibleTransportModels \
......
...@@ -71,7 +71,7 @@ dimensionedScalar rhoMin ...@@ -71,7 +71,7 @@ dimensionedScalar rhoMin
Info<< "Creating turbulence model\n" << endl; Info<< "Creating turbulence model\n" << endl;
autoPtr<compressible::RASModel> turbulence autoPtr<compressible::RASModel> turbulence
( (
compressible::RASModel::New compressible::New<compressible::RASModel>
( (
rho, rho,
U, U,
......
...@@ -8,7 +8,6 @@ EXE_INC = \ ...@@ -8,7 +8,6 @@ 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)/fvOptions/lnInclude
EXE_LIBS = \ EXE_LIBS = \
-lcompressibleTransportModels \ -lcompressibleTransportModels \
......
...@@ -70,7 +70,7 @@ dimensionedScalar rhoMin ...@@ -70,7 +70,7 @@ dimensionedScalar rhoMin
Info<< "Creating turbulence model\n" << endl; Info<< "Creating turbulence model\n" << endl;
autoPtr<compressible::RASModel> turbulence autoPtr<compressible::RASModel> turbulence
( (
compressible::RASModel::New compressible::New<compressible::RASModel>
( (
rho, rho,
U, U,
......
...@@ -24,6 +24,9 @@ License ...@@ -24,6 +24,9 @@ License
Application Application
rhoPorousSimpleFoam rhoPorousSimpleFoam
Group
grpCompressibleSolvers
Description Description
Steady-state solver for turbulent flow of compressible fluids with Steady-state solver for turbulent flow of compressible fluids with
RANS turbulence modelling, implicit or explicit porosity treatment RANS turbulence modelling, implicit or explicit porosity treatment
...@@ -34,7 +37,7 @@ Description ...@@ -34,7 +37,7 @@ Description
#include "fvCFD.H" #include "fvCFD.H"
#include "rhoThermo.H" #include "rhoThermo.H"
#include "turbulentFluidThermoModel.H" #include "turbulentFluidThermoModel.H"
#include "fvIOoptionList.H" #include "fvOptions.H"
#include "IOporosityModelList.H" #include "IOporosityModelList.H"
#include "simpleControl.H" #include "simpleControl.H"
...@@ -54,6 +57,8 @@ int main(int argc, char *argv[]) ...@@ -54,6 +57,8 @@ int main(int argc, char *argv[])
#include "createZones.H" #include "createZones.H"
#include "initContinuityErrs.H" #include "initContinuityErrs.H"
turbulence->validate();
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Info<< "\nStarting time loop\n" << endl; Info<< "\nStarting time loop\n" << endl;
......
...@@ -24,6 +24,9 @@ License ...@@ -24,6 +24,9 @@ License
Application Application
rhoSimpleFoam rhoSimpleFoam
Group
grpCompressibleSolvers
Description Description
Steady-state SIMPLE solver for laminar or turbulent RANS flow of Steady-state SIMPLE solver for laminar or turbulent RANS flow of
compressible fluids. compressible fluids.
...@@ -34,7 +37,7 @@ Description ...@@ -34,7 +37,7 @@ Description
#include "psiThermo.H" #include "psiThermo.H"
#include "turbulentFluidThermoModel.H" #include "turbulentFluidThermoModel.H"
#include "simpleControl.H" #include "simpleControl.H"
#include "fvIOoptionList.H" #include "fvOptions.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...@@ -51,6 +54,8 @@ int main(int argc, char *argv[]) ...@@ -51,6 +54,8 @@ int main(int argc, char *argv[])
#include "createFvOptions.H" #include "createFvOptions.H"
#include "initContinuityErrs.H" #include "initContinuityErrs.H"
turbulence->validate();
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Info<< "\nStarting time loop\n" << endl; Info<< "\nStarting time loop\n" << endl;
......
...@@ -6,7 +6,6 @@ EXE_INC = \ ...@@ -6,7 +6,6 @@ EXE_INC = \
-I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/fvOptions/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude -I$(LIB_SRC)/finiteVolume/lnInclude
EXE_LIBS = \ EXE_LIBS = \
......
...@@ -9,7 +9,6 @@ EXE_INC = \ ...@@ -9,7 +9,6 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/cfdTools \ -I$(LIB_SRC)/finiteVolume/cfdTools \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \
-I$(LIB_SRC)/fvOptions/lnInclude \
-I$(LIB_SRC)/dynamicFvMesh/lnInclude \ -I$(LIB_SRC)/dynamicFvMesh/lnInclude \
-I$(LIB_SRC)/dynamicMesh/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
......
...@@ -39,7 +39,7 @@ Description ...@@ -39,7 +39,7 @@ Description
#include "turbulentFluidThermoModel.H" #include "turbulentFluidThermoModel.H"
#include "pimpleControl.H" #include "pimpleControl.H"
#include "CorrectPhi.H" #include "CorrectPhi.H"
#include "fvIOoptionList.H" #include "fvOptions.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...@@ -60,6 +60,8 @@ int main(int argc, char *argv[]) ...@@ -60,6 +60,8 @@ int main(int argc, char *argv[])
#include "compressibleCourantNo.H" #include "compressibleCourantNo.H"
#include "setInitialDeltaT.H" #include "setInitialDeltaT.H"
turbulence->validate();
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Info<< "\nStarting time loop\n" << endl; Info<< "\nStarting time loop\n" << endl;
......
...@@ -37,7 +37,7 @@ Description ...@@ -37,7 +37,7 @@ Description
#include "psiThermo.H" #include "psiThermo.H"
#include "turbulentFluidThermoModel.H" #include "turbulentFluidThermoModel.H"
#include "pimpleControl.H" #include "pimpleControl.H"
#include "fvIOoptionList.H" #include "fvOptions.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...@@ -54,6 +54,8 @@ int main(int argc, char *argv[]) ...@@ -54,6 +54,8 @@ int main(int argc, char *argv[])
#include "createFvOptions.H" #include "createFvOptions.H"
#include "initContinuityErrs.H" #include "initContinuityErrs.H"
turbulence->validate();
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Info<< "\nStarting time loop\n" << endl; Info<< "\nStarting time loop\n" << endl;
......
...@@ -21,6 +21,9 @@ License ...@@ -21,6 +21,9 @@ License
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Group
grpCompressibleSolvers
Application Application
sonicLiquidFoam sonicLiquidFoam
......
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2015 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/>.
\defgroup grpDiscreteMethodsSolvers Discrete method solvers
@{
\ingroup grpSolvers
This group contains discrete method solvers.
@}
\*---------------------------------------------------------------------------*/
...@@ -24,6 +24,9 @@ License ...@@ -24,6 +24,9 @@ License
Application Application
dsmcFoam dsmcFoam
Group
grpDiscreteMethodsSolvers
Description Description
Direct simulation Monte Carlo (DSMC) solver for 3D, transient, multi- Direct simulation Monte Carlo (DSMC) solver for 3D, transient, multi-
species flows species flows
......
...@@ -24,6 +24,9 @@ License ...@@ -24,6 +24,9 @@ License
Application Application
mdEquilibrationFoam mdEquilibrationFoam
Group
grpDiscreteMethodsSolvers
Description Description
Equilibrates and/or preconditions molecular dynamics systems Equilibrates and/or preconditions molecular dynamics systems
......
...@@ -24,6 +24,9 @@ License ...@@ -24,6 +24,9 @@ License
Application Application
mdFoam mdFoam
Group
grpDiscreteMethodsSolvers
Description Description
Molecular dynamics solver for fluid dynamics Molecular dynamics solver for fluid dynamics
......