Commit Graph

143 Commits

Author SHA1 Message Date
Andrew Heather
3dbd39146c STYLE: consistency updates 2016-09-27 15:17:55 +01:00
Andrew Heather
9fbd612672 GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
Henry Weller
6d330d3d12 tutorials: Updated formatting of dictionaries and specification of 'plane' and 'samplePlane' 2016-06-29 18:02:57 +01:00
Mark Olesen
dd60cfcd06 FIX: provide restore0Dir function to fix issue #159
- makes it easier to ensure the correct behaviour, consistently
2016-06-27 16:33:55 +02:00
Chris Greenshields
344f435f54 Tutorials fvSolution files: removed solver entries which use default
values; formatted Switch entries consistently across all cases
2016-06-15 07:39:12 +01:00
Chris Greenshields
3d810c11dc Tutorials: made laplacianSchemes consistent and correct 2016-06-13 23:38:03 +01:00
Henry Weller
3eec5854be Standardized the selection of required and optional fields in BCs, fvOptions, functionObjects etc.
In most boundary conditions, fvOptions etc. required and optional fields
to be looked-up from the objectRegistry are selected by setting the
keyword corresponding to the standard field name in the BC etc. to the
appropriate name in the objectRegistry.  Usually a default is provided
with sets the field name to the keyword name, e.g. in the
totalPressureFvPatchScalarField the velocity is selected by setting the
keyword 'U' to the appropriate name which defaults to 'U':

        Property     | Description             | Required    | Default value
        U            | velocity field name     | no          | U
        phi          | flux field name         | no          | phi
        .
        .
        .

However, in some BCs and functionObjects and many fvOptions another
convention is used in which the field name keyword is appended by 'Name'
e.g.

        Property     | Description             | Required    | Default value
        pName        | pressure field name     | no          | p
        UName        | velocity field name     | no          | U

This difference in convention is unnecessary and confusing, hinders code
and dictionary reuse and complicates code maintenance.  In this commit
the appended 'Name' is removed from the field selection keywords
standardizing OpenFOAM on the first convention above.
2016-05-21 20:28:20 +01:00
Henry Weller
cf4b35693c tutorials: Remove the unnecessary "\"s on "cp", "rm" and "mv"
Resolves bug-report http://bugs.openfoam.org/view.php?id=2077
2016-05-05 15:17:55 +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
4bc77e6aff Sprucing up the tutorials folder and adding -dict to "collapseEdges"
Patch provided by Bruno Santos
Resolves patch application request http://www.openfoam.org/mantisbt/view.php?id=2015
2016-03-06 19:06:44 +00:00
mattijs
4aafaf9bb8 BUG: surfaceBooleanFeatures: uses triSurfaceMesh so does not need path
Fixes the simpleShapes failure in #141
2016-06-13 13:14:48 +01:00
andy
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
Henry Weller
350d03246e scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Henry Weller
cfa7678ba8 foamRunTutorials: Rationalized support for the "-test" option
RunFunctions: Added "isTest()" argument parsing function
tutorials: Updated Allrun scripts to propagate the "-test" option
tutorials: Removed the lower Alltest scripts and updated the Allrun to
    use the "isTest()" function to handle test-specific operation
2016-02-15 15:49:05 +00:00
Henry Weller
b3d47f0423 bin/tools/RunFunctions: runParallel now obtains the number of processors from numberOfSubdomains
in decomposeParDict.

This default number of processors may be overridden by the new "-np"
option to runParallel which must be specified before the application
name e.g.:

runParallel -np 4 pisoFoam
2016-01-27 14:19:25 +00:00
Andrew Heather
f0c3e8d599 STYLE: Updated version to 'plus' 2015-12-22 23:14:17 +00:00
mattijs
79da5b5a52 BUG: mixerVessel: fix mesh time pickup 2015-12-16 11:48:11 +00:00
mattijs
bd8fcbe8bf BUG: mixerVessel: surfaceBooleanFeatures syntax 2015-12-16 10:38:38 +00:00
mattijs
c076fd8d67 BUG: simpleShapes: Allrun adapted for surfaceBooleanFeatures change.
Fixes part of #34
2015-12-15 20:50:59 +00:00
Andrew Heather
5c9dff6146 GIT: Resolved conflict 2015-12-09 16:19:28 +00:00
Andrew Heather
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +00:00
Henry Weller
58127cae71 tutorials/mesh/foamyHexMesh: Update location of blockMeshDict 2015-11-13 15:48:39 +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
4c21f24a8c Input of dimensionedScalars: update read-construction of dimensionedScalar in applications
so that the specification of the name and dimensions are optional in property dictionaries.

