Commit Graph

130 Commits

Author SHA1 Message Date
93732c8af4 Updated the whole of OpenFOAM to use the new templated TurbulenceModels library
The old separate incompressible and compressible libraries have been removed.

Most of the commonly used RANS and LES models have been upgraded to the
new framework but there are a few missing which will be added over the
next few days, in particular the realizable k-epsilon model.  Some of
the less common incompressible RANS models have been introduced into the
new library instantiated for incompressible flow only.  If they prove to
be generally useful they can be templated for compressible and
multiphase application.

The Spalart-Allmaras DDES and IDDES models have been thoroughly
debugged, removing serious errors concerning the use of S rather than
Omega.

The compressible instances of the models have been augmented by a simple
backward-compatible eddyDiffusivity model for thermal transport based on
alphat and alphaEff.  This will be replaced with a separate run-time
selectable thermal transport model framework in a few weeks.

For simplicity and ease of maintenance and further development the
turbulent transport and wall modeling is based on nut/nuEff rather than
mut/muEff for compressible models so that all forms of turbulence models
can use the same wall-functions and other BCs.

All turbulence model selection made in the constant/turbulenceProperties
dictionary with RAS and LES as sub-dictionaries rather than in separate
files which added huge complexity for multiphase.

All tutorials have been updated so study the changes and update your own
cases by comparison with similar cases provided.

Sorry for the inconvenience in the break in backward-compatibility but
this update to the turbulence modeling is an essential step in the
future of OpenFOAM to allow more models to be added and maintained for a
wider range of cases and physics.  Over the next weeks and months more
turbulence models will be added of single and multiphase flow, more
additional sub-models and further development and testing of existing
models.  I hope this brings benefits to all OpenFOAM users.

Henry G. Weller
2015-01-21 19:21:39 +00:00
04d4f75f70 thermophysicalModels: Resolve issue with the construction of RR from physicoChemicalConstants which may or may not be already constructed
Solution: Move RR, Pstd and Tstd used by specie into thermodynamicConstants constructed in global.C
in the OpenFOAM library
2015-01-21 09:35:38 +00:00
7883c1bc36 applications/utilities/mesh/generation/Allwmake: Updated for changes to foamyHexMesh organization 2015-01-19 09:02:49 +00:00
155966d6d3 Updated headers 2015-01-18 21:16:37 +00:00
a1c33aa1d2 Rationalized foamyHexMesh directory structure and build scripts
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1186
2015-01-18 21:13:45 +00:00
658da453ba Remove cyclic link in foamyHexMesh/mixerVessel tutorial
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1191
2015-01-18 21:11:54 +00:00
7b5d0dad20 Update headers 2015-01-12 12:34:38 +00:00
b5277967c0 Incompressible turbulence models: Remove the correction of the laminar transport model
Explicitly correct laminar transport at the application level as is done in the multiphase solvers
2015-01-12 12:32:38 +00:00
5a4a4e5e4a wallDist: Ensure appropriate method correct function is called 2015-01-12 11:53:19 +00:00
086131d4a1 Updated options files for new location of radiation lnInclude directory 2015-01-11 22:27:36 +00:00
8e5b23ece7 Updated headers 2015-01-11 22:17:00 +00:00
1f3679fe0e thermophysicalModels/radiationModels -> thermophysicalModels/radiation 2015-01-11 22:16:14 +00:00
8c591c480e wmake: Added to "See also" 2015-01-11 18:44:18 +00:00
ac42485493 wmake: Added "See also" 2015-01-11 18:21:20 +00:00
9106d893c7 Update header 2015-01-11 17:16:48 +00:00
03ebd6ddb9 wdep: If source file is not in the current directory search tree for first occurrence 2015-01-11 17:16:15 +00:00
86906e8230 Remove deprecated and out-of-date scripts 2015-01-11 15:51:13 +00:00
38c62f0210 Rename foamClearPolyMesh -> foamCleanPolyMesh for consistency with the other foamClear.* scripts 2015-01-11 15:42:10 +00:00
2442d3aec7 Remove out-of-date and deprecated scripts 2015-01-11 13:34:41 +00:00
4e90a5d364 Remove set -x 2015-01-11 13:16:56 +00:00
0e51d263d0 wrmdepold: Updated rmdepold to handle out-of-tree .dep and .o files 2015-01-11 13:14:55 +00:00
fb1b5ffac5 wdep: updated 2015-01-11 12:15:06 +00:00
dddbe58c94 wrmo: Add -a/-all/all option to remove .o files from all platforms rather than just the current platform. 2015-01-10 23:22:46 +00:00
92f1b0fb78 Updated doc 2015-01-10 23:22:39 +00:00
16b29a9bd0 wrmdep: Add -a/-all/all option to removed for all platforms rather than just the current platform. 2015-01-10 23:18:34 +00:00
1c83ab493e Replaced rmoall with wrmo
Description
    Remove all .o files from the object directory tree corresponding to the
    current source derectory or remove only the .o file corresponding to the
    optionally specified [file].
