Commit Graph

1268 Commits

Author SHA1 Message Date
66cb99e696 Updated headers to ensure the class name declared to Doxygen is in the appropriate namespace
Also moved global classes which should be in the Foam namespace into it.
2015-02-09 14:43:11 +00:00
fc1d7a4742 regionCoupledBase: corrected output name for nbrRegionName_
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1511
2015-02-06 15:30:47 +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
ded2f25726 Updated headers 2014-12-31 19:08:15 +00:00
325b003b6e Added and verified support for 64bit labels
To compile with 64bit labels set

WM_LABEL_SIZE=64

in ~/OpenFOAM/dev/prefs.sh

source ~/.bashrc

then Allwmake in OpenFOAM-dev.

This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt

If WM_LABEL_SIZE is unset or set to 32:

WM_LABEL_SIZE=32

the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt

Thus both 32bit and 64bit label builds can coexist without problem.
2014-12-31 19:02:52 +00:00
7c35ea521b rotorDiskSource: Corrected coordinate transformations
Now the rotor axis may be specified in other than the z-direction
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1290
2014-12-22 19:54:58 +00:00
f4596ad247 Resolve issues relating to compilation with clang-3.5.0 2014-12-15 22:38:10 +00:00
5cdaf0fdab ENH: searchablePlate: clearer message 2014-10-31 16:39:46 +00:00
e195f10b11 ENH: edgeIntersections: added merging 2014-10-22 12:18:38 +01:00
df9ae1d07f ENH: edgeIntersections: added subset manipulation 2014-10-13 12:46:27 +01:00
736b551ae2 ENH: mappedPatch: survive neg-tet volume cells
In case of point not being found re-search for nearest
2014-09-30 17:20:27 +01:00
96b7fa8f62 BUG: AMI: Fixed target face used as index to source patch. Also undo commit b816fac, which was an incorrect fix for the same bug. 2014-09-15 15:09:55 +01:00
e46a6eb569 STY: removed debug messages from cyclicAMIPolyPatch 2014-09-12 17:44:46 +01:00
77a795a25c BUG: source point face call in AMI had owner and neighbour the wrong way around 2014-09-12 16:27:00 +01:00
d4c966de31 ENH: mapFields: expose AMI mapping methods 2014-09-03 11:54:30 +01:00
b554c1da8b ENH: pointToPointPlanarInterpolation: additional nearest only interpolation 2014-09-03 11:45:53 +01:00
8cc4cab322 BUG: mapNearest: fix re-start 2014-08-14 11:15:16 +01:00
116e3eec5a ENH: AMI - early exit if no source faces present 2014-07-30 14:55:36 +01:00
3aebb6b7c2 BUG: searchableCylinder: handling of normal outside cylinder 2014-07-25 12:28:39 +01:00
d8777c03f1 BUG: searchableCylinder: incorrect normal 2014-07-23 09:17:31 +01:00
2305370249 ENH: searchableDisk: new searchable surface 2014-07-17 15:35:46 +01:00
cc57ecc188 ENH: FaceCellWave: better debug printing 2014-07-10 16:50:22 +01:00
145029c67f ENH: directAMI - migrating new functionlity from internal development line 2014-07-02 16:11:35 +01:00
709b92d907 ENH: mesh motion updates 2014-06-03 14:42:39 +01:00
af1f95b09a BUG: cyclicAMI - was not being reset on update mesh - mantis #1218 2014-05-30 16:03:48 +01:00
a03074ec89 Changing constructor in regionCoupledBase 2014-05-14 17:12:59 +01:00
d58d7a9814 ENH: localAxesRotation - added new consructor to operate on a list of cells 2014-05-13 16:17:06 +01:00
813b693696 Remove confusing IInfo macro the benefit of which is insufficient
Simply use the indent manipulator
2014-05-13 10:34:11 +01:00
4be6f321fd STY: Cleaning up coordinateSystemNew.C 2014-05-09 15:26:29 +01:00
7c28d5fb5d BUG: http://www.openfoam.org/mantisbt/view.php?id=708
Bug fixing in vector transformation using localAxesRotation
Adding constructor for localAxesRotation class.
2014-05-09 14:59:07 +01:00
18c8c3c585 BUG: ACMI - updated interpolation weights and construction order - mantis #1279 2014-05-06 13:18:41 +01:00
c7cf4d9d87 Small changes to energyRegionCoupled BC 2014-04-30 12:03:51 +01:00
e6cef52788 ENH: porosity model updates for moving meshes 2014-04-11 14:32:31 +01:00
a3b1a7761b BUG: cylicAMI - corrected case for specified rotation - mantis #1206 2014-04-09 15:38:00 +01:00
fc31799a7e BUG: cyclicAMI - fixed transform for case that angle is given - mantis #1217 2014-03-28 15:59:47 +00:00
25d874034b ENH: Updated ACMI to allow fully disconnected regions 2014-03-20 11:02:51 +00:00
042dd8ea3f BUG: AMI with low-weight correction - further wrapping around interpolation - mantis #1174 2014-02-26 13:44:22 +00:00
a1a0c249a4 ENH: mapNearestAMI - added protection for case when srcFace =-1, e.g. if mesh bounds are dissimilar 2014-02-17 16:46:43 +00:00
1f192f8b73 ENH: snappyHexMesh: have single region surface named as <surface> instead of <surface>_<region> 2014-01-27 12:44:45 +00:00
117c5d27a8 BUG: AMI - use min instead of max when calculating area error 2014-01-22 13:58:29 +00:00
fdc785d671 ENH: cyclicAMI - added message if incorrect angle specified for rotational case 2014-01-21 10:59:24 +00:00
b1e7c00952 ENH: AMI - improved output messages 2014-01-20 13:15:10 +00:00
2b47fbca8f ENH: cyclicACMI - tidied header #includes 2014-01-20 13:14:41 +00:00
17194ab9b0 BUG: meshToMesh - updated construction of AMIs 2014-01-15 19:57:04 +00:00
2faa7efea4 ENH: AMI - further robustness improvements 2014-01-15 12:44:35 +00:00
304ae8af3e ENH: AMI - added support/robustness for case where sum of weights falls below threshold 2014-01-14 17:40:16 +00:00
43dd149577 ENH: cyclicAMI - enable optional setting of rotation angle 2014-01-13 14:54:57 +00:00
5012770cf6 COMP: ACMI - refactored to avoid gcc bug 2014-01-09 15:27:56 +00:00
cc780ca2c9 Correct for SP build 2013-12-22 14:05:27 +00:00