Commit graph

27 commits

Author SHA1 Message Date
Henry
cb6f22edcf thermophysicalModels/specie: Added entropy function to equations of state
Added the pressure dependent part of the entropy from the equation of
state to that returned by the thermo entropy function.

TODO: Add entropy defect to the PengRobinsonGas::s(p, T) function.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1411
2015-03-07 21:47:04 +00:00
Henry
b44d2ba049 lagrangian: Rationalized the handling of multi-component liquids and solids
Ensures consistency between the mixture thermodynamics and composition specifications for the parcels.
Simpler more efficient implementation.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1395
as well as other consistency issues not yet reported.
2015-03-05 11:35:49 +00:00
Henry
e01696bfb5 liquidMixtureProperties: Improve comments 2015-02-25 10:55:33 +00:00
Henry
99965b01c4 constTransport: Handle the case of nMoles = 0 in += and -= operators
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1348
2015-02-25 10:54:50 +00:00
Henry
d5970175a5 heThermo: Correct kappaEff 2015-02-23 18:57:57 +00:00
Henry
8fa5a2b76a constTransport: Correct kappa 2015-02-23 18:57:33 +00:00
Henry
4db6925cee Thermodyamics: Add support for multiphase
Pass the phase-name through hierarchy
Add phase-name to variables
Split basicCombustionMixture
Update applications accordingly
2015-02-18 21:21:22 +00:00
Henry
76c7f68ac1 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
Henry
885125e333 atomicWeights: Put in ascending order 2015-02-14 17:11:23 +00:00
Henry
7dfad7a74f atomicWeights: Put in ascending order 2015-02-14 17:09:29 +00:00
Henry
f58fd14271 Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
f17071cf70 constTransport: Avoid /0 in + and - operators averaging 1/Pr when the number of moles = 0
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1348
2015-02-13 12:41:34 +00:00
Henry
53a2a040c2 Update headers 2015-02-12 15:10:29 +00:00
Henry
c539718f40 thermophysicalModels: Don't register derived fields such as Cp to avoid name conflicts in the objectRegistry 2015-02-12 15:08:57 +00:00
Henry
87de4f028c Avoid registration of variables which may generate name conflicts 2015-02-12 13:24:51 +00:00
Henry
ca026b5dc7 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
2c25b8db52 Add support for reading and updating the debug switches of templated
classes in the DebugSwitches sub-dictionary of system/controlDict
2015-02-04 22:08:27 +00:00
Henry
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
Henry
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
Henry
8e5b23ece7 Updated headers 2015-01-11 22:17:00 +00:00
Henry
1f3679fe0e thermophysicalModels/radiationModels -> thermophysicalModels/radiation 2015-01-11 22:16:14 +00:00
Henry
5f6e909f72 viewFactor: moved some of the "noise" to print only on debug 2014-12-29 11:11:43 +00:00
Henry
cc088b65ed fvDOM: check mesh is on x-y plane for 2D cases and in x-direction for 1D cases 2014-12-18 11:37:35 +00:00
Henry
8027be5be7 Corrected description 2014-12-17 14:10:43 +00:00
Henry
3dd3e6157c Resolve issues relating to compilation with clang-3.5.0 2014-12-15 22:38:10 +00:00
Henry
bc5134a55e New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
Henry
446e5777f0 Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00