Update tutorials so that the name of the dimensionedScalar property is
no longer duplicated but optional dimensions are still provided and are
checked on read.
2015-07-20 22:52:53 +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
0a6ca7ae45 includeEtcEntry: New dictionary include directive: #includeEtc "etcFile"
Description
    Specify an etc file to include when reading dictionaries, expects a
    single string to follow.

    Searches for files from user/group/shipped directories.
    The search scheme allows for version-specific and
    version-independent files using the following hierarchy:
    - \b user settings:
      - ~/.OpenFOAM/\<VERSION\>
      - ~/.OpenFOAM/
    - \b group (site) settings (when $WM_PROJECT_SITE is set):
      - $WM_PROJECT_SITE/\<VERSION\>
      - $WM_PROJECT_SITE
    - \b group (site) settings (when $WM_PROJECT_SITE is not set):
      - $WM_PROJECT_INST_DIR/site/\<VERSION\>
      - $WM_PROJECT_INST_DIR/site/
    - \b other (shipped) settings:
      - $WM_PROJECT_DIR/etc/

    An example of the \c \#includeEtc directive:
    \verbatim
        #includeEtc "etcFile"
    \endverbatim

    The usual expansion of environment variables and other constructs is
    retained.
2015-04-26 10:44:11 +01:00
Henry
5ecfb06398 tutorials: remove unnecessary under-relax fields entry 2015-02-22 16:52:21 +00:00
Henry
7be1393fef tutorials: corrected comments in snappyHexMeshDict
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1541
2015-02-17 23:59:59 +00:00
Henry
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
1edf292c00 Correct Doxygen multiline comments 2015-02-14 10:59:29 +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
89f826419a Remove cyclic link in foamyHexMesh/mixerVessel tutorial
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1191
2015-01-18 21:11:54 +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
william
333818408f STYLE: sh instead of bash for tutorial scripts 2014-02-05 16:53:44 +00:00
mattijs
b620938829 ENH: mixerVessel: dummy Alltest 2014-02-05 12:24:11 +00:00
Henry
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
mattijs
a643ad71eb ENH: simpleShapes: no need for naming of patches 2014-01-27 15:24:25 +00:00
mattijs
8acfa4692a STYLE: snappyHexMeshDict: removed optional parameter 2014-01-27 12:25:56 +00:00
mattijs
e3a3e78f07 Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-23 16:50:46 +00:00
mattijs
3e414187fc ENH: simpleShapes: add additional collapsing 2014-01-23 13:00:00 +00:00
mattijs
7899cd77b7 BUG: blob: clean up correctly 2014-01-23 12:19:09 +00:00
Henry
a7ad50ce7d VoF tutorials: changed interfaceCompression to linear
This provided greater accuracy and stability while MULES guarantees boundedness
2014-01-23 11:30:45 +00:00
mattijs
a271e98077 ENH: mixerVessel: use smoothSolver for transported quantities 2014-01-20 12:15:53 +00:00
mattijs
9bfa86e3fb ENH: mixerVessel: undo rotation of decomposition 2014-01-20 12:14:33 +00:00
mattijs
d950be041b ENH: mixerVessel: reverted AMI specification 2014-01-20 12:08:32 +00:00
mattijs
2f220e103d STYLE: Allrun: comment 2014-01-16 12:36:25 +00:00
mattijs
e86d044b7a ENH: mixerVessel: original geometry 2014-01-16 12:35:29 +00:00
andy
6c7879f300 ENH: mixerVessel turorial update 2014-01-16 09:47:06 +00:00
andy
e18b42c881 ENH - mixer vessel - Allrun should run complete tutorial 2014-01-14 17:55:34 +00:00
andy
ae114cd9de ENH: tutorial update 2014-01-14 17:51:38 +00:00
andy
14119caa97 ENH: script update 2014-01-14 17:50:31 +00:00
mattijs
7336826eab ENH: mixerVessel: adjust deomposition to avoid baffles on processor boundaries 2014-01-13 16:23:51 +00:00
mattijs
aca704b2c1 ENH: mixerVessel: shrunk rotating surface to avoid dimples. Switch on AMI surface projection mode 2014-01-13 15:34:26 +00:00
mattijs
131a6c8c6b Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-13 15:09:47 +00:00
Henry
05a55b6c9f tutorials/mesh/foamyHexMesh/mixerVessel/Allrun-pre: remove directory 102 when not needed 2014-01-13 10:00:42 +00:00
mattijs
d73a0c6a6e ENH: foamyHexMesh: add straightDuctImplicit to foamyHexMesh tutorials 2014-01-10 15:36:19 +00:00
mattijs
5ffd600baa Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev
Conflicts:
	tutorials/mesh/foamyHexMesh/mixerVessel/system/fvSchemes
