Commit Graph

206 Commits

Author SHA1 Message Date
2c41e510af twoPhaseEulerFoam JohnsonJacksonFrictionalStress: alphaDeltaMax now user input (previously hard-coded to 5e-2) 2015-03-18 15:03:10 +00:00
50b2edbedc twoPhaseEulerFoam: transform to solve for p_rgh
to avoid excessive pressure/buoyancy balance errors on non-orthogonal meshes
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1379
2015-03-17 22:40:09 +00:00
afcd290d75 Solvers based on p_rgh: Added support for optional hRef
Allows the specification of a reference height, for example the height
of the free-surface in a VoF simulation, which reduces the range of p_rgh.

hRef is a uniformDimensionedScalarField specified via the constant/hRef
file, equivalent to the way in which g is specified, so that it can be
looked-up from the database.  For example see the constant/hRef file in
the DTCHull LTSInterFoam and interDyMFoam cases.
2015-03-17 17:15:11 +00:00
930d3d4387 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
e20e69992d shallowWaterFoam: Read hU rather than U to support complex e.g. time-varying BCs
Disadvantage is that the BC values have to be specified in terms of hU
rather than U.  The alternative would be to add complex code to map h
and U BCs into the equivalent for hU.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1566
2015-03-13 22:14:08 +00:00
3739559e75 Replace xargs -i with xargs -I as the -i option is deprecated 2015-03-13 17:56:52 +00:00
d66408c86a thermoSingleLayer: Revert q back to the working version in OpenFOAM-2.1.x
Revert changes in tutorial to correspond to the version in OpenFOAM-2.1.x
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1207
2015-03-10 19:59:09 +00:00
d6907d9b48 lagrangian: Completed update of phaseProperties to handle specie list mismatch
between liquid and solid mixture composition and the specie lists
defined in the thermodynamics package.

Note this does not change the current limitation that both liquid and
solid mixtures contain ALL the corresponding phase species defined in
the thermodynamics package.  However, missing species are included
automatically during construction of phaseProperties.
2015-03-07 11:51:38 +00:00
0aa276f1d8 simplifiedSiwek: Temporarily define all gaseous species to be present
This hack will be removed when the rewrite of the parcel thermodynamics is complete.
2015-03-05 23:39:40 +00:00
b82911b3cf BinghamPlastic: Change definition of shear-rate by 1/sqrt(2)
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1552
2015-03-02 22:27:39 +00:00
a145dee287 TurbulenceModels: Update non-linear models to use the new innerSqr function 2015-02-28 16:11:24 +00:00
3b11abd26e Turbulence models: minor clean-up 2015-02-27 19:23:39 +00:00
f2b4e22f90 ShihQuadraticKE: Rewritten and tested on the boundaryWallFunctions and pitzDaily cases 2015-02-27 18:13:30 +00:00
0577cdb3cd rhoCentralDyMFoam: Add support for morphing-meshes and provide movingCone tutorial case 2015-02-25 12:20:12 +00:00
0ae18335f6 tutorials/compressible/sonicDyMFoam/movingCone: sonic version of the pimpleDyMFoam/movingCone tutorial 2015-02-22 16:53:33 +00:00
5d3bb28994 tutorials: remove unnecessary under-relax fields entry 2015-02-22 16:52:21 +00:00
fa346ae539 tutorials/multiphase/interDyMFoam/ras/floatingObject: Update to demonstrate MULES with Crank-Nicolson 2015-02-22 12:53:34 +00:00
e593fef659 potentialFoam: Added new method to estimate the static pressure field from the velocity
Uses a form of the Euler equation in which only variation along the streamlines is considered
2015-02-19 19:05:17 +00:00
f43abd9f3b tutorials/basic/laplacianFoam/flange/Allrun: Updated for consistent output
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1543
2015-02-19 09:56:50 +00:00
6be514684a tutorials: rationalized log 2015-02-19 08:39:32 +00:00
9cd665988d tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet: Added a potentialFoam initializer step 2015-02-18 10:01:05 +00:00
3482e22bc6 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
c328c54680 tutorials: Simplify rhoMax and rhoMin specification 2015-02-17 10:55:02 +00:00
b0bd25ad32 tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit: simplify rhoMax and rhoMin specification 2015-02-17 10:49:07 +00:00
74990ee915 Rationalized sprayFoam family of solvers and added sprayDyMFoam 2015-02-16 21:47:15 +00:00
f58fd14271 Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
fb68661de8 turbulenceModels/LES/dynamicKEqn/dynamicKEqn: Added dynamic version of the one-equation SGS model 2015-02-14 13:08:08 +00:00
cdadf4865d 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
2edacf0ceb Correct Doxygen multiline comments 2015-02-14 10:59:29 +00:00
0c86872fd8 tutorials: removed empty files 2015-02-14 10:13:55 +00:00
4c9897879e tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/topoSetDict.1: further correction to avoid duplicate registration 2015-02-14 10:13:11 +00:00
6ad58dc0aa tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/patchifyObstacles: another change to avoid duplicate registration 2015-02-12 22:01:06 +00:00
e636b7c73b Correct section comment: there can only be one destructor 2015-02-12 21:57:29 +00:00
bbc8ef076b tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes: Avoid using the same same for different objects in setSet 2015-02-12 16:46:37 +00:00
d63a9fa589 Tutorials: change topoSetDicts to avoid duplicate names 2015-02-12 10:01:31 +00:00
a4cca549e2 Explicitly name derived fields to improve readability of diagnostic messages and avoid duplicate registration 2015-02-12 09:59:52 +00:00
4d142dacb5 tutorials/incompressible/simpleFoam/pitzDaily: Setup to run with range of turbulence models 2015-01-28 18:36:03 +00:00
eb4ed526cc tutorials/multiphase/driftFluxFoam/ras/mixerVessel2D: add gravity in direction of drift 2015-01-28 16:37:36 +00:00
3ecb02c4f0 tutorials/incompressible/pimpleFoam/elipsekkLOmega: added non-orthogonal correctors to improve stability when running longer 2015-01-28 09:19:20 +00:00
2737053906 tutorials/incompressible/pimpleFoam/elipsekkLOmega: Updated 2015-01-27 15:09:03 +00:00
f8efe93ffd TurbulenceModels: Added LRR model with Daly-Harlow generalized gradient diffusion 2015-01-24 22:10:17 +00:00
a6b9d2a490 turbulenceModels/LES: Added WALE model
Changed the tutorials/incompressible/pimpleFoam/channel395 to demonstrate the WALE model
2015-01-23 09:17:33 +00:00
61bcea321b 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
b77a5ec079 Remove references to mut and muSgs 2015-01-21 19:52:42 +00:00
7b3fa1a929 Added updated nut.gz file 2015-01-21 19:38:40 +00:00
93732c8af4 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
658da453ba 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
38c62f0210 Rename foamClearPolyMesh -> foamCleanPolyMesh for consistency with the other foamClear.* scripts 2015-01-11 15:42:10 +00:00
bb2c2efd49 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
aedacd531f Updated for OpenFOAM-2.3.x
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=858
2015-01-01 18:11:22 +00:00