Commit Graph

194 Commits

Author SHA1 Message Date
5bc78be793 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-01-08 12:37:45 +00:00
89ac7ff40b ENH: Doxygen updates 2016-01-08 12:37:24 +00:00
bece8ad2cb BUG: LESDelta: parallel inconsistent
Internal values get set but never swapped on processor boundaries. Fixes #49.
2016-01-05 15:26:46 +00:00
caf13291e8 ENH: DEShydrid scheme - added usage notes to header 2015-12-22 22:08:38 +00:00
cfe2d32c77 ENH: Minor code clean-up 2015-12-22 22:04:02 +00:00
72be4b372d CONTRIBUTION: Turbulence - updated SpalartAlmaras & kOmegaSST DES, DDES and IDDES
Code supplied by CFD Software E+F GmbH
2015-12-19 12:14:22 +00:00
df79844443 ENH: Adding kMin to k in dTilda function as dTilda can not be zero in case k = 0 2015-12-15 15:41:01 -08:00
8a8453079c ENH: realizableKE and v2f use laminar nu is functions which don't allow nu < 0.
If the solver use psiThermo rho = p*psi. If p < 0 then rho < 0 and
     consequently nu < 0. This happens for steady solvers such as rhoSimpleFoam.
     Adding limiters to laminar nu.
2015-12-15 15:01:38 -08:00
1b94025a64 BUG: adding limiter for KK to dynamicKEqn. Fixing access to tmp of nuEff. 2015-12-14 15:05:44 -08:00
b2b794d853 BUG: Removing unused phi in dynamicLagrangian.C 2015-12-14 09:21:47 -08:00
06a1ff719c dynamicLagragian implemetation from dev. Adding phase support. 2015-12-11 10:26:31 -08:00
eafd5a3850 ENH: Updated Info, Warning and Error messages 2015-12-08 11:15:39 +00:00
3f55f752fc GIT: Resolve conflict with upstream merge from Foundation 2015-12-07 17:07:20 +00:00
736621b945 fvOptions: Reorganized and updated to simplify use in sub-models and maintenance
fvOptions are transferred to the database on construction using
fv::options::New which returns a reference.  The same function can be
use for construction and lookup so that fvOptions are now entirely
demand-driven.

The abstract base-classes for fvOptions now reside in the finiteVolume
library simplifying compilation and linkage.  The concrete
implementations of fvOptions are still in the single monolithic
fvOptions library but in the future this will be separated into smaller
libraries based on application area which may be linked at run-time in
the same manner as functionObjects.
2015-12-02 11:49:52 +00:00
2c055f2b39 porousBafflePressureFvPatchField: Corrected handling of mass-flux
Resolves the bug-report http://www.openfoam.org/mantisbt/view.php?id=1934
2015-12-01 16:31:32 +00:00
8e5f7e0889 fvOptions: wmakeLnInclude before building the TurbulenceModels libraries
Do not link the fvOptions library into the TurbulenceModels libraries
due to cyclic dependency
2015-12-01 13:10:51 +00:00
7ebfbecd74 Turbulence - updated Spalart-Allmaras IDDES to be consistent with reference 2015-12-01 10:26:23 +00:00
52d83407f3 TurbulenceModels: Added validate function
Moved correctNut call from constructors to the new validate function to
avoid problems with construction order and field availability for the
calculation of nut.

To ensure nut is physical and consistent with the turbulence fields the
validate function should be called after the construction of the
turbulence model, fvOptions and any other fields that the calculation of
nut might depend on.
2015-12-01 10:07:00 +00:00
184a95a96a ENH: Turbulence models - header documentation updates 2015-12-01 09:54:47 +00:00
ea62de36dc ENH: Turbulence model updates 2015-11-30 17:51:23 +00:00
43f91a1415 CONTRIBUTION: Turbulence - new kOmegaSST DES, DDES and IDDES model variants
- Initial code supplied by CFD Software E+F GmbH
- Refactored and integrated into the new templated Turbulence structure
  by OpenCFD

References:

- kOmegaSSTDES model:
  Strelets, M. (2001)
  Detached Eddy Simulation of Massively Separated Flows,
  39th AIAA Aerospace Sciences Meeting and Exhibit, Reno, NV

- kOmegaSSTDDES model:
  Gritskevich, M.S., Garbaruk, A.V., Schuetze, J., Menter, F.R. (2011)
  Development of DDES and IDDES  Formulations for the k-omega
  Shear Stress Transport Model, Flow, Turbulence and Combustion,
  pp. 1-19

- kOmegaSSTIDDES model:
  Gritskevich, M.S., Garbaruk, A.V., Schuetze, J., Menter, F.R. (2011)
  Development of DDES and IDDES Formulations for the k-omega
  Shear Stress Transport Model, Flow, Turbulence and Combustion,
  pp. 1-19
