Commit Graph

16514 Commits

Author SHA1 Message Date
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
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
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
Andrew Heather
184a95a96a ENH: Turbulence models - header documentation updates 2015-12-01 09:54:47 +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
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
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
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
Andrew Heather
9a281d78b6 ENH: Turbulence - added DES turbulence group documentation 2015-11-27 16:30:48 +00:00
mattijs
a020b2c6cd BUG: hexRef8Data: scatter master value
For distributed data + running redistributePar some of the processors
might not have level0Edge. In this case the sync() routine should
fix this but it does require at least the master to have valid data.
2015-11-27 16:25:54 +00:00
Andrew Heather
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
Andrew Heather
43ae91c1f7 ENH: Code clean-up 2015-11-27 15:32:33 +00:00
Andrew Heather
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
Andrew Heather
dc40eb98d2 ENH: Updated head documentation 2015-11-27 15:11:05 +00:00
Andrew Heather
04e39e1eab ENH: porousBafflePressure boundary condition - change D and I to DataEntry types 2015-11-27 15:10:40 +00:00
Andrew Heather
61ce372bff ENH: kOmegaSSTSAS - enable printCoeffs to output model coefficients on construction 2015-11-27 15:09:41 +00:00
Andrew Heather
9857a94b98 ENH: Turbulence externalWallHeatFluxTempertaure - updated output messages 2015-11-27 15:08:47 +00:00
Andrew Heather
b4ab6141b2 ENH: Turbulence - moved DES models to DES directory
SpalartAllmarasDES now derived from DESModel class
2015-11-27 15:06:39 +00:00
Andrew Heather
ca460ffba2 ENH: Turbulence - added new DESModel layer for DES models 2015-11-27 15:04:37 +00:00
Andrew Heather
451342abcb ENH: Corrected spelling typos in headers 2015-11-27 15:03:19 +00:00
mattijs
c0f4f1e68c ENH: applyBoundaryLayer - added option -compressible for application to compressible flows 2015-11-27 14:13:51 +00:00
mattijs
e8d4378425 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-27 14:13:33 +00:00
mattijs
99bdd2c1d7 ENH: signals: refactored to make static methods
The signal handling can now be set and unset. This latter is important
for external libraries (e.g. VTK/OpenGL) that do not work with it.
2015-11-27 12:14:14 +00:00
mattijs
9bec0bc086 ENH: signals: refactored to make static methods
The signal handling can now be set and unset. This latter is important
for external libraries (e.g. VTK/OpenGL) that do not work with it.
2015-11-27 12:14:14 +00:00
Andrew Heather
6cd4387b9f ENH: potentialFoam - added withFunctionObjects option from Foundation version 2015-11-27 09:13:53 +00:00
Andrew Heather
b784c09af1 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-27 08:32:44 +00:00
Andrew Heather
c0391a54cf BUG: Added missing Make rule to build graphics function object 2015-11-27 08:32:39 +00:00
Henry Weller
e5993002e9 snappyHexMesh layerParameters: Increased maxIters to 20
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1918
Patch provided by Richard Jones

maxIters could be made an option input if 20 is not sufficient for
difficult cases.
2015-11-26 20:24:26 +00:00
mattijs
d2fea5fc95 BUG: cyclicACMI: change order of AMI initialisation
The resetAMI in the cyclicAMI would go up to cyclicACMI and do the
initPatchFaceAreas again - but with already masked areas
2015-11-26 16:53:19 +00:00
mattijs
8d0154ba32 ENH: regionSplit: improve algorithm order
The old version of regionSplit would hand out regions one by one. This
is a big problem when there are lots of regions - the extreme being
in the decompositionMethods, where it is used to cluster cells and most clusters
being only one cell. This rewrite uses a mesh wave to determine disconnected
regions in one go. This produced non-compact numbering which is then compacted
in a second phase.
On a 14M cell case with cyclic constraints this reduced decompose
time from 40 mins down to 5.
2015-11-26 16:52:18 +00:00
mattijs
710f189456 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop 2015-11-26 16:27:25 +00:00
mattijs
62c80898d1 BUG: motionSmoother: knock out displacement on points coupled to patch points
Before was zeroing displacement on all coupled points before
applying the displacement. This meant that we could not modify the
internal displacement on coupled points before setting the patch displacement.
Fixes #10.
2015-11-26 16:24:56 +00:00
Andrew Heather
9b36400125 Merge branch 'feature-externalCoupled' into 'develop'
Feature external coupled

- externalCoupled moved from BC to FO
- Multi-region support
- tutorial heatTransfer/chtMultiRegionFoam/externalCoupledMultiRegionHeater/

See merge request !16
2015-11-26 15:43:17 +00:00
mattijs
263a97320c Merge branch 'feature-externalCoupled' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into feature-externalCoupled
Conflicts:
2015-11-26 14:28:22 +00:00
mattijs
8d5800c5f8 ENH: externalCoupled: changed to non-OutputFilter functionObject.
- moved control to functionObject (from bc)
- this allows multi-region support
- see heatTransfer/chtMultiRegionFoam/externalCoupledMultiRegionHeater tut
- generalisation of streamed reading/writing of specialised bcs
2015-11-26 13:04:06 +00:00
mattijs
29b5340b05 ENH: externalCoupled: changed to non-OutputFilter functionObject.
- moved control to functionObject (from bc)
- this allows multi-region support
- see heatTransfer/chtMultiRegionFoam/externalCoupledMultiRegionHeater tut
- generalisation of streamed reading/writing of specialised bcs
2015-11-26 13:04:06 +00:00
Mattijs Janssens
3ab09ea9d7 Merge branch 'feature-potentialFoam' into 'develop'
ENH: potentialFoam updates migrated from internal development line

Added:
- header documentation
- pressure reference cell and value for -writep option
- removed unused createControls.H file - now uses pisoControl control structure

See merge request !14
2015-11-26 12:55:49 +00:00