Commit Graph

31 Commits

Author SHA1 Message Date
a661bf281e BUG: Function objects - added missing Make entry for residuals function object - fixes #94 2016-04-21 15:07:41 +01:00
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
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
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
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
04effdf52d ENH: Added new vorticity function object 2014-04-22 12:40:24 +01:00
b07bf72e29 ENH: function objects - move turbulenceFields into utilities 2014-01-03 10:56:14 +00:00
2d1ed06aab ENH: Updated Make/files for utility function objects 2013-12-12 12:57:56 +00:00
d8d17a0476 ENH: setTimeStep: new functionObject 2013-11-20 10:36:22 +00:00
e002f91a01 ENH: Added new Q function object 2012-11-28 11:33:31 +00:00
04d80067b7 ENH: Added new Peclet function object 2012-11-28 11:27:14 +00:00
81b79ba291 ENH: Added new Lambda2 function object 2012-11-28 10:50:12 +00:00
10bd19fb42 ENH: Added new DESModelRegions function object to identify DES calc RAS/LES regions 2012-09-26 16:39:05 +01:00
06d5c21232 ENH: Added new scalarTransport function object 2012-09-25 18:20:55 +01:00
711877b161 ENH: Removed staticPressure and pressureCoefficient function objects - replaced by pressureTools 2012-09-24 15:07:41 +01:00
3644f064af ENH: Added new pressureTools function object 2012-09-24 15:06:45 +01:00
da51ab1062 Initial check-in of CourantNo function object 2012-09-20 10:16:14 +01:00
21656d3347 ENH: Initial check-in of wallShearStress function object 2012-09-19 16:37:15 +01:00
ce7a93a847 ENH: Added new yPlusLES function object 2012-03-20 13:25:12 +00:00
656d921b2c ENH: Added new yPlusRAS function object 2012-03-20 12:42:48 +00:00
ac208dab40 ENH: Added new pressureCoefficient function object 2012-03-09 09:27:19 +00:00
e24dd4fe2a ENH: codedFunctionObject: initial version. 2011-03-22 22:16:48 +00:00
e8cfd92f9d ENH: move residualControl and abortCalculation into common jobControl lib 2010-04-09 17:55:37 +02:00
9157364a4b Merge commit 'OpenCFD/master' into olesenm 2009-11-25 12:29:31 +01:00
d6a5a3299e new function object: timeActivatedFileUpdate 2009-11-23 17:18:24 +00:00
3d9c822022 Added abortCalculation function object, exposed Time::stopAtControls
- still needs fine-tuning (testing) to see if it reacts as anticipated under
  various conditions.
2009-11-06 17:18:32 +01:00
e5dd634327 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-13 16:43:36 +00:00
e49d70a85a Created new functionObject for dsmcFields, renamed post processing utility dsmcFields to dsmcFieldsCalc and calling function object from there. 2009-03-09 19:29:08 +00:00
6b3e3c6597 dynamicPressure -> staticPressure 2009-02-24 16:47:24 +00:00
03c7baf787 adding kinematic->dynamic pressure function object 2009-01-14 11:58:03 +00:00