Commit Graph

16805 Commits

Author SHA1 Message Date
Andrew Heather
b8a5dcc5f7 ENH: Updated lagrangian libraries from internal development line 2015-12-02 12:22:47 +00:00
Andrew Heather
80f4227d40 ENH: Updated regionModels from internal development line 2015-12-02 12:21:50 +00:00
Mattijs Janssens
f4e38fa67c Merge branch 'feature-utils' into 'develop'
Feature utils

Updated utilities bases on our internal development line

Still to do:
- update ParaView module builds to build alongside standard OpenFOAM code in separate directory

See merge request !21
2015-12-02 12:01:20 +00:00
Henry Weller
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
Henry Weller
ac2a275a75 wallHeatFlux: Corrected sign of radiative heat-flux
Corrects feature-request http://www.openfoam.org/mantisbt/view.php?id=1856
Patch provided by Juho Peltola
2015-12-02 11:47:11 +00:00
Andrew Heather
73dac8c7ee ENH: Updating utilities based on internal development line 2015-12-02 10:17:28 +00:00
Andrew Heather
eaf5030600 ENH: applyBoundaryLayer - determine compressibility automatically by the presence of a thermophysicalProperties file 2015-12-02 10:16:22 +00:00
mattijs
d1c2060d9f Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-02 09:15:21 +00:00
mattijs
92a85ac9d6 COMP: pressurePIDControlInletVelocity: moved templated functions to Templates.C 2015-12-02 09:14:54 +00:00
Andrew Heather
e35afa35bf ENH: tabulatedNTUHeatTransfer fvOption - updated header documentation and minor code clean-up 2015-12-02 09:00:08 +00:00
Andrew Heather
3c9deb1080 STYLE: Corrected error messages 2015-12-02 08:58:50 +00:00
Andrew Heather
5edab1caea CONTRIBUTION: NTU inter-region heat transfer model
- Initial code supplied by CFD+Engineering
- Refactored and integrated into the code by OpenCFD
2015-12-01 16:57:46 +00:00
Henry Weller
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
Henry Weller
6ed6b93c34 radiationModels: Correct handling of ECont and make P1 and fvDOM consistent
Patch provided by Timo Niemi
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=1636

This correction corresponds to option 3 of the options proposed by Timo:

Define both ECont and EDisp to be the total emission per surface area,
apply multiplication by 4 in cloudAbsorptionEmission model (the only
place that uses EDisp?). Do not multiply E in P1 at all, divide both
ECont and EDisp in fvDOM.
2015-12-01 16:20:37 +00:00
Henry Weller
ba2f46f12a applications: Added fvOptions library to link 2015-12-01 16:09:19 +00:00
mattijs
f0c5d3380d Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-01 15:44:15 +00:00
mattijs
c02a29411e ENH: fluxSummary: move region count to debug scope 2015-12-01 15:43:29 +00:00
Andrew Heather
bd737621a0 ENH: fluxSummary function object - added faceZone area output on construction 2015-12-01 15:34:25 +00:00
Andrew Heather
7fe531bde5 ENH: OutputFilter function object updates from internal development line 2015-12-01 15:22:13 +00:00
Henry Weller
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
Mattijs Janssens
f9a02bd412 Merge branch 'feature-turbulence' into 'develop'
Feature turbulence

Integration of new kOmega SST turbulence model variants: DES, DDES, IDDES

Initially supplied by CFD Software E+F GmbH



See merge request !20
2015-12-01 10:45:01 +00:00
Andrew Heather
fceb4e9b31 GIT: resolved conflict 2015-12-01 10:33:59 +00:00
Andrew Heather
7ebfbecd74 Turbulence - updated Spalart-Allmaras IDDES to be consistent with reference 2015-12-01 10:26:23 +00:00
Henry Weller
3dfe844d9a applications/solvers: Added call to validate the turbulence model after construction
See also commit 52d83407f3
2015-12-01 10:25:38 +00:00
Henry Weller
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
Henry Weller
90afa6ddb5 adjointShapeOptimizationFoam: Added support for fvOptions 2015-12-01 10:05:44 +00:00
Henry Weller
d7c56992e3 boundaryFoam: Added support for fvOptions 2015-12-01 10:05:22 +00:00
Henry Weller
8995550787 PDRFoam: Added support for fvOptions 2015-12-01 10:04:56 +00:00
Andrew Heather
184a95a96a ENH: Turbulence models - header documentation updates 2015-12-01 09:54:47 +00:00
Henry Weller
b8ffb82bb8 circleSet: Corrected point ordering
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1932
2015-12-01 09:45:58 +00:00
Andrew Heather
62df6d188d Merge branch 'feature-createZeroDirectory' into 'develop'
ENH: Added new ceeateZeroDirectory utility

