Commit Graph

1424 Commits

Author SHA1 Message Date
Henry
2b74a6e3b3 refineMesh: Correct and simplify check for 2D mesh
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1112
2015-03-29 22:19:55 +01:00
Henry
9cd9a9f364 ddtScheme::fvcDdtPhiCoeff: Zero ddtCorr on AMIs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1421
2015-03-24 15:23:01 +00:00
Henry
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
Henry
945c4c3d18 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
Henry
04af7672af refineWallLayer: Rationalize and add support for operating on a list of patch name regular expressions
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1525
2015-02-14 22:50: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
0bf2543df6 utilities: Correct "End" statement to be consistent with all other applications 2015-02-12 22:14:02 +00:00
Henry
50268fb910 conformalVoronoiMesh: Name extendedFeatureEdgeMesh correctly 2015-02-12 21:58:19 +00:00
Henry
7a25d8978c Avoid registration of variables which may generate name conflicts 2015-02-12 13:20:20 +00:00
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
Henry
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
Henry
98bcdb04d8 transform: Handle codirectional and contradirectional transformation vectors
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=416
2015-02-02 09:44:59 +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
543c0e33e0 applications/utilities/mesh/generation/Allwmake: Updated for changes to foamyHexMesh organization 2015-01-19 09:02:49 +00:00
Henry
8a055c989c Updated headers 2015-01-18 21:16:37 +00:00
Henry
ee3dea5fda Rationalized foamyHexMesh directory structure and build scripts
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1186
2015-01-18 21:13:45 +00:00
Henry
444dbda097 Ensure __STDC_LIMIT_MACROS is defined before the CGAL headers are included
Additional resolution of bug-report http://www.openfoam.org/mantisbt/view.php?id=1474
2015-01-04 23:43:25 +00:00
Henry
ded2f25726 Updated headers 2014-12-31 19:08:15 +00:00
Henry
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
Henry
38998d5e1f Updated header 2014-12-31 19:02:04 +00:00
Henry
1bddcdaaec orientFaceZone: convert 0 to label 2014-12-31 19:01:13 +00:00
Henry
296a302867 Renamed -frounded-math option 2014-12-16 08:37:25 +00:00
Henry
95dcfa46aa Move gcc-specific options to the appropriate wmake rules files 2014-12-15 22:39:21 +00:00
Henry
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
OpenFOAM-admin
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
mattijs
2bbddf9cb5 ENH: snappyHexMeshDict: added note 2014-09-30 17:14:16 +01:00
william
2fdeb139dc BUG: mantis #1389: foamyHexMesh: point insertion was not correctly setting the vertex count 2014-09-08 12:33:32 +01:00
mattijs
1083044bc2 ENH: refineHexMesh: add -region option 2014-08-06 17:00:25 +01:00
mattijs
be27bb8641 BUG: extrudeToRegionMesh: memory leak 2014-07-24 17:29:07 +01:00
mattijs
ee3eb6e370 BUG: createPatch: cleanup 2014-07-23 20:30:22 +01:00
mattijs
c98456cda3 STYLE: faceZoneSelection: corrected comment 2014-07-11 10:59:08 +01:00
andy
bb039fc250 ENH: extrudeMesh - migrating new functionlity from internal development line 2014-07-02 16:09:46 +01:00
mattijs
01972cf5bc BUG: splitMeshRegions: #1282 2014-06-09 12:51:01 +01:00
andy
709b92d907 ENH: mesh motion updates 2014-06-03 14:42:39 +01:00
mattijs
6c1f95cc5f BUG: fluentMeshToFoam: correct sets addressing 2014-04-22 14:46:27 +01:00
mattijs
994dee99df ENH: createBafflesDict: added comment 2014-04-03 12:35:10 +01:00
mattijs
c67779b221 ENH: refineHexMesh: add option to keep to 2:1 ratio outside cellSet 2014-03-11 10:51:57 +00:00
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
Henry
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
william
699b7d2517 BUG: removed executable permissions on flameSpreadWaterSuppressionPanel case files and foamy make/options 2014-01-30 10:17:32 +00:00
william
571359e4b9 COMP: foamyHexMesh: added system include paths for CGAL 2014-01-28 15:22:18 +00:00
william
75612fd019 Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-28 14:58:50 +00:00
william
412317575d COMP: foamyHexMesh: move CGAL dependencies into rules 2014-01-28 14:58:29 +00:00
mattijs
5ae141856a ENH: etc: added CGAL setup 2014-01-28 12:54:14 +00:00
mattijs
1f192f8b73 ENH: snappyHexMesh: have single region surface named as <surface> instead of <surface>_<region> 2014-01-27 12:44:45 +00:00
mattijs
489475d137 ENH: snappyHexMesh: separate meshing steps same as run through 2014-01-24 09:19:46 +00:00
mattijs
98cabc2efb ENH: snappyHexMesh: added debug switch 2014-01-21 16:25:15 +00:00
mattijs
b3de4399f9 ENH: moveDynamicMesh: put AMI weights files into postProcessing directory 2014-01-21 16:24:01 +00:00
andy
2aba2c995b STYLE: minor code formatting 2014-01-10 16:02:37 +00:00
mattijs
22e40fe39a STYLE: snappyHexMeshDict: tyop 2013-12-20 15:59:58 +00:00
mattijs
a9dc6715ba ENH: snappyHexMeshDict: document new options 2013-12-17 12:04:57 +00:00
mattijs
6f46553895 ENH: createPatchDict: renamed dictionary entry 2013-12-11 17:16:40 +00:00
mattijs
06e3f4fad1 STYLE: splitMeshRegions: removed comment out code 2013-12-11 16:08:00 +00:00
mattijs
6dca9b0961 BUG: createBaffles: preserve faceZone orientation 2013-12-09 17:20:55 +00:00
Henry
46bd2fe64e Merge branch 'master' of ssh://opencfd:8007/home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2013-12-06 15:49:50 +00:00
Henry
56bfb3cb42 Update headers 2013-12-06 15:49:31 +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
mattijs
101aa4e6f4 ENH: objToVTK: output lines 2013-12-05 16:41:39 +00:00
mattijs
86f0655052 Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2013-12-04 16:06:01 +00:00
mattijs
4d7402862c COMP: checkMesh,combinePatchFaces: move of pointConstraints 2013-12-04 15:59:35 +00:00
mattijs
a7799adeb8 ENH: snappyHexMeshDict: added new settings 2013-12-04 15:47:42 +00:00
Sergio Ferraris
c56d376bae ENH: Adding 'baseGroup' option to createBaffle.C to add a pair patches but in
different groups. This is used in 3D baffle where the generated patches are not
coupled.
     The tutorial circuitBoardCooling has been updated.
