Commit Graph

1492 Commits

Author SHA1 Message Date
Henry
fe8c5ff636 Applications: use pimpleControl.dict() and simpleControl.dict() instead of looking-up the sub-dict 2015-02-09 22:15:26 +00:00
Henry
66cb99e696 Updated headers to ensure the class name declared to Doxygen is in the appropriate namespace
Also moved global classes which should be in the Foam namespace into it.
2015-02-09 14:43:11 +00:00
Henry
5c77a34f5a twoPhaseEulerFoam: Corrected EoH2
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1505
2015-02-02 09:44:18 +00:00
Henry
5252c800eb twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE: Added fvOptions support
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1402
2015-01-22 10:59:45 +00:00
Henry
9a40fb787e multiphase solvers: print phase-name rather than alpha1/2 when printing max and min phase-fraction 2015-01-21 20:07:15 +00:00
Henry
2aec249647 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
Henry
0da35af2f4 Update headers 2015-01-12 12:34:38 +00:00
Henry
ff29093117 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
Henry
a92a04f18d Updated options files for new location of radiation lnInclude directory 2015-01-11 22:27:36 +00:00
Henry
f524fa1e9f Updated header 2015-01-08 16:25:48 +00:00
Henry
0f0672563b twoPhaseEulerFoam: removed unnecessary fvc.H 2015-01-08 16:25:17 +00:00
Henry
c4804e5a0b 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
Henry
69ff8aa4d2 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
Henry
7c83877181 Updated headers 2015-01-06 17:32:02 +00:00
Henry
4fbf622008 wallDist: separate the meshWaveWallDist from the wallDist interface
In preparation for run-time selectable methods
2015-01-06 17:31:02 +00:00
Henry
e369cd1f24 twoPhaseEulerFoam/interfacialModels/turbulentDispersionModels: Added Fprime function
to support improved discretisation in pEqn and implicit treatment in the phase-fraction equation
2014-12-22 20:11:04 +00:00
Henry
ae26793c91 Added general kOmegaSST and kOmegaSSTSato for multiphase flow
Provided by Juho Peltola
2014-12-19 21:33:38 +00:00
Henry
aceb69149e Reformat references 2014-12-19 21:33:16 +00:00
Henry
fa562216ab Corrected for SP compilation 2014-12-19 17:03:30 +00:00
Henry
090768c0b3 Reformatted references 2014-12-19 11:55:16 +00:00
Henry
b45c39b976 Included new files 2014-12-19 11:54:57 +00:00
Henry
fde846b82e Removed spurious additional phase-fraction factor 2014-12-19 11:54:23 +00:00
Henry
a6780117e4 Added LopezDeBertodano turbulentDispersionModel 2014-12-19 11:53:36 +00:00
Henry
c84400b358 Added IshiiZuber drag model 2014-12-19 11:53:17 +00:00
Henry
95dcfa46aa Move gcc-specific options to the appropriate wmake rules files 2014-12-15 22:39:21 +00:00
Henry
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
Henry
703a7a1fac Updated copyright following transfer from OpenCFD 2014-12-10 12:41:41 +00:00
andy
ade2801158 ENH: chtMultiRegionFoam solvers - added option to calculate using frozen flow 2014-10-16 10:20:19 +01:00
Henry
fd5a14decb driftFluxFoam: separate advection and diffusion for predictor-corrector MULES to reduce operator-splitting error 2014-10-13 21:12:51 +01:00
sergio
cb8b410bf3 BUG: mantis 1397. volSymmTensorField not found for cht problems with two coupled solids 2014-09-15 17:19:57 +01:00
Henry
5c4fdfce99 twoPhaseEulerFoam: Improve stability in the limit alpha -> 0 2014-08-20 11:59:53 +01:00
william
4b30be42ff BUG: mantis #1365: switched to using wall reflection to calculate wall normals, and added caching of the wall values 2014-08-14 12:45:57 +01:00
william
1417d523da BUG: mantis #1362: wrong sign in turbulent dispersion models 2014-07-30 12:59:35 +01:00
Henry
27bce3b0a1 sonicFoam family: updated 2014-07-29 15:17:50 +01:00
Henry
0fd28ff8fc compressibleInterFoam: Add min(T) diagnostics 2014-07-24 18:01:22 +01:00
Henry
382574378f rhoPimpleDyMFoam: Update correctPhi for morphing meshes 2014-06-19 15:19:13 +01:00
william
243b3053d0 BUG: Mantis 1325: laplacian name in kinetic theory model incorrectly formatted 2014-06-11 11:31:12 +01:00
william
eb0d91bc96 BUG: Mantis 1325: Johnson Jackson BCs evaluating before dependent sub model data is created 2014-06-11 11:22:33 +01:00
william
5d11952429 BUG: twoPhaseEulerFoam: bug fixes and bounding improvements to interfacal models 2014-06-05 16:08:39 +01:00
Henry
a8f4c2f25e interPhaseChangeFoam: Do not correct phi at start of run
During restart correct phi would need the dilatation from the previous time-step.
Alternative is to run potentialFoam on 0 fields to initialise phi.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1299
2014-05-20 16:15:07 +01:00
Henry
b602e83da5 rhoPimpleDyMFoam/pEqn: Filter use of meshPhi 2014-05-18 21:31:44 +01:00
Henry
e4cecfcdb5 rhoPimpleDyMFoam/correctPhi.H: Add compressibility term in pcorr equation 2014-05-18 21:19:26 +01:00
Henry
99d47d85a8 twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE: Correct coefficient on dilatation term
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1291
2014-05-16 13:15:11 +01:00
Henry
49c5519be8 multiphaseInterFoam: cache the mixture kinematic viscosity for use in fvOptions etc. 2014-05-13 10:34:33 +01:00
Henry
7026e6a6a6 rhoPorousSimpleFoam: remove optional constraints on pEqn as this would violate continuity 2014-05-08 11:55:55 +01:00
Henry
24679abcc5 twoPhaseEulerFoam: Add fvOptions support and tutorial 2014-05-08 11:45:50 +01:00
Henry
f609ccd76f fvOptions: Rationalise the rhoEqn.H so that all compressible solvers support mass-sources correctly 2014-05-01 16:11:03 +01:00
Henry
e4bb5fa666 potentialFreeSurfaceDyMFoam: New DyM version of potentialFreeSurfaceFoam
with tutorial
2014-04-30 16:08:03 +01:00
Henry
d6b3f44adb driftFluxFoam/relativeVelocityModels: added access to mixture 2014-04-30 14:49:38 +01:00
Henry
85da9e6a54 twoPhaseEulerFoam: Now in fully-conservative form 2014-04-29 15:47:39 +01:00