Commit Graph

70 Commits

Author SHA1 Message Date
0fb6a01280 fluxRequired: Added setFluxRequired function to fvSchemes class
Added calls to setFluxRequired for p, p_rgh etc. in all solvers which
avoids the need to add fluxRequired entries in fvSchemes dictionaries.
2015-07-15 21:57:16 +01:00
50ada7c994 blockMesh: Change default location of blockMeshDict from constant/polyMesh to system
For multi-region cases the default location of blockMeshDict is now system/<region name>

If the blockMeshDict is not found in system then the constant directory
is also checked providing backward-compatibility
2015-04-24 22:29:57 +01:00
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
41368addc9 Minor change to comment 2014-12-14 21:50:14 +00:00
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
bd5e4cf172 Default transport solver: change from PBiCG to smoothSolver with symGaussSeidel smoother
Better for most but not all cases.
2014-02-04 16:27:35 +00:00
51f085faa5 Rewrite of ddtPhiCorr - ddtCorr and density-weight HbyA on compressible solvers.
For DyM solvers phiAbs is replaced by Uf but this conversion is currently not complete
2013-09-09 12:41:20 +01:00
c4a65259ad GIT: boundary: remove usued file 2013-08-07 11:27:34 +01:00
48272dc5ab alphatWallFunctions: add "compressible::" qualifier to compressible alphat wall-functions 2013-04-10 17:04:49 +01:00
db89978ade Updated headers for Laurence and Andy 2012-12-17 11:42:00 +00:00
26b17afe44 ENH: Tutorial updates 2012-12-06 10:28:19 +00:00
d55ca09465 ENH: Tutorial update 2012-12-06 10:13:14 +00:00
acbbaf3f4d tutorials: Updated "limited" snGrad schemes 2012-12-05 14:58:42 +00:00
182f660634 ENH: Updates to tutorial Allrun scripts 2012-10-26 10:27:30 +01:00
657863b007 sonicFoam: Update tutorials 2012-10-12 11:16:25 +01:00
6119938615 sonicFoam shockTube tutorial: updated for new Eeqn 2012-10-11 18:11:50 +01:00
9bf80af379 Thermodynamics: Update selection mechanism for reaction and chemistry thermodynamics 2012-09-30 21:27:18 +01:00
5e59b510e6 Thermodynamics: Updated tutorials to use the new dictionary based thermo package selection mechanism 2012-09-27 16:49:45 +01:00
ef8b6810f2 Thermodynamics: add specie type as argument to the "makeThermo" macros
Added "8" as the default Order of polynomial thermodynamic functions
2012-09-25 18:09:05 +01:00
f1bfeba127 Thermodynamics: rename specieThermo -> species::thermo and create the species namespace
Also remove the "<thermo" part of the names of thermodynamics packages
2012-09-24 15:37:36 +01:00
dbe48b482c Thermodynamics: Changed all eEqn to EEqn and reformulated to conserve E in sonic solvers
To support these changes the need for "Sp" corrections on div-terms has been
eliminated by introducing a "bounded" convection scheme which subtracts the Sp
term from the selected scheme.  The equivalent will be needed for the ddt term.

A warning message is generated for steady-state solvers in which the "bounded"
scheme is not selected for the convection terms.
2012-09-19 12:49:07 +01:00
8609c83645 Thermodynamics: Initialized dpdt to 0 and added a switch on update
so that the effect of the term on the enthalpy equation is optional
2012-09-13 11:25:55 +01:00
7eef5af786 sonicFoam: change internal energy equation formulation to conserve total energy 2012-09-12 15:36:39 +01:00
df152c1ca4 sonicFoam/ras/prism/constant/thermophysicalProperties: Corrected choice of thermodynamics 2012-07-24 16:42:29 +01:00
5cb555db9e Tutorials: Corrected selection of thermodynamics packages 2012-07-24 15:36:51 +01:00
63da3e9afc Thermodynamics: Rationalization
At the specie level:
    hs = sensible enthalpy
    ha = absolute (what was total) enthalpy
    es = sensibly internal energy
    ea = absolute (what was total) internal energy

At top-level
    Rename total enthalpy h -> ha
    Rename sensible enthalpy hs -> h

Combined h, hs, e and es thermo packages into a single structure.

Thermo packages now provide "he" function which may return either enthalpy or
internal energy, sensible or absolute according to the run-time selected form

alphaEff now returns the effective diffusivity for the particular energy which
the thermodynamics package is selected to solve for.
2012-05-30 15:19:38 +01:00
b55941c07f compressible solvers: Name pressure diffusivity Dp 2012-05-03 14:15:15 +01:00
2dc13eb942 ENH: tutorialse: use orthogonal scheme on orthogonal meshes 2011-12-16 15:30:58 +00:00
dc810ea88d Thermodynamics: Completed most of the conversion of the enthalpy source 2011-11-23 16:56:13 +00:00
4f40cdb7d7 GIT: Resolve conflict 2011-08-16 16:09:56 +01:00
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
c720299876 ENH: Reverted back to version dev 2011-06-17 10:08:20 +01:00
29c485361a STYLE: renamed version 2.0 -> 2.0.0 2011-06-08 16:31:07 +01:00
d2d91bb84f STYLE: Updated tutorial headers to version 2.0 2011-06-07 11:18:46 +01:00
57f6a904ec ENH: Updated tutorial thermo files 2011-05-27 17:33:41 +01:00
b6f8897268 tutorials: Upgraded all of the blockMeshDict files to the new format
Upgraded other files as necessary for consistency with the blockMeshDict, in
particular cases with cyclic patches.
2011-05-26 12:43:16 +01:00
a302f0637f shockTube tutorial: removed spurious surface specification in sampleDict 2011-03-17 15:15:05 +00:00
b6cd0b135f Resolved confict 2011-03-17 15:07:06 +00:00
80393339a9 Upgrade of compressible solvers merging in developments from OpenFOAM-1.7.x 2011-03-17 15:03:15 +00:00
58e2a245df ENH: Updates to sample dictionaries 2011-03-17 10:55:57 +00:00
6ffbe0553c ENH: Updated tutorial fvSchemes for transpose operator 2011-01-18 15:24:30 +00:00
6091cdb0a5 BUG: incorrect log-check in runParallel (RunFunctions)
STYLE: minor rewording, drop grep/sed in favour of sed only
2011-01-02 18:42:26 +01:00
8962878a1c STYLE: Updated tutorial foam headers back to dev (from dev.localBranchName) 2010-10-18 13:13:21 +01:00
1970573609 STYLE: Misc coding cosmetics 2010-10-13 18:20:14 +01:00
265ed0f033 ENH: Updated tutorial thermo props 2010-10-12 14:15:11 +01:00
ccfb6e32a6 Corrected headers. 2010-06-23 16:54:54 +01:00
895a077cb1 STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +02:00
4437361674 thermodynamicProperties: Added comment to explain the "normalisedGas" used. 2010-04-19 12:05:25 +01:00
3fef72510e STYLE: use switch value for 'writeCompression' in controlDict's
- simpler/clearer to use "on/off" instead of "compressed/uncompressed"
2010-04-09 13:12:35 +02:00