Commit Graph

116 Commits

Author SHA1 Message Date
Henry Weller
0fb6a01280 fluxRequired: Added setFluxRequired function to fvSchemes class
Added calls to setFluxRequired for p, p_rgh etc. in all solvers which
avoids the need to add fluxRequired entries in fvSchemes dictionaries.
2015-07-15 21:57:16 +01:00
Henry
50ada7c994 blockMesh: Change default location of blockMeshDict from constant/polyMesh to system
For multi-region cases the default location of blockMeshDict is now system/<region name>

If the blockMeshDict is not found in system then the constant directory
is also checked providing backward-compatibility
2015-04-24 22:29:57 +01:00
Henry
c6874965f8 tutorials: rationalized log 2015-02-19 08:39:32 +00:00
Henry
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
Henry
69ff8aa4d2 wallDist: now a MeshObject cached and updated automatically with a run-time selected algorithm
When using models which require the wallDist e.g. kOmegaSST it will
request the method to be used from the wallDist sub-dictionary in
fvSchemes e.g.

wallDist
{
    method meshWave;
}

specifies the mesh-wave method as hard-coded in previous OpenFOAM versions.
2015-01-08 10:40:23 +00:00
Henry
41368addc9 Minor change to comment 2014-12-14 21:50:14 +00:00
OpenFOAM-admin
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
Henry
a729ebe8df cavitatingFoam: rationalised phi -> rhoPhi, phiv -> phi
for consistency with the other multiphase solvers.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1192
2014-02-26 13:02:59 +00:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
william
8acf2daaba BUG: tutorial fixes for 32 bit ubuntu packs 2014-02-11 10:15:00 +00:00
Henry
bd5e4cf172 Default transport solver: change from PBiCG to smoothSolver with symGaussSeidel smoother
Better for most but not all cases.
2014-02-04 16:27:35 +00:00
Henry
51f085faa5 Rewrite of ddtPhiCorr - ddtCorr and density-weight HbyA on compressible solvers.
For DyM solvers phiAbs is replaced by Uf but this conversion is currently not complete
2013-09-09 12:41:20 +01:00
Henry
2780df8365 multiphase: Update phase-naming to use the new convention e.g. alpha.water 2013-08-13 23:21:46 +01:00
mattijs
c4a65259ad GIT: boundary: remove usued file 2013-08-07 11:27:34 +01:00
Henry
8bcb8132bf Update tutorials 2013-01-25 12:43:07 +00:00
andy
5e71baeb5d BUG: Corrected typo - sytem->system 2012-12-10 17:20:20 +00:00
mattijs
03fa70e4af ENH: tutorials: dict command line option 2012-12-05 15:30:33 +00:00
Henry
1464c4ff5c multiphase (VoF): Added support for general turbulence models
Required the addition of the divDevRhoR function to all incompressible turbulence models
2012-07-27 14:56:01 +01:00
Henry
28762dc468 Removed trailing whitespace 2012-04-19 14:17:30 +01:00
Henry
2491f257b1 Corrected line lengths 2012-02-29 16:39:53 +00:00
andy
4f40cdb7d7 GIT: Resolve conflict 2011-08-16 16:09:56 +01:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
OpenFOAM-admin
c720299876 ENH: Reverted back to version dev 2011-06-17 10:08:20 +01:00
andy
29c485361a STYLE: renamed version 2.0 -> 2.0.0 2011-06-08 16:31:07 +01:00
andy
d2d91bb84f STYLE: Updated tutorial headers to version 2.0 2011-06-07 11:18:46 +01:00
Henry
b6f8897268 tutorials: Upgraded all of the blockMeshDict files to the new format
Upgraded other files as necessary for consistency with the blockMeshDict, in
particular cases with cyclic patches.
2011-05-26 12:43:16 +01:00
Henry
24adaa0e1d Updated tutorials 2011-04-28 21:14:13 +01:00
andy
f3e2afa23c ENH: Tutorial updates re: PIMPLE updates 2011-04-18 11:54:59 +01:00
andy
154761a3a1 ENH: Updated tutorials 2011-04-15 16:46:35 +01:00
Henry
19c08b9e5a tutorials: Set the file type to ascii for ascii files 2011-03-31 15:32:07 +01:00
Henry
e1c9f43c08 tutorials: Use getApplication to set the application rather than hard-coding it 2011-03-24 21:42:09 +00:00
Henry
0a6c711664 Tutorials: removed all references to metis to protect the innocent from persecution. 2011-01-07 12:01:08 +00:00
Henry
afe4814d83 boundary: updated 2010-10-13 17:08:41 +01:00
Henry
c078ab9dee DSMC tutorials: remove temporary files 2010-10-13 17:08:10 +01:00
Henry
ba75d925eb cavitatingFoam tutorial: Reorganised run and clean scripts so that the cases can be run individually 2010-10-13 17:06:08 +01:00
Henry
f7d0cc587a cavitatingFoam tutorial: Removed spurious entry from fvSchemes 2010-10-12 16:43:08 +01:00
Henry
eb51614780 Renamed rUA -> rAU 2010-10-11 20:10:34 +01:00
Henry
d3f0b7a06b Documentation: Added skeleton ReleaseNotes-dev 2010-10-06 12:05:25 +01:00
Henry
89ee9b3e0f Merged all multiphase developments in OpenFOAM-1.7.x 2010-09-29 22:22:48 +01:00
henry
ccfb6e32a6 Corrected headers. 2010-06-23 16:54:54 +01:00
henry
cf1fa7115f Tutorial updates -- incomplete.
These changes are pushed to avoid continuous merge conflicts caused by scripted
changes to all the tutorial files.
2010-06-10 13:01:14 +01:00
Mark Olesen
895a077cb1 STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +02:00
mattijs
7507b5f6bd BUG: fixed subset action in topoSet; renamed sourceDict keyword to sourceInfo. 2010-05-11 12:09:49 +01:00
mattijs
c367e07642 ENH: Converted all cellSet/faceSet/pointSet to topoSet. 2010-05-10 17:17:49 +01:00
Mark Olesen
3fef72510e STYLE: use switch value for 'writeCompression' in controlDict's
- simpler/clearer to use "on/off" instead of "compressed/uncompressed"
2010-04-09 13:12:35 +02:00
Mark Olesen
10141f907b STYLE: use dict entry for function objects in controlDict 2010-04-09 12:23:25 +02:00
Mark Olesen
6b6dd51a27 STYLE: more consistent shell style in tutorial run/clean scripts 2010-03-10 10:55:42 +01:00
henry
146c63234c Added a default scheme for "snGrad". 2009-12-08 15:07:21 +00:00
andy
8bad166975 updated version number dev->1.6 2009-08-03 16:38:20 +01:00
Mark Olesen
ecb8d29b83 Merge commit 'OpenCFD/master' into olesenm 2009-08-03 16:20:24 +02:00
andy
6dbb672b01 updating tutorial cases to use new nut/mut wall function names 2009-08-03 12:04:40 +01:00
Mark Olesen
d749aac04d adjust tutorial fvSolution to use regular expressions and $variable 2009-08-01 14:51:59 +02:00
andy
2349fdaabe updated version numbers to 1.6 2009-07-23 12:22:48 +01:00
henry
b3d455de80 Removed turbulence model coefficients from the dictionaries to allow them to default. 2009-07-21 19:05:30 +01:00
henry
6f48a922d0 Further corrections to tutorials following a complete Allrun. 2009-07-14 21:16:33 +01:00
henry
5a83c4660c Added rho for the buoyantPressure BC. 2009-07-10 14:42:23 +01:00
henry
e461ef53e9 Removed support for LAM. 2009-07-10 12:04:42 +01:00
henry
9f46545159 Get the application from the controlDict where necessary. 2009-07-09 17:44:50 +01:00
henry
caff5576b1 Reinstated "application" entry in controlDict.
Upgraded 1.4 cases to 1.5.
2009-07-09 13:23:55 +01:00
andy
441b8b0832 more tutorial updates 2009-06-24 12:27:18 +01:00
Mark Olesen
507ad1e643 Merge commit 'OpenCFD/master' into olesenm 2009-02-25 10:50:26 +01:00
andy
181f252245 updates 2009-02-18 18:05:54 +00:00
Mark Olesen
4b60453cf1 use while (runTime.loop() { .. } where possible in solvers
- change system/controlDict to use functions {..} instead of functions (..);
  * This is internally more efficient
- fixed formatting of system/controlDict functions entry

- pedantic change: use 'return 0' instead of 'return(0)' in the applications,
  since return is a C/C++ keyword, not a function.
2009-02-18 08:57:10 +01:00
andy
a5b039b4ca updates 2009-02-13 17:28:21 +00:00
andy
a3b50aff9f further tutorial updates 2009-02-13 14:17:08 +00:00
andy
12fba38d87 restructuring to reflect solver hierarchy 2009-02-12 18:59:59 +00:00