2015-01-10 22:33:39 +00:00
f46ec6553d Updated headers 2015-01-10 22:12:00 +00:00
8257b61446 Corrected documentation for Doxygen 2015-01-10 22:11:29 +00:00
b0c120b7b5 wmake/scripts/AllwmakeParseArguments: Handle stop-on-error
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1485
2015-01-10 21:58:19 +00:00
fd6459c556 Corrected typo 2015-01-10 21:12:27 +00:00
49b27c838f Added missing file
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1484
2015-01-10 21:10:24 +00:00
24d054199d wmake/wcleanAll: Corrected typo
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1483
2015-01-10 17:23:20 +00:00
1a084b8954 wallDist: Add support for distance to any patch set 2015-01-10 12:26:39 +00:00
0123afd3e3 advectionDiffusionPatchDistMethod: Added more description including specification of relaxation 2015-01-10 11:27:14 +00:00
c29c13b742 wallDist: Added nRequired option to the wallDist dict 2015-01-09 23:17:24 +00:00
4b4fce2c02 advectionDiffusionPatchDistMethod: Only run the predictor method on first call
Improves efficiency for moving-mesh cases
2015-01-09 22:05:32 +00:00
28ec2c2a06 wallDist: moved patchTypes into patchDistMethod 2015-01-09 21:41:21 +00:00
014c602f4a advectionDiffusionPatchDistMethod: Added comment concerning predictor step 2015-01-09 16:18:49 +00:00
cb3cd0afb0 advectionDiffusionPatchDistMethod: Calculation of approximate distance to nearest patch for all cells
and boundary by solving the Eikonal equation in advection form with diffusion smoothing.
2015-01-09 16:12:58 +00:00
113f7a9d7b Fixed a typo 2015-01-08 23:10:41 +00:00
4a411a62c6 wallDist/patchDistMethods/Poisson: New method for fast calculation of an approximate wall-distance field
by solving Poisson's equation
2015-01-08 22:43:42 +00:00
e61ac9d842 wallDist: Set BCs for y and n appropriately for solving PDEs 2015-01-08 17:21:07 +00:00
22869d6e38 Updated header 2015-01-08 16:25:48 +00:00
5d5c397c44 twoPhaseEulerFoam: removed unnecessary fvc.H 2015-01-08 16:25:17 +00:00
501edb4bca Update headers 2015-01-08 16:11:28 +00:00
6f0b2c1727 wallDist: Add support for cached wall-reflection vectors
Currently these vectors are generated at the same time as the wall-distance field
by the same run-time selected algorithm.  This will be changed so that the wall-reflection
vectors are only generated and stored if required.
2015-01-08 16:08:53 +00:00
7900e9ea9e Updated headers 2015-01-08 10:45:47 +00:00
bb2c2efd49 wallDist: now a MeshObject cached and updated automatically with a run-time selected algorithm
When using models which require the wallDist e.g. kOmegaSST it will
request the method to be used from the wallDist sub-dictionary in
fvSchemes e.g.

wallDist
{
    method meshWave;
}

specifies the mesh-wave method as hard-coded in previous OpenFOAM versions.
2015-01-08 10:40:23 +00:00
2028973e19 MeshObject: Improved diagnostics 2015-01-08 10:38:25 +00:00
28aa1141e9 wrmdep: Replacement for rmdepall
Remove all .dep files from the object directory tree corresponding to the
current source derectory or remove only the .dep files referring to the
optionally specified [file].
2015-01-08 10:36:37 +00:00