2015-11-30 16:18:17 +00:00
3e783accd2 ENH: Turbulence - refactored kOmegaSST models to enable easier addition of derived types 2015-11-30 16:17:21 +00:00
981b6303a4 ENH: Spalart-Allmaras DES, DDES and IDDES model updates
Included option to use the low Reynolds number correction, with a
default value of 'on'.  Further details can be found in the reference:

    Spalart, P. R., Deck, S., Shur, M.L., Squires, K.D., Strelets, M.Kh,
    Travin, A. (2006).
    A new version of detached-eddy simulation, resistant to ambiguous grid
    densities.
    Theor. Comput. Fluid Dyn., 20, 181-195.

Set using the entry:

    lowReCorrection on; // off
2015-11-30 12:48:20 +00:00
c56c12e277 nutWallFunctionFvPatchScalarField: Added documentation for default coefficients
Patch provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1930
2015-11-29 21:27:26 +00:00
c0ddac32ae turbulenceModels/RAS/kEpsilon/kEpsilon: Added experimental support for fvOptions 2015-11-28 19:07:42 +00:00
2dbf835485 reactingTwoPhaseEulerFoam: Added thermal wall-functions with support for wall-boiling
Code and tutorial case provided by Juho Peltola
2015-11-27 18:51:23 +00:00
9a281d78b6 ENH: Turbulence - added DES turbulence group documentation 2015-11-27 16:30:48 +00:00
cf240d79fb CONTRIBUTION: Turbulence DES convection scheme
- Initial code supplied by CFD Software E+F GmbH
- Refactored and integrated into the new templated Turbulence structure by
  OpenCFD
- To use the new convection scheme, add the library
  libturbulenceModelSchemes.so to the $FOAM_CASE controlDict
2015-11-27 15:35:21 +00:00
dc40eb98d2 ENH: Updated head documentation 2015-11-27 15:11:05 +00:00
04e39e1eab ENH: porousBafflePressure boundary condition - change D and I to DataEntry types 2015-11-27 15:10:40 +00:00
61ce372bff ENH: kOmegaSSTSAS - enable printCoeffs to output model coefficients on construction 2015-11-27 15:09:41 +00:00
9857a94b98 ENH: Turbulence externalWallHeatFluxTempertaure - updated output messages 2015-11-27 15:08:47 +00:00
b4ab6141b2 ENH: Turbulence - moved DES models to DES directory
SpalartAllmarasDES now derived from DESModel class
2015-11-27 15:06:39 +00:00
ca460ffba2 ENH: Turbulence - added new DESModel layer for DES models 2015-11-27 15:04:37 +00:00
451342abcb ENH: Corrected spelling typos in headers 2015-11-27 15:03:19 +00:00
bfdecaf46f ENH: Updated turbulence model Doxygen module documentation 2015-11-26 10:19:25 +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
8b79219950 ENH: Updated/clean-up header documentation 2015-11-25 09:05:28 +00:00
d812879fdb TurbulenceModels: updated the mapping of k to R BCs
Now k BCs which do not have a symmTensor equivalent are converted to "calculated"
2015-11-24 22:36:50 +00:00
e516872799 TurbulenceModels: Correct nut during construction for single-phase solvers only.
For multiphase solvers the phase construction is not complete at this point.
2015-11-23 13:49:03 +00:00
1a992064c0 TurbulenceModels: Separate template functions into .C files 2015-11-19 13:48:37 +00:00
d968ee30e1 TurbulenceModels: Improved instantiation of single-phase models in solvers
Simplifies lookup of RAS or LES models
2015-11-18 21:10:03 +00:00
269483f0bf src/combustionModels: Updated LES model lookup 2015-11-16 10:25:42 +00:00
9be1bc411c reactingEulerFoam: Updated phase-change support
Patches provided by Juho Peltola
2015-11-15 16:57:52 +00:00
c4d5f65a10 Completed update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-11 09:03:39 +00:00
0431b8fbe1 ENH: humidityTemperatureCoupledMixed: moved to separate library
This bc was in compressible turbulence library which made it dependent
on liquidProperties. It was moved to a separate library since it is only
used in a single tutorial.
2015-11-09 14:40:21 +00:00
047211b1f7 ENH: Adding humidityTemperatureCoupledMixed BC and directionalPressureGradientExplicitSource and the corresponding tutorial
tutorials/heatTransfer/chtMultiRegionFoam/windshieldCondensation
2015-11-03 14:42:08 -08:00
42fb1b9e8e Updated notImplemented -> NotImplemented
The new NotImplemented macro uses __PRETTY_FUNCTION__ for GNU compatible
compilers otherwise __func__ to provide the function name string.
2015-11-01 10:26:37 +00:00
4e483cc98e Updated docs for Doxygen: '<' -> '\<' and '>' -> '\>' 2015-10-30 21:37:03 +00:00
7fdf0ff095 TurbulenceModels: Corrected docs
Reported in http://www.openfoam.org/mantisbt/view.php?id=1856
2015-10-30 13:28:28 +00:00