Commit Graph

129 Commits

Author SHA1 Message Date
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +00:00
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
15198a34bd fluxRequired: Added setFluxRequired function to fvSchemes class
Added calls to setFluxRequired for p in all incompressible solvers which
avoids the need to add fluxRequired entries in fvSchemes dictionary.

Will add calls to setFluxRequired to the rest of the solvers.
2015-07-15 15:04:51 +01:00
38177526ff simpleFoam/SRFSimpleFoam: Added support for SIMPLEC
SIMPLEC (SIMPLE-consistent) is selected by setting "consistent" option true/yes:

SIMPLE
{
    nNonOrthogonalCorrectors 0;
    consistent yes;
}

which relaxes the pressure in a "consistent" manner and additional
relaxation of the pressure is not generally necessary.  In addition
convergence of the p-U system is better and reliable with less
aggressive relaxation of the momentum equation, e.g. for the motorbike
tutorial:

relaxationFactors
{
    equations
    {
        U               0.9;
        k               0.7;
        omega           0.7;
    }
}

The cost per iteration is marginally higher but the convergence rate is
better so the number of iterations can be reduced.

The SIMPLEC algorithm also provides benefit for cases with large
body-forces, e.g. SRF, see tutorials/incompressible/SRFSimpleFoam/mixer
and feature request http://www.openfoam.org/mantisbt/view.php?id=1714
2015-05-29 11:30:40 +01:00
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
c28036665d potentialFoam: No longer executes functionObjects by default
Use the new -withFunctionObjects command-line option to execute functionObjects
2015-04-25 21:56:14 +01:00
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
e68c5f666b Scripts: Add {} following -I option to xargs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1573
2015-03-15 22:14:44 +00:00
bbc223d28d Replace xargs -i with xargs -I as the -i option is deprecated 2015-03-13 17:56:52 +00:00
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
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
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
78ca0ce02c Add simulationType entry even for simpleFoam cases
so that generic utilities like yPlus select the appropriate turbulence model
2015-01-21 21:08:19 +00:00
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
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
41368addc9 Minor change to comment 2014-12-14 21:50:14 +00:00
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
0412aaf40b Removed spurious $1 2014-07-15 11:34:58 +01:00
7d5e8c2a6f Updated motorBike tutorial to correspond to the training course 2014-07-11 15:48:54 +01:00
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
636215a0ea ENH: functionObjects - updated writing to file 2013-11-25 10:52:20 +00:00
69ee5fa8dd ENH: snappyHExMeshDict: shifted locationInMesh 2013-11-20 15:36:44 +00:00
67a49d125d ENH: Tutorial Allclean script updates 2013-10-11 12:41:11 +01:00
ff5ed9541b ENH: Tutorial update 2013-07-30 09:40:20 +01:00
520d1021ea ENH: meshQualityDict: revert to 22x settings 2013-07-08 09:10:16 +01:00
f2397e7f41 ENH: snappyHexMesh: clean up mesh quality settings 2013-07-02 15:01:32 +01:00
89cca84446 ENH: motorBike: cleanup 2013-06-18 09:44:14 +01:00
1639a16bb7 ENH: motorBike: moved meshQuality into separate dictionary 2013-06-05 10:13:52 +01:00
fcf165f8f2 ENH: motorBike: disable secondary purge; have drag,lift every timestep 2013-04-03 10:35:44 +01:00
65533b3e99 ENH: motorBike tutorial: have hourly restart files 2013-02-27 10:54:06 +00:00
fd8380eebe ENH: Tutorial update 2013-02-18 17:12:27 +00:00
0ed07eadcf ENH: Tutorial update 2013-02-15 12:39:06 +00:00
fd7bcb62e9 ENH: Updated tutorial 2013-01-18 08:32:19 +00:00
888fb9377a ENH: motorBike: disable feature line snapping 2012-12-04 15:05:35 +00:00
c76869eb71 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-11-20 16:02:46 +00:00
7888a0d8bb ENH: Updated comment/description 2012-11-19 09:37:41 +00:00
5e7ef409f6 ENH: motorBike: demonstrate secondary time controls 2012-11-16 14:53:52 +00:00
7d2db67383 ENH: motorBike: enable feature snapping. add patchSummary 2012-11-07 09:00:11 +00:00
c497dd4ae2 ENH: Updated tutorial file 2012-10-16 10:01:38 +01:00
674990765a ENH: surfaceFeatureExtract: new syntax for non-manifold edges 2012-10-11 11:04:24 +01:00
36b19521f3 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-09-26 10:05:44 +01:00
66eac7a20b ENH: Added example of using data bins to motorbike tutorial 2012-09-24 12:40:06 +01:00
a114345eab Thermodynamics and sub-models: Removed "Sp" boundedness corrections on transport, replaced with "bounded Gauss" scheme 2012-09-21 14:34:42 +01:00
d1cdf12be4 ENH: motorBike tutorial: use patchGroups 2012-09-10 14:24:31 +01:00
39b12cd9ab simpleFoam/turbineSiting: Simplified case to mesh in parallel but avoid the need for redistribution 2012-07-25 16:54:10 +01:00
5e7d5dbc03 ENH: motorBike/controlDict: add necessary dictionaries 2012-02-14 18:20:14 +00:00
f615ba2ab6 STYLE: wallBoundedStreamLines: added comment 2012-02-07 09:38:11 +00:00
54b5b66023 ENH: wallBoundedStreamLine: updated motorBike tutorial. 2012-02-07 08:47:50 +00:00
0504c7a4f6 STYLE: system/streamLines: documented new tracking option 2011-12-21 11:22:02 +00:00