Uses a system/caseProperties file to select templates from
etc/caseDicts/createZeroDirectoryTemplates to enable high-level setup
of a case.
See
- etc/caseDicts/createZeroDirectoryTemplates
- tutorials/preProcessing/createZeroDirectory

See merge request !19
2015-11-30 17:53:44 +00:00
Andrew Heather
5e3f430526 ENH: Turbulence modeul updates 2015-11-30 17:51:23 +00:00
Andrew Heather
ea62de36dc ENH: Turbulence model updates 2015-11-30 17:51:23 +00:00
Henry Weller
d047107489 chtMultiRegionFoam, chtMultiRegionSimpleFoam, buoyantPimpleFoam, buoyantSimpleFoam: Added support for hRef 2015-11-30 16:29:10 +00:00
Andrew Heather
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
Andrew Heather
3e783accd2 ENH: Turbulence - refactored kOmegaSST models to enable easier addition of derived types 2015-11-30 16:17:21 +00:00
mattijs
a67be71938 ENH: Added new ceeateZeroDirectory utility
Uses a system/caseProperties file to select templates from
etc/caseDicts/createZeroDirectoryTemplates to enable high-level setup
of a case.
See
- etc/caseDicts/createZeroDirectoryTemplates
- tutorials/preProcessing/createZeroDirectory
2015-11-30 15:52:40 +00:00
mattijs
9d4e09bbd1 BUG: pressurePIDControlInletVelocity: incorporate faceZones on processor boundaries
It was not correctly interpolating faceZones which are on processor boundaries.
This caused difference between serial and parallel running. Fixes #16.
2015-11-30 14:48:50 +00:00
Andrew Heather
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
mattijs
aef2fd5ef4 BUG: scalarTransport: force early creation of transported field
Some bcs (e.g. humidity) use an external transported field so this needs
to be registered asap.
2015-11-30 12:16:05 +00:00
Henry Weller
2c2e8247ef mirrorFvMesh: Corrected parallel operation
Patch provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1494
2015-11-29 21:40:37 +00:00
Henry Weller
402c8710d9 alphatWallBoilingWallFunctionFvPatchScalarField: Updated to compile SP 2015-11-29 21:40:16 +00:00
Henry Weller
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
mattijs
7cb12e208d STYLE: streamLineBase: DOS line endings 2015-11-29 06:17:57 +00:00
Mattijs Janssens
b023e45176 Merge branch 'feature-foamHelp' into 'develop'
ENH: foamHelp - added support for solvers

- Added support for solvers
- Updated use of FOAM_ABORT - old code left commented in helpBoundary.C for now...

See merge request !18
2015-11-29 06:03:39 +00:00
mattijs
25b26ad06e STYLE: helpSolver: DOS file ending 2015-11-29 06:01:56 +00:00
Henry Weller
c0ddac32ae turbulenceModels/RAS/kEpsilon/kEpsilon: Added experimental support for fvOptions 2015-11-28 19:07:42 +00:00
Henry Weller
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
Andrew Heather
d7458bf003 ENH: foamHelp - added support for solvers 2015-11-27 17:45:59 +00:00
Mattijs Janssens
e6daf7825c Merge branch 'feature-turbulence' into 'develop'
Feature turbulence

Turbulence updates from our internal development line:
- Added DESModel base class for DES models
- Moved DES models to separate DES directory
- Added DESModelRegions function object
- Updated porousBafflePressure BC to use DataEntry class for D and I inputs
- Documentation updates

See merge request !17
2015-11-27 16:59:58 +00:00