Commit Graph

51 Commits

Author SHA1 Message Date
Henry Weller
83bae2efd3 functionObjects: Renamed dictionary entry 'functionObjectLibs' -> 'libs'
This changes simplifies the specification of functionObjects in
controlDict and is consistent with the 'libs' option in controlDict to
load special solver libraries.

Support for the old 'functionObjectLibs' name is supported for backward compatibility.
2016-05-16 22:09:01 +01:00
Henry Weller
6164c2f262 Standardized the naming of functions which control the writing of fields etc.
to have the prefix 'write' rather than 'output'

So outputTime() -> writeTime()

but 'outputTime()' is still supported for backward-compatibility.

Also removed the redundant secondary-writing functionality from Time
which has been superseded by the 'writeRegisteredObject' functionObject.
2016-05-12 17:38:01 +01:00
Henry Weller
c983670c91 functionObjects: Changed options 'outputControl' -> 'writeControl' and 'outputInterval' -> 'writeInterval'
for consistency with the time controls in controlDict and to avoid
unnecessary confusion.  All code and tutorials have been updated.

The old names 'outputControl' and 'outputInterval' are but supported for
backward compatibility but deprecated.
2016-05-12 11:38:11 +01:00
Henry Weller
1b34231340 tutorials: Renamed .org -> .orig
See http://www.openfoam.org/mantisbt/view.php?id=2076
  - .org is the file extension for emacs org-mode as well
  - .orig is more to the point (.org isn't always recognized as "original")
  - .original is too long, although more consistent with the convention
    of source code file naming

Update script contributed by Bruno Santos
2016-04-30 21:53:50 +01:00
Henry Weller
350d03246e scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Henry Weller
daf44fda3d tutorials and templates: Updated wall BC for velocity to noSlip 2016-02-09 20:08:34 +00:00
Chris Greenshields
8726cf20a0 blockMeshDict files: removed redundant location entries in FoamFile headers 2015-11-13 16:09:57 +00:00
Henry Weller
37cfc3ab46 tutorials: Removed unnecessary spaces between parentheses and values in vectors 2015-07-21 20:55:44 +01:00
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 Weller
8293227964 Rationalized the LTS solvers 2015-06-16 12:42:37 +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
5ecfb06398 tutorials: remove unnecessary under-relax fields entry 2015-02-22 16:52:21 +00:00
Henry
4129560601 potentialFoam: Solve for velocity potential named Phi rather than using the pressure field for this purpose
The Phi field is read if available otherwise created automatically with
boundary conditions obtained automatically from the pressure field if
available (with optional name) otherwise inferred from the velocity
field.  Phi Laplacian scheme and solver specification are required.  See
tutorials for examples.
2015-02-14 11:03:37 +00:00
Henry
6c3d9e7574 tutorials: removed empty files 2015-02-14 10:13:55 +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
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
andy
3ae4a2e43c ENH: Tutorial update 2014-02-03 10:44:21 +00:00
Henry
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
andy
f9f5977539 BUG: Tutorials - updated reactingParcelFoam verticalChannel fvSolution 2014-01-30 11:46:20 +00:00
Henry
205efe8627 ODE solver: change SIBS -> seulex (SIBS is deprecated) 2014-01-29 17:08:06 +00:00
andy
b95c4f9ee7 ENH: lagrangian tutorial updates 2014-01-24 12:38:08 +00:00
andy
5fffbd7bc3 ENH: lagrangian tutorial updates 2014-01-22 19:19:50 +00:00
andy
203157e3e1 ENH: Tutorial updates 2013-12-09 10:20:38 +00:00
andy
ba9fbcbd4b ENH: tutorial update 2013-11-12 16:33:29 +00:00
Henry
9d45269abc chemistryModel: Remove support for the sequential solver and rationalise EulerImplicit 2013-10-02 08:37:55 +01:00
Henry
131f1daa61 chemistryModel: rewrite main solver loop and update chemistrySolvers
accordingly to reuse the estimated sub-time-step more effectively
2013-10-01 17:58:26 +01:00
andy
d7f67c78b1 ENH: Tutorial update 2013-08-28 10:44:09 +01:00
andy
fa34e2aeaf ENH: Tutorial update 2013-08-13 17:28:20 +01:00
andy
02bb584fca ENH: tutorial updates 2013-08-13 14:16:05 +01:00
Henry
14c3689fec epsilon/omega: ensure non-0 values are set on all boundaries 2013-06-20 16:33:15 +01:00
andy
599a5f1d8d ENH: tutorial updates 2013-05-03 12:17:12 +01:00
Henry
48272dc5ab alphatWallFunctions: add "compressible::" qualifier to compressible alphat wall-functions 2013-04-10 17:04:49 +01:00
andy
985219c0ff ENH: Tutorial file updates 2013-01-09 14:05:53 +00:00
andy
d1bd734059 ENH: Updated tutorial files 2013-01-08 09:50:59 +00:00
andy
da6bec3152 ENH: Tutorial updates 2012-12-06 09:27:07 +00:00
andy
97ac66ad9e ENH: Updated porosity-based tutorials 2012-10-18 17:31:11 +01:00
Henry
ca2ad8032e Thermodynamics: Completed dictionary based selection mechanisms for all thermodynamic packages
Rationalised "make" macros to reduce code duplication
Removed solid phase radiation properties
Updated tutorials appropriately
2012-10-03 22:43:50 +01:00
Henry
88050abcab ChemistryModel: the from of the compressibility thermo is now selectable
The form of the chemistry model is no longer selectable (only one choice).
2012-10-02 11:33:04 +01:00
Henry
7d17731637 ChemistryModel: Updated names and lookup 2012-10-01 17:00:43 +01:00
andy
340bbed2e0 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-10-01 11:40:22 +01:00
andy
fd677b9f14 ENH: Tutorial file updates 2012-10-01 11:40:11 +01:00
Henry
9bf80af379 Thermodynamics: Update selection mechanism for reaction and chemistry thermodynamics 2012-09-30 21:27:18 +01:00
andy
ca5e397eb7 ENH: updated lagrangian tutorial input files 2012-09-26 11:40:38 +01:00
Henry
969756b818 Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2012-09-24 13:42:09 +01:00
Henry
ccbcde9e42 reactingParcelFoam/verticalChannel: Remove unnecessary limiters 2012-09-24 13:42:06 +01:00
mattijs
e1b6dfa6eb ENH: flowRateVelocityInlet: fall back to rhoInlet 2012-09-24 12:00:52 +01:00
mattijs
beb2943d8e Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
Conflicts:
	tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/verticalChannel/0/p
	tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/verticalChannel/system/changeDictionaryDict
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/H2O
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/T
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/U
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/air
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/alphat
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/k
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/mut
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/omega
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/0/p
	tutorials/lagrangian/reactingParcelFoam/verticalChannel/constant/polyMesh/boundary
2012-09-24 11:03:51 +01:00