Commit Graph

16766 Commits

Author SHA1 Message Date
8997003857 BUG: localPointRegion: faces are duplicate only if sizes equal 2015-12-08 10:36:32 +00:00
4ba032b2be ENH: Adding diffusionMulticomponent combustion model.
Adding optional files to smallPoolFire2D to run using this model.
Taking out of the compilation of FSD combustion. It needs futher work to run using the new turbulent framework
2015-12-07 17:02:18 -08:00
3f55f752fc GIT: Resolve conflict with upstream merge from Foundation 2015-12-07 17:07:20 +00:00
591c5b602c ENH: decomposeParDict: default value is system/decomposeParDict 2015-12-07 16:04:17 +00:00
34ecb74654 Merge branch 'feature-FO_execute_on_end' into 'develop'
ENH: functionObjects: call execute on last time step

- old convention was that on last time step it would only call end()
and not execute()
- however this meant that e.g. the functionObjectProperties file
did not get written
- and almost all functionObjects were doing an execute() inside of end()
- new convention: call execute() on last time step, just before doing end()

See merge request !24
2015-12-07 15:26:51 +00:00
9298d68ad3 BUG: objectRegistry: do not clear event number on dependent objects
This was causing same event number on both U and grad(U) which meant
that if one of the processors had different event number the trigger
of gradient caching would not be synchronised. Now instead the overflow
is detected in the regIOobject::upToDate function and handled consistently
(by assuming that the events of object will never differ by more than
labelMax/2)
2015-12-07 11:00:42 +00:00
b594d73c65 ENH: Solvers - updated group documentation 2015-12-03 22:05:55 +00:00
3e5da0bcf2 ENH: functionObjects: call execute on last time step
- old convention was that on last time step it would only call end()
and not execute()
- however this meant that e.g. the functionObjectProperties file
did not get written
- and almost all functionObjects were doing an execute() inside of end()
- new convention: call execute() on last time step, just before doing end()
2015-12-03 17:39:34 +00:00
7e28de25e6 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop
Conflicts:
	src/OpenFOAM/db/regIOobject/regIOobject.C
2015-12-03 10:32:14 +00:00
a1f25b8746 BUG: regIOobject: handle overflow correctly 2015-12-02 15:54:02 +00:00
f42163fd84 BUG: regIOobject: handle overflow correctly 2015-12-02 15:54:02 +00:00
b8a5dcc5f7 ENH: Updated lagrangian libraries from internal development line 2015-12-02 12:22:47 +00:00
80f4227d40 ENH: Updated regionModels from internal development line 2015-12-02 12:21:50 +00:00
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
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
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
73dac8c7ee ENH: Updating utilities based on internal development line 2015-12-02 10:17:28 +00:00
eaf5030600 ENH: applyBoundaryLayer - determine compressibility automatically by the presence of a thermophysicalProperties file 2015-12-02 10:16:22 +00:00
d1c2060d9f Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-02 09:15:21 +00:00
92a85ac9d6 COMP: pressurePIDControlInletVelocity: moved templated functions to Templates.C 2015-12-02 09:14:54 +00:00
e35afa35bf ENH: tabulatedNTUHeatTransfer fvOption - updated header documentation and minor code clean-up 2015-12-02 09:00:08 +00:00
3c9deb1080 STYLE: Corrected error messages 2015-12-02 08:58:50 +00:00
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
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
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
ba2f46f12a applications: Added fvOptions library to link 2015-12-01 16:09:19 +00:00
f0c5d3380d Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-12-01 15:44:15 +00:00
c02a29411e ENH: fluxSummary: move region count to debug scope 2015-12-01 15:43:29 +00:00
bd737621a0 ENH: fluxSummary function object - added faceZone area output on construction 2015-12-01 15:34:25 +00:00
7fe531bde5 ENH: OutputFilter function object updates from internal development line 2015-12-01 15:22:13 +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
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
fceb4e9b31 GIT: resolved conflict 2015-12-01 10:33:59 +00:00
7ebfbecd74 Turbulence - updated Spalart-Allmaras IDDES to be consistent with reference 2015-12-01 10:26:23 +00:00
3dfe844d9a applications/solvers: Added call to validate the turbulence model after construction
See also commit 52d83407f3
2015-12-01 10:25:38 +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
90afa6ddb5 adjointShapeOptimizationFoam: Added support for fvOptions 2015-12-01 10:05:44 +00:00
d7c56992e3 boundaryFoam: Added support for fvOptions 2015-12-01 10:05:22 +00:00
8995550787 PDRFoam: Added support for fvOptions 2015-12-01 10:04:56 +00:00
184a95a96a ENH: Turbulence models - header documentation updates 2015-12-01 09:54:47 +00:00
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
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
5e3f430526 ENH: Turbulence modeul updates 2015-11-30 17:51:23 +00:00
ea62de36dc ENH: Turbulence model updates 2015-11-30 17:51:23 +00:00
d047107489 chtMultiRegionFoam, chtMultiRegionSimpleFoam, buoyantPimpleFoam, buoyantSimpleFoam: Added support for hRef 2015-11-30 16:29:10 +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
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
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
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