Commit Graph

153 Commits

Author SHA1 Message Date
ecdfe31f2d ENH: Added new DESModelRegions function object from internal dev line
Object generates an indicator field for DES turbulence models to show
in which regions LES or RAS modelling is active.
2015-11-27 15:30:26 +00:00
3e7375e061 STYLE: Updated header doc to keep Doxygen happy 2015-11-26 10:20:35 +00:00
6cd823494e GIT: Resolve comflict on pull from remote 2015-11-26 09:26:02 +00:00
c383d05686 STYLE: Updated header doc to keep Doxygen happy 2015-11-26 09:24:15 +00:00
6838df9cd2 ENH: Multiple updates to function objects
Updated objects
- corrected Peclet number for compressible cases
- propagated log flag and resultName across objects

New function objects
- new fluxSummary:
  - calculates positive, negative, absolute and net flux across face
    zones
- new runTimeControl
  - abort the calculation when a user-defined metric is achieved.
    Available options include:
    - average value remains unchanged wrt a given threshold
    - equation initial residual exceeds a threshold - useful to abort
      diverging cases
    - equation max iterations exceeds a threshold - useful to abort
      diverging cases
    - min/max of a function object value
    - min time step exceeds a threshold - useful to abort diverging
      cases
- new valueAverage:
  - average singular values from other function objects, e.g. Cd, Cl and
    Cm from the forceCoeffs function object
2015-11-25 17:19:06 +00:00
564598452f ENH: pressureTools FO - updated header documentation 2015-10-12 17:06:41 +01:00
d4a2ac2159 STYLE: Updated copyright notices 2015-10-06 14:32:46 +01:00
4f4fc3fab5 ENH: yPlus FO updated follwing changes to functionObjectFile
Also
- added documentation to header
- added 'resultName' to enable user to specify alternative name for
  output field
2015-10-06 12:19:20 +01:00
b3cea1beab ENH: fieldMinMax FO updated follwing changes to functionObjectFile
Also added 'resultName' to enable user to specify alternative name for
output field
2015-10-06 12:16:22 +01:00
9b49b7bfa8 ENH: residuals FO updated follwing changes to functionObjectFile and minor code formatting 2015-10-06 12:14:28 +01:00
4f9e48bfc5 BUG: scalarTransport: have regIOobject member data
functionObjects only get detroyed when the runTime gets destroyed. So the
mesh is already destroyed and we cannot hold e.g. a volScalarField since
that will try to 'checkOut' from the objectRegistry(=mesh) upon destruction.
Note that we only see this in chtMultiRegionFoam.
2015-11-09 15:42:16 +00:00
00e61b9bbb STYLE: turbulenceFields FO - updated header documentation 2015-10-21 11:42:13 +01:00
ebd9f94a4d functionObjects/utilities/turbulenceFields/turbulenceFields: Added k and epsilon
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1870
2015-10-17 15:20:10 +01:00
dd04dd9c2c messageStream: Remove confusing argument-based conditional output
This had been used in functionObjects:

    Info(log)<< "messages" << data << ....

in which it is not at all clear what the "log" argument does whereas

    if (log) Info<< "messages" << data << ....

is totally clear and more efficient.
2015-05-18 11:54:56 +01:00
46a4446587 Function object that writes out the initial residual for specified fields
For vector/tensor fields, e.g. U, the largest residual of all components is written out
2015-05-17 16:48:55 +01:00
b5d3f85bd4 functionObjects: Upgrade to use new turbulence modeling library 2015-05-17 14:56:40 +01:00
db524d94df codedFunctionObject: Add meshTools library to include and link line 2015-04-25 21:57:40 +01:00
1845e2014d DSMC: Rationalization and addition of mapping support 2015-02-20 17:24:14 +00:00
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00: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
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
06f1b49d25 BUG: turbulenceFields function object - removed execute from read
ENH: turbulenceFields function object - Updated usage documentation
2014-08-06 10:47:59 +01:00
04effdf52d ENH: Added new vorticity function object 2014-04-22 12:40:24 +01:00
02e20513d9 BUG: function objects - updated writeFileHeader for some objects - mantis #1193 2014-02-26 13:47:33 +00:00
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
6656daf4a2 yPlusLES: Corrected conversion of dynamic to kinematic viscosity 2014-02-01 22:05:44 +00:00
1084cf8363 Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-30 15:10:46 +00:00
1c0996478d ENH: pressureTools - added check if reference pressure level is zero for coeff calculation 2014-01-30 14:50:06 +00:00
d648760ead Update headers 2014-01-30 13:02:02 +00:00
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
b07bf72e29 ENH: function objects - move turbulenceFields into utilities 2014-01-03 10:56:14 +00:00
659249064f ENH: Function object updates 2014-01-03 10:37:08 +00:00
6af4a60a53 ENH: scalarTransport: old files in header 2013-12-20 15:57:10 +00:00
2d1ed06aab ENH: Updated Make/files for utility function objects 2013-12-12 12:57:56 +00:00
9437175bb8 STYLE: Updated code comments 2013-12-12 12:42:02 +00:00
f1d7acffdd ENH: Added new blendingFactor FO to output blending factor used by blended convection schemes 2013-12-12 12:40:59 +00:00
ef0a8e50f9 functionObjects: Corrected typos and various errors in new classes 2013-11-29 17:17:27 +00:00
5126a6a49a ENH: Function object updates 2013-11-29 09:25:09 +00:00
636215a0ea ENH: functionObjects - updated writing to file 2013-11-25 10:52:20 +00:00
d8d17a0476 ENH: setTimeStep: new functionObject 2013-11-20 10:36:22 +00:00
837ca32397 ENH: function obejct updates 2013-10-04 16:44:58 +01:00
4c4fb677ce ENH: yPLusRAS function object - store result on mesh database 2013-09-19 15:16:37 +01:00
0b2b703760 ENH: yPlusLES function object - store result on mesh database 2013-09-19 15:16:07 +01:00
500315b17b ENH: wallShearStress function object - store result on mesh database 2013-09-19 15:15:53 +01:00
ec66f480c7 ENH: DESModelRegions function object - store result on mesh database 2013-09-19 15:15:34 +01:00
98cc307aec ENH: Function objects - notify when writing results 2013-08-14 11:10:27 +01:00
4f7d70efc6 ENH: pressureTools - updated so that (reference) pressure field not necessary on construction 2013-07-23 14:03:55 +01:00
a6f17edeeb BUG: Corrected transportModel handling in Peclet function object 2013-07-19 12:00:18 +01:00
1aefea9df7 BUG: codedFunctionObject: add timeSet functionality 2013-06-10 11:18:17 +01:00
6f40272339 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-06-07 10:11:37 +01:00