2013-12-06 17:52:34 +00:00
mattijs
bed3074127 ENH: mixerVessel: disable running; mesh only 2013-12-06 16:29:00 +00:00
Henry
3f5eda25f0 symmetryPlane: add symmetryPlane as a special type of symmetry condition applied to a single plane
The standard/previous general symmetry type is now named symmetry
    both in class and lookup name for consistency.  The rigorous
    symmetryPlane type is needed for moving-mesh cases in which the
    motion it constrained by one or two planes.
2013-12-06 15:45:11 +00:00
Henry
182f46b357 foamyHexMesh/mixerVessel: correct links to be local 2013-09-27 22:46:46 +01:00
laurence
74d43602f7 ENH: foamyHexMesh: Update mixer vessel tutorial 2013-09-27 15:23:33 +01:00
laurence
fab029fb5f ENH: foamyHexMesh: Add new mixerVessel tutorial with baffles 2013-09-27 13:00:17 +01:00
laurence
686e520611 TUT: foamyHexMesh flange tutorial update 2013-09-26 14:16:18 +01:00
laurence
974e509eb4 ENH: surfaceIntersection: Change error to warning 2013-09-26 14:15:19 +01:00
laurence
615a74626e ENH: foamyHexMesh: Include baffle handling 2013-09-25 12:37:19 +01:00
mattijs
5063ff7e1c ENH: flange: include foamyHxMeshDict 2013-09-17 09:36:44 +01:00
Henry
442a30e529 foamyHexMesh/flange/Allclean: Remove 0 directory 2013-08-20 11:34:13 +01:00
laurence
adf1fb11e0 TUT: Update flange test in tutorial and remove flange.obj 2013-08-20 10:39:13 +01:00
Henry
03c07e8689 tutorials/mesh/foamyHexMesh/mixerVessel: Reconstruct mesh after parallel generation 2013-08-19 14:14:38 +01:00
Henry
12539b23c5 Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2013-08-15 17:03:57 +01:00
laurence
77b7a4d88b STYLE: foamyHexMesh: Update Allclean tutorial scripts 2013-08-15 12:02:17 +01:00
Henry
b9f9598725 tutorials/mesh/foamyHexMesh/flange: Add flange.obj as required by the mesher 2013-08-15 10:34:57 +01:00
Henry
cd8c83ca93 Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2013-08-15 10:31:41 +01:00
Henry
d986830a24 tutorials/mesh/foamyHexMesh/mixerVessel: use hierarchical rather than scotch for decomposition due to bugs in scotch 2013-08-15 10:31:31 +01:00
laurence
31c5a8ebeb BUG: foamyHexMesh flange tutorial reads wrong file 2013-08-14 14:43:27 +01:00
laurence
4b750266d3 STYLE: Remove old .obj file 2013-07-11 12:38:48 +01:00
laurence
86c5a3a228 ENH: foamyHexMesh: Do not allow default patch types when reading patchInfo from dictionary 2013-07-11 12:31:43 +01:00
laurence
b65f2a9ee8 BUG: flange foamyHexMesh tutorial missing meshDict.geometry 2013-07-04 16:33:55 +01:00
laurence
7546c1529a BUG: searchableSurfaceControl: Correct resizing of region controls 2013-07-04 13:12:11 +01:00
mattijs
ae9d794649 BUG: flange: wrong application name 2013-07-03 12:50:53 +01:00
Henry
1e81657da1 Reformat 2013-06-20 10:49:41 +01:00
laurence
805e8ead0d ENH: foamyHexMesh: Update tutorials 2013-06-14 17:03:03 +01:00
laurence
f0b562e6f3 ENH: foamyHexMesh: Update tutorials 2013-06-14 16:55:59 +01:00
laurence
7c00bbe7fa ENH: foamyHexMesh: Add mixerVessel tutorial 2013-06-05 12:19:07 +01:00
laurence
a31cb80862 ENH: foamyHexMesh: Update simpleShapes tutorial 2013-06-04 15:50:47 +01:00
laurence
00dcfb2282 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-06-04 14:58:41 +01:00
laurence
7e9e8d3bd8 ENH: foamyHexMesh: Update blob and simpleShapes tutorials 2013-06-04 14:57:32 +01:00
laurence
96aba9e8ea ENH: foamyHexMesh: Update flange tutorial 2013-06-04 14:53:37 +01:00
laurence
9d2a0b25db ENH: Update foamyHexMesh tutorials 2013-05-31 10:36:32 +01:00
laurence
9a5b9e6ba2 ENH: Add automatic feature extraction to foamyHexMesh 2013-05-13 10:24:03 +01:00
laurence
850474d273 STYLE: Change name from cvMesh to foamyHexMesh 2013-05-10 01:00:52 +01:00