2013-12-04 15:30:35 +00:00
mattijs
fe31693e30 ENH: createBafflesDict: more comment 2013-11-18 15:03:46 +00:00
mattijs
8222120fef ENH: mapped: allow coupling specification through coupleGroup 2013-11-12 15:12:56 +00:00
mattijs
202d7c1ad3 ENH: snappyHexMesh: fix growing of attraction. Split off debug/writing/output 2013-11-12 09:00:04 +00:00
mattijs
f9f08091ba ENH: orientFaceZone: add -region option 2013-11-11 09:22:05 +00:00
mattijs
cca229f785 ENH: snappyHexMesh: layer coverage volfields 2013-10-30 15:17:57 +00:00
mattijs
41650787b1 ENH: mesh tools: max write precision 2013-10-29 09:59:21 +00:00
mattijs
7a2269eccb ENH: setsToFaceZone: allow flipping 2013-10-17 14:04:22 +01:00
mattijs
cfcd1ab30b GIT: orientFaceZone: remove embedded testcase 2013-10-17 12:42:58 +01:00
mattijs
1f63b86824 ENH: snappyHexMeshDict: added comment 2013-10-17 11:49:14 +01:00
andy
79d8403f8f ENH: checkMesh - updated writing of disconnected regions 2013-10-11 09:17:53 +01:00
andy
a787c35c48 ENH: checkMesh - write split regions to cellSets 2013-10-10 11:01:13 +01:00
mattijs
97ad9eab4c ENH: collapseEdges: avoid double registration of indirectPatchFaces 2013-10-03 10:42:23 +01:00
mattijs
f02cc06c55 BUG: conformalVoronoiMesh: wrong sync 2013-10-03 10:41:40 +01:00
mattijs
ca8b37a4c8 ENH: snappyHexMeshDict: improved comment 2013-10-03 10:41:27 +01:00
mattijs
cbebe58245 ENH: foamyHexMeshDict: added comment 2013-09-27 16:14:12 +01:00
mattijs
51b4035dbe COMP: foamyQuadMesh: build order 2013-09-27 09:15:44 +01:00
laurence
f663d40545 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-26 15:46:37 +01:00
laurence
8024b53c97 ENH: foamyHexMesh: Split boundary point priority into separate function 2013-09-26 15:46:04 +01:00
laurence
6f6fdd635d BUG: foamyHexMesh: Correct feature point pair indexing 2013-09-26 15:25:57 +01:00
mattijs
6a0ffc2548 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-26 12:32:20 +01:00
laurence
aebfc3c75f ENH: foamyHexMesh: Do not insert surface points near edge points 2013-09-26 12:08:28 +01:00
laurence
afa5658713 BUG: foamyHexMesh: Do not insert points between internal and surface points 2013-09-26 11:45:49 +01:00
mattijs
f9a20c9da0 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-26 11:36:42 +01:00
mattijs
00128075bb COMP: foamy: suppress cgal generated warnings 2013-09-26 11:36:13 +01:00
mattijs
9cebba4c16 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-26 10:56:57 +01:00
mattijs
fe470ba3a8 GIT: patchFaceOrientation: moved files 2013-09-26 10:43:07 +01:00
Henry
3aa7de87c8 Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-25 13:07:32 +01:00
Henry
c8717838f4 foamyQuadMesh/Allwmake: ensure foamyHexMesh/conformalVoronoiMesh is
build before foamyQuadMesh
2013-09-25 13:05:44 +01:00
laurence
615a74626e ENH: foamyHexMesh: Include baffle handling 2013-09-25 12:37:19 +01:00
laurence
c060166e7a BUG: foamyHexMesh: Remove overwrite option. 2013-09-25 10:39:04 +01:00
mattijs
feb7335481 ENH: uniformInletOutlet: new bc with uniform inletValue 2013-09-24 17:51:48 +01:00
mattijs
2a3c54ba8f Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-20 17:36:11 +01:00
mattijs
4ca945f49b ENH: fvMesh: map fields using old volume 2013-09-20 17:35:49 +01:00
laurence
e24e08bba3 STYLE: line endings 2013-09-19 16:25:11 +01:00
laurence
4486773fc0 COMP: foamyHexMesh: Remove unused code 2013-09-18 16:01:19 +01:00
laurence
a0196d4f0e BUG: foamyHexMesh: Make enum public 2013-09-18 15:59:09 +01:00
laurence
b4a742fc89 ENH: collapseEdges: Points now get a priority. The higher the number, the more likely the
collapse will be towards that point
2013-09-18 15:31:58 +01:00
laurence
e8d651060d ENH: foamyHexMesh: Insert referred points that are outside convex hull 2013-09-18 14:58:28 +01:00
laurence
95256688e5 ENH: foamyHexMesh: Move zoning to separate .C file 2013-09-18 14:37:43 +01:00
mattijs
70a25b9c84 ENH: orientFaceZone: new app for orienting faceZones 2013-09-17 15:35:40 +01:00
mattijs
12d87fcacc ENH: snappyHexMesh: detect small distance snapping 2013-09-13 16:20:03 +01:00
Sergio Ferraris
c7d1a4b023 ENH:
1) Modification to extrudeToRegionMesh to use extrudeModel point distribution function
2) Addition of firstCellThickness option to linearNormal extrude model
2013-09-12 17:39:32 +01:00
laurence
be937b65dd BUG: foamyQuadMesh: Track and update all region edges 2013-09-11 15:20:41 +01:00
mattijs
f6673d4bb5 BUG: subsetMesh: consistent instance setting 2013-09-11 12:57:42 +01:00
mattijs
969af752ad ENH: patchToPoly2DMesh: added some checking 2013-09-10 08:53:15 +01:00
mattijs
a4909c94bc BUG: extrude2DMesh: upper-triangular reordering 2013-09-09 17:37:01 +01:00
mattijs
3aacc8eb48 BUG: foamyQuadMesh: in case of 90 degrees exactly alignment dirs not set 2013-09-09 15:32:18 +01:00
laurence
f430a501f6 Merge branch 'feature/foamyHexMesh-baffles' 2013-09-06 17:11:45 +01:00
laurence
42b9779bea STYLE: Line lengths 2013-09-06 17:11:33 +01:00
laurence
fa748aad69 Merge branch 'feature/foamyHexMesh-baffles' 2013-09-06 17:04:12 +01:00
laurence
6ffcc03de1 BUG: foamyHexMesh: Missing include and find all intersections function 2013-09-06 17:03:41 +01:00
laurence
19df5f6928 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-06 16:31:12 +01:00
laurence
0df0edf359 ENH: foamyHexMesh: cell/face zone in parallel 2013-09-06 16:30:17 +01:00
mattijs
c40460644f ENH: snappyHexMesh: move writeLevel into snappyHexMeshDict 2013-09-05 09:52:34 +01:00
laurence
040e6d9159 ENH: foamyHexMesh: add face/cell zoning 2013-09-03 21:00:57 +01:00
laurence
57d929497c Merge branch 'feature/foamyHexMesh-baffles' 2013-09-03 11:25:14 +01:00
laurence
eaad256f31 face/cell zoning: Create new class surfaceZonesInfo 2013-09-03 11:09:16 +01:00
laurence
298724b078 REVERT: foamyHexMesh: correct function argument list 2013-09-02 16:09:32 +01:00
laurence
505fef5112 REVERT: foamyHexMesh: correct function argument list 2013-09-02 16:08:14 +01:00
laurence
baad5a48d9 REVERT: foamyHexMesh: do not check inside/outside for surface points 2013-09-02 16:06:14 +01:00
laurence
25d81b1f71 ENH: foamyHexMesh: add hasBoundaryPoint() to indexedCell 2013-09-02 15:29:54 +01:00
laurence
2545d88205 ENH: foamyHexMesh: Insert surface points if internal points are exposed 2013-09-02 15:28:13 +01:00
laurence
bf68378389 BUG: foamyHexMesh: write to own processor file in parallel 2013-09-02 14:16:46 +01:00
laurence
c60419e850 ENH: foamyHexMesh: insert surface points on close parallel surfaces 2013-09-02 12:49:24 +01:00
laurence
d2d6514245 BUG: foamyHexMesh: With surfaces of same priority do not overwrite cell size 2013-09-02 10:54:39 +01:00
laurence
6d224df76a ENH: foamyHexMesh: change inside/outside test to check for nearest intersection 2013-08-30 12:50:02 +01:00
laurence
5e3a057965 ENH: foamyHexMesh: do not allow perturbation to cross surface 2013-08-30 12:19:48 +01:00
laurence
e9cdbdef5e ENH: foamyHexMesh: Allow surface point insertion on close surfaces
ENH: foamyHexMesh: do not point motion to cross surfaces
ENH: foamyHexMesh: do not allow perturbation to cross surface
ENH: foamyHexMesh: change inside/outside test to check for nearest intersection
BUG: foamyHexMesh: With surfaces of same priority do not overwrite cell size
ENH: foamyHexMesh: insert surface points on close parallel surfaces
BUG: foamyHexMesh: write to own processor file in parallel
ENH: foamyHexMesh: Insert surface points if internal points are exposed
ENH: foamyHexMesh: add hasBoundaryPoint() to indexedCell
REVERT: foamyHexMesh: do not check inside/outside for surface points
REVERT: foamyHexMesh: correct function argument list
REVERT: foamyHexMesh: correct function argument list
2013-08-30 12:18:15 +01:00
mattijs
e34f2c8da1 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-09-02 11:12:34 +01:00
laurence
6f4202c08c ENH: foamyHexMesh: do not point motion to cross surfaces 2013-08-30 12:18:15 +01:00
laurence
067c80b0d7 ENH: foamyHexMesh: correct proc boundary intersection in ray shooting 2013-08-29 16:34:39 +01:00
laurence
20a8649a00 ENH: foamyHexMesh: calc maxRayLength from bounds of surface 2013-08-29 16:04:24 +01:00
laurence
8dda57ddbf ENH: foamyHexMesh: correct rayShooting point addition on intersection 2013-08-29 16:00:04 +01:00
laurence
7531ccba9b ENH: foamyHexMesh: add rayShooting initial points method 2013-08-29 15:32:43 +01:00
laurence
94c4d37f63 ENH: foamyHexMesh: check for intersection in inside/outside test 2013-08-28 12:55:22 +01:00
mattijs
77d47e9125 ENH: surfaceToCell: use surface orientation 2013-08-20 16:01:18 +01:00
mattijs
205e1e77bc Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-08-15 15:36:29 +01:00
mattijs
0860c370b5 STYLE: snappyHexMesh: fancy printing 2013-08-15 15:36:17 +01:00
laurence
9883825eed STYLE: correct line widths 2013-08-15 15:01:36 +01:00
andy
04be292f0a Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-08-12 15:52:59 +01:00
mattijs
2f9111a50a BUG: renumberMesh: conversion scalar*label -> label 2013-08-12 12:02:56 +01:00
andy
e67805422f ENH: moveDynamicMesh - output AMI patch names 2013-08-09 12:26:56 +01:00
andy
eef8df7b6a BUG: extrudeToRegionMesh - corrected parallel behaviour 2013-08-07 12:55:34 +01:00
mattijs
560df1929b ENH: snappyHexMesh: extra comment 2013-08-06 17:19:38 +01:00
laurence
0a4b72ee3e ENH: foamyHexMesh: Flip order of evaluation in if statement 2013-08-15 11:55:24 +01:00
laurence
f2dbdd66bf ENH: foamyHexMesh: surface conformation and initial point insertion
autoDensity: Change to reference and correct typo
surfaceConformation: Include Delaunay cells that are entirely made
up of boundary points. Also increase the length of the line to intersect.
2013-08-14 12:40:52 +01:00
laurence
d8aced9070 BUG: foamyHexMesh: Read in non uniform sizing fields correctly 2013-08-13 16:58:04 +01:00