Commit Graph

909 Commits

Author SHA1 Message Date
8997003857 BUG: localPointRegion: faces are duplicate only if sizes equal 2015-12-08 10:36:32 +00:00
d2fea5fc95 BUG: cyclicACMI: change order of AMI initialisation
The resetAMI in the cyclicAMI would go up to cyclicACMI and do the
initPatchFaceAreas again - but with already masked areas
2015-11-26 16:53:19 +00:00
8d0154ba32 ENH: regionSplit: improve algorithm order
The old version of regionSplit would hand out regions one by one. This
is a big problem when there are lots of regions - the extreme being
in the decompositionMethods, where it is used to cluster cells and most clusters
being only one cell. This rewrite uses a mesh wave to determine disconnected
regions in one go. This produced non-compact numbering which is then compacted
in a second phase.
On a 14M cell case with cyclic constraints this reduced decompose
time from 40 mins down to 5.
2015-11-26 16:52:18 +00:00
83e11f2d5a COMP: regionSplit: tag inline functions as inline 2015-11-23 17:37:26 +00:00
777b139907 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop
Conflicts:
	src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C
2015-11-19 10:40:51 +00:00
ff6b550206 ENH: cyclicPeriodicAMI: improved warning message 2015-11-19 10:33:43 +00:00
916dcb8685 ENH: parallel: overhaul of parallel mapping
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
- low-level distributed Field mapping
- support for mapping surfaceFields (including flipping faces)
- support for decomposing/reconstructing refinement data
2015-11-17 15:05:05 +00:00
7f95c64b16 ENH: containers: small changes to containers 2015-11-11 12:44:26 +00:00
c999886f17 BUG: cyclicPeriodicAMI: synchronisation of cyclic transformation in case of zero faces 2015-11-09 09:20:48 +00:00
7310a1c5b7 ENH: periodicAMI: improved debug writing 2015-11-09 09:16:56 +00:00
0ae946ec67 ENH: periodicAMI: added debug geometry writing 2015-11-09 09:15:11 +00:00
05a325d889 ENH: cyclicPeriodicAMI: Made tolerances relative to the number of overlaps. 2015-11-09 09:13:34 +00:00
73f41cf1f6 BUG: cyclicPeriodicAMI: Floor operation should add 0.5 to round to the nearest integer. 2015-11-09 09:13:15 +00:00
29e1c6e77b message=BUG: cyclicPeriodicAMI: corrected logic so that it correctly excludes
patches which do not overlap an integer number of times.
2015-11-09 09:12:21 +00:00
c5331f518e BUG: cyclicPeriodicAMI: fixed map distribution on decomposed periodic AMI patches 2015-11-09 09:11:32 +00:00
dff0ca9c5a BUG: cyclicPeriodicAMI: fixed bugs in default construction and write methods 2015-11-09 09:09:10 +00:00
341f2e0b99 ENH: Added support for periodic AMI patches. When these patches do not
fully overlap, the geometry will be replicated according to the
transfomation of another coupled patch until full-overlap is achieved.
2015-11-06 16:40:51 +00:00
30fd47e7bd ENH: searchableCone: generalised hollow cone/cylinder 2015-10-30 18:11:02 +00:00
aacf2ca07f BUG: searchableCone: fixed hollowness and radius1=radius2 2015-10-28 15:04:33 +00:00
b5b3ab9f87 ENH: searchableCone: searching on (optionally hollow) cone.
Initial implementation. Still goes wrong on r1 == r2.
2015-10-28 15:03:19 +00:00
9dd6a5b003 ENH: snappyHexMesh: add automatic gap-level detection and refinement 2015-10-28 13:28:32 +00:00
f4aa81fc84 ENH: searchableSurfaces: slight change of API, small style cleanup 2015-10-14 11:38:33 +01:00
f1b22fa163 BUG: triSurfaceMesh: fix writing to time directory
Also various speed ups to do with getting volume type outside of bounding box.
2015-10-14 11:36:35 +01:00
06e3b9c4c4 ENH: PointEdgePoint: transport nearest with passive data, using PointEdgeWave 2015-10-14 11:34:56 +01:00
cdf1ccc264 ENH: surfaceIntersection: cleanup 2015-10-14 08:52:32 +01:00
8a154d14e3 ENH: FaceCellWave, localPointRegion: support for local baffles 2015-10-13 16:32:52 +01:00
479d86b6f3 BUG: surfaceToPoint: read nErode from Istream 2015-10-13 16:28:31 +01:00
a96d82f79b Updated headers 2015-09-02 15:30:10 +01:00
430d894e37 Added ROOTSMALL 2015-09-02 15:29:54 +01:00
573e8a891f Rename localAxesRotation -> cylindrical
This class does not simply rotate the coordinate system is also changes
it from Cartesian to cylindrical which is not clear from the original name.

We plan to rewrite the coordinateRotation classes to be
coordinateTransformation classes and massively simplify the interface
from the currently unintelligible mess.
2015-08-13 09:25:28 +01:00
98685bd6b3 Remove unnecessary use of keyword "explicit" 2015-07-17 18:26:58 +01:00
94401af010 Resolved issues with virtual function inheritance and warning from clang
Also removed __GNUC__ conditional compilation statements which are no
longer needed.
2015-07-17 12:11:37 +01:00
68b0c866a4 surfaceToCell, surfaceToPoint: Add surface file name expansion
Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1754
2015-06-19 15:49:10 +01:00
35fd6f4894 cyclicAMIPolyPatch: Correct report of sweep angle
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1716
2015-05-28 16:29:06 +01:00
a3232e5de7 cyclicAMIPolyPatch: Correct particle transformations across cyclic AMI patches
Patch provided by Daniel Jasiński
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1694
2015-05-20 12:44:31 +01:00
3eedde5497 AMIMethod: Corrected type of tgtPatch_
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1669
2015-04-27 11:10:15 +01:00
25ba73c1cc tetOverlapVolume: adjust tolerance
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1347
2015-03-05 18:57:38 +00:00
9c60a480eb Corrected warning message 2015-02-25 23:29:33 +00:00
f8ca4fefd3 cyclicACMIPolyPatch: Hacked to avoid sigSegv during decomposition
Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1450
2015-02-25 20:51:37 +00:00
8cd3023439 Rationalize position searching and add cell->tet decomposition as the default cell-search algorithm
Resolves issues with probes and findRefCell for meshes in which all cell face-pyramids are positive.
2015-02-25 10:57:06 +00:00
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
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