Commit Graph

255 Commits

Author SHA1 Message Date
mattijs
8864223aed ENH: copyright: make consistent with OpenFOAM-history 2015-12-19 14:22:30 +00:00
mattijs
4a8abe78f5 Merge branch 'feature_shm_zoning' into develop
Conflicts:
	src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/refinementParameters/refinementParameters.C
	src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinement.H
	src/mesh/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C
2015-12-15 20:10:10 +00:00
mattijs
97f58f1ea3 ENH: snappyHexMesh: fix behaviour of allowFreeStandingZoneBaffles
See comment in $FOAM_UTILITIES snappyHexMeshDict
2015-12-15 17:36:45 +00:00
mattijs
2c6558ec20 ENH: snappyHexMeshDict: added comment for limitRegions 2015-12-14 14:34:32 +00:00
mattijs
ff56809375 ENH: autoHexMesh: allow location-in-mesh to be made into a cellZone
Normally the location-in-mesh is equivalent to a cellZone -1. This can
now be overridden by a surface-specified cellZone as before.
2015-12-10 11:50:42 +00:00
Andrew Heather
5c9dff6146 GIT: Resolved conflict 2015-12-09 16:19:28 +00:00
Andrew Heather
8837a89237 STYLE: Updated links from openfoam.org to openfoam.com 2015-12-09 15:03:05 +00:00
Andrew Heather
3f55f752fc GIT: Resolve conflict with upstream merge from Foundation 2015-12-07 17:07:20 +00:00
mattijs
f0bc2d9faa ENH: parallel: added -decomposeParDict option to
- foamyHexMesh
- snappyHexMesh
- decomposePar
2015-11-24 17:35:18 +00:00
mattijs
930a87a74e ENH: fvMotionSolvers: updated comment, renamed function 2015-11-23 11:52:28 +00:00
mattijs
8f5997bb6a ENH: displacementMotionSolver: additional hierarchy
- shm: have displacementMotionSolver as alternative mesh shrinker
  (instead of medialAxis).
- updated iglooWithFridges tutorial to use displacementLaplacian
- selectable interpolation from cells to points in the motion solvers
  using the 'interpolation' keyword:
    interpolation volPointInterpolation;    // default
    or
    interpolation patchCorrected (lowerWall upperWall);
- wrapped up mesh shrinkers (see above) for use as a displacementMotionSolver
  (i.e. the opposite of the displacementMotionSolver mesh shrinker)
2015-11-19 09:35:20 +00:00
Henry Weller
e2ef006b91 applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
mattijs
afa6bd5056 ENH: snappyHexMesh: added to automatic gap-refinement capabilities
1. multi-ray shooting. It now shoots rays in all the 3 coordinate directions
from the cell centre. Before it would shoot just a single ray from the
nearest point on the surface, going through the cell centre.

There is a cost overhead in that now it shoots 6 rays (+-x, +-y, +-z)
instead of just 1.

2. bleeding of refinement. It marks the cells inside a gap and walks out
the gap-size to neighbouring cells (which are just outside the gap). This
should make for a smoother refinement pattern.
2015-10-28 13:34:51 +00:00
mattijs
9dd6a5b003 ENH: snappyHexMesh: add automatic gap-level detection and refinement 2015-10-28 13:28:32 +00:00
mattijs
4d1159e685 ENH: snappyHexMesh: various improvements. See below or the default snappyHexMeshDict.
Refinement:
-----------
// Optionally avoid patch merging - keeps hexahedral cells
// (to be used with automatic refinement/unrefinement)
//mergePatchFaces off;

// Optional multiple locationsInMesh with corresponding optional cellZone
// (automatically generates faceZones inbetween)
locationsInMesh
(
    ((-0.09 -0.039 -0.049)  bottomAir)  // cellZone bottomAir
    ((-0.09 0.009 -0.049)   topAir)     // cellZone topAir
);

// Optional faceType and patchType specification for these faceZones
faceZoneControls
{
    bottomAir_to_topAir
    {
        faceType baffle;
    }
}

/ Optional checking of 'bleeding' of mesh through a specifying a locations
// outside the mesh
locationsOutsideMesh ((0 0 0)(12.3 101.17 3.98));

// Improved refinement: refine all cells with all (or all but one) sides refined

// Improved refinement: refine all cells with opposing faces with different
// refinement level. These cells can happen on multiply curved surfaces.
// Default on, can be switched off with
//interfaceRefine false;

Snapping
--------
// Optional smoothing of points at refinement interfaces. This will reduce
// the non-orthogonality at refinement interfaces.
//nSmoothInternal $nSmoothPatch;

Layering
--------

// Layers can be added to patches or to any side of a faceZone.
// (Any faceZone internally gets represented as two patches)

// The angle to merge patch faces can be set independently of the
// featureAngle. This is especially useful for large feature angles
// Default is the same as the featureAngle.
//mergePatchFacesAngle 45;

// Optional mesh shrinking type 'displacementMotionSolver'. It uses any
// displacementMotionSolver, e.g. displacementSBRStress
// (default is the medial-axis algorithm, 'displacementMedialAxis')
//meshShrinker displacementMotionSolver;
2015-10-14 14:49:37 +01:00
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +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
OpenFOAM-admin
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +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
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
a7799adeb8 ENH: snappyHexMeshDict: added new settings 2013-12-04 15:47:42 +00:00
mattijs
202d7c1ad3 ENH: snappyHexMesh: fix growing of attraction. Split off debug/writing/output 2013-11-12 09:00:04 +00:00
mattijs
cca229f785 ENH: snappyHexMesh: layer coverage volfields 2013-10-30 15:17:57 +00:00
mattijs
1f63b86824 ENH: snappyHexMeshDict: added comment 2013-10-17 11:49:14 +01:00
mattijs
ca8b37a4c8 ENH: snappyHexMeshDict: improved comment 2013-10-03 10:41:27 +01:00
mattijs
12d87fcacc ENH: snappyHexMesh: detect small distance snapping 2013-09-13 16:20:03 +01:00
mattijs
c40460644f ENH: snappyHexMesh: move writeLevel into snappyHexMeshDict 2013-09-05 09:52:34 +01:00
laurence
eaad256f31 face/cell zoning: Create new class surfaceZonesInfo 2013-09-03 11:09:16 +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
mattijs
560df1929b ENH: snappyHexMesh: extra comment 2013-08-06 17:19:38 +01:00
laurence
e7388fefb8 REVERT: surfaceSimplify: Use background mesh to start surfaceSimplify 2013-08-12 11:12:16 +01:00
laurence
0415e5689c ENH: Write out cell centres when running surfaceSimplify in snappyHexMesh.
Also provide option to not do inside outside test when reading points into
foamyHexMesh from file
2013-08-08 12:59:40 +01:00
mattijs
102805befe ENH: snappyHexMesh: improved table printing 2013-07-18 13:09:43 +01:00
mattijs
8fdce7f8cf ENH: snappyHexMesh: writing pointLevel,cellLevel under switch 2013-07-09 11:06:46 +01:00
mattijs
d35926b0eb BUG: snappyHexMesh: refinementSurfaces fix 2013-07-05 15:19:53 +01:00
mattijs
a5dae2480f ENH: snappyHexMeshDict: added comment 2013-07-04 12:29:55 +01:00
mattijs
ed1ecd5f7a BUG: snappyHexMesh: outFile is fileName, not word 2013-07-03 12:49:59 +01:00
mattijs
f2397e7f41 ENH: snappyHexMesh: clean up mesh quality settings 2013-07-02 15:01:32 +01:00
laurence
a0a162948f COMP: Add surfMesh dependency to snappyHexMesh 2013-06-04 09:58:59 +01:00
laurence
c644cb680b Merge branch 'master' into feature/cvMesh
Conflicts:
	applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C
2013-06-03 16:27:14 +01:00
laurence
5d26732b7e ENH: snappyHexMesh: update outfile location for surfaceSimplify 2013-06-03 14:59:05 +01:00
mattijs
b965b9e783 ENH: snappyHexMesh: added gapLevelIncrement to outer dictionary 2013-06-03 13:29:22 +01:00
laurence
28868e97bb ENH: Add a surfaceSimplify option to snappyHexMesh 2013-06-03 12:40:26 +01:00
mattijs
487ef5ac0b ENH: snappyHexMeshDict: improved setting in comment 2013-05-31 16:49:18 +01:00
mattijs
55fd1ac9fd ENH: snappyHexMeshDict: commented new options 2013-05-30 10:39:33 +01:00
mattijs
25a373bd39 ENH: snappyHexMesh: enable free-standing baffle merging 2013-05-16 12:49:16 +01:00
mattijs
34cc904b9d BUG: snappyHexMeshDict: incorrect variable 2013-05-08 12:58:09 +01:00
mattijs
d9afcb75d3 ENH: snappyHexMesh: update with code 2013-04-29 15:21:56 +01:00
mattijs
1cf850f164 ENH: snappyHexMesh: print final mesh check 2013-04-11 15:16:06 +01:00
mattijs
634d643090 ENH: snappyHexMeshDict: improved comment 2013-04-02 18:13:31 +01:00
mattijs
8d809e15ca ENH: snappyHexMeshDict: specify patch groups 2012-12-11 15:57:17 +00:00
mattijs
e2d2f505fb ENH: snappyHexMesh: keep orientation of baffle 2012-12-05 15:50:56 +00:00
andy
7888a0d8bb ENH: Updated comment/description 2012-11-19 09:37:41 +00:00
mattijs
e65512be4e COMP: sampling: moved sampledSet writing to fileFormats 2012-11-16 13:13:39 +00:00
mattijs
434e2fafcd ENH: searchableSurfaces: add checking routines 2012-11-13 12:20:02 +00:00
mattijs
6da9df714c ENH: snappyHexMesh: allow layer thickness specification by total thickness 2012-11-01 12:50:39 +00:00
mattijs
357939a770 ENH: snappyHexMesh: refine by distance to feature 2012-10-29 13:20:42 +00:00
mattijs
2746ec8764 ENH: snappyHexMeshDict: updated comment 2012-10-26 14:40:04 +01:00
mattijs
0ace34f62e ENH: snappyHexMesh: additional parameter for layer truncation 2012-10-05 11:13:35 +01:00
mattijs
95572f359f ENH: snappyHexMeshDict: updated comment 2012-09-27 15:21:11 +01:00
mattijs
4bc26d46bd ENH: snappyHexMeshDict: improved comment 2012-09-20 13:00:16 +01:00
mattijs
c76acdd6ff ENH: snappyHexMesh: added new dictionary entries 2012-09-12 09:08:57 +01:00
mattijs
963e86e8bf STYLE: snappyHexMeshDict: added comment 2012-07-13 11:43:38 +01:00
mattijs
2d1efdaa6c ENH: snappyHexMesh: run without decomposeParDict 2012-07-10 10:03:32 +01:00
mattijs
33656b3969 ENH: snappyHexMesh: run without decomposeParDict 2012-07-04 10:01:25 +01:00
mattijs
151b59ef5a STYLE: snappyHexMeshDict: indenting 2012-06-20 04:44:07 +01:00
mattijs
9b30d01b96 ENH: snappyHexMesh: removed checking code since now in checkMesh 2012-05-16 14:43:26 +01:00
mattijs
0993f29f70 STYLE: snappyHexMeshDict: updated comment 2012-05-01 17:11:21 +01:00
mattijs
bdfbea228c STYLE: snappyHexMeshDict, surfaceMeshTriangulate: corrected comment 2012-04-10 12:33:45 +01:00
mattijs
124295b3c9 ENH: autoSnapDriver: preserve baffles on faceZone surfaces 2012-04-02 18:02:16 +01:00
mattijs
1630b2df9e ENH: snappyHexMesh: added option to check mesh 2012-02-03 12:47:43 +00:00
mattijs
cb6c3452e7 STYLE: snappyHexMeshDict: added writing of cellCentre fields in debug mode 2011-11-18 11:28:01 +00:00
mattijs
d6ef1ac9d1 STYLE: snappyHexMeshDict: changed default 2011-11-15 18:18:25 +00:00
mattijs
1d60681ec5 STYLE: snappyHexMeshDict: added comment for additionalReporting 2011-09-21 09:52:41 +01:00
mattijs
01e3850eda STYLE: snappyHexMeshDict: adapted comment on maxLocalCells. 2011-09-16 18:23:47 +01:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
mattijs
9576c18c02 ENH: snappyHexMeshDict: changed default feature 2011-07-19 22:08:51 +01:00
OpenFOAM-admin
c720299876 ENH: Reverted back to version dev 2011-06-17 10:08:20 +01:00
mattijs
4f47ff0219 STYLE: dictionaries: update version number 2011-06-10 17:22:56 +01:00
mattijs
c01101a275 ENH: snappyHexMeshDict: show patch type specification 2011-06-03 01:45:24 +01:00
mattijs
5c50c64de4 ENH: snappyHexMesh: updated comment 2011-05-23 16:10:32 +01:00
mattijs
19332dc06e STYLE: fixed headers. 2011-04-06 19:20:36 +01:00
mattijs
3e71574d8a ENH: snappyHexMesh: initial feature-line support 2011-04-05 11:56:57 +01:00
mattijs
63ecc03d76 STYLE: snappyHexMeshDict: updated comment 2011-03-01 18:02:51 +00:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
mattijs
da7dbc53db ENH: snapypHexMeshDict : updated comment 2010-11-04 12:46:03 +00:00
mattijs
049df0265b COMP: ptscotchDecomp : use dummy version to resolve link dependencies 2010-10-13 14:06:58 +01:00
mattijs
5f43ae45ec ENH: allow patch specification; have conforming faceZones after layering 2010-09-30 14:13:46 +01:00
graham
ebb9a9e1ac ENH: tet decomposed particle tracking.
Squashed merge of particleInteractions up to
commit e7cb5bcf0315c359539ef1e715e1d51991343391
2010-09-17 16:59:17 +01:00
graham
67136c25ee STYLE: Remove tabs. 2010-07-27 12:24:27 +01:00
henry
ccfb6e32a6 Corrected headers. 2010-06-23 16:54:54 +01:00
mattijs
fbe04b18ec Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	src/parallel/decompose/scotchDecomp/scotchDecomp.C
2010-06-04 16:09:16 +01:00
mattijs
dafbfb5c20 ENH: multiLevel decomposition method. 2010-06-04 15:31:19 +01:00
andy
28b1a9e2c6 Merge branch 'olesenm' 2010-06-03 10:25:03 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
Mark Olesen
895a077cb1 STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +02:00
mattijs
78e5ef9dbd ENH: specification of selection of cellZone in snappyHexMeshDict.
Now allows specification of inside point to help leaky surfaces.
2010-05-17 11:45:01 +01:00
mattijs
3b53ff5658 ENH: Make snappyHexMeshDict consistent with nGrow change.
nGrow in 1.6.x was always taken to be 0!
2010-04-12 17:27:39 +01:00
Mark Olesen
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
mattijs
d01adb74e3 ENH: Added tet volume check to checkMesh and snappyHexMesh 2010-03-26 13:39:51 +00:00
mattijs
5d93fbe16d ENH: Removed parmetis. Use ptscotch instead. 2010-03-22 16:48:48 +00:00
mattijs
9f5c39af53 ENH: have ptscotch
ptscotch - compiles into ptscotchDecomp. All thirdparty decompositionMethods
now moved out of decompositionMethods so add them explicitly to link line
for programs that need them (decomposePar, snappyHexMesh etc.)
2010-03-22 15:38:35 +00:00
andy
dc06f24a0c ENH: Split src/parallel into decompse and reconstruct to remove cyclic build dependency 2010-03-18 12:23:01 +00:00
Mark Olesen
ee293cde8e ENH: add usage information for '-overwrite' option.
- make centrally available via #include "addOverwriteOption.H"
2010-02-16 11:44:27 +01:00
Mark Olesen
8426ca1a8c Merge commit 'OpenCFD/master' into olesenm 2010-02-03 17:40:37 +01:00
mattijs
36346ec1a2 ENH: Do a weighted balance before refinement and layer addition.
Have weight=7 on cells to be refined and balance. Then after refinement
there will be perfect balancing. Similar for layer addition.
2010-02-03 06:18:30 +00:00
Mark Olesen
a070321792 ENH: Add usage information for snappyHexMesh -overwrite option.
Make debug optional.

- minor wording changes in the messages
2010-02-02 15:39:45 +01:00
mattijs
c9033fc36f Added optional settings at comment 2010-01-15 17:14:06 +00:00
mattijs
b877323a33 Added baffle option and corrected default setting
When faceZones are present one has to decide whether to have zone faces
only on the edge of cellZones or also freestanding.
The setting for minMedialAxisAngle was corrected since the calculation
has also been corrected.
2009-12-15 15:56:35 +00:00
Mark Olesen
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01:00
Mark Olesen
58b7e64185 Use argList::addOption, argList::addBoolOption (almost) everywhere
- ensure that the standard options (eg, from timeSelector) also have
  some usage information
2009-12-03 13:32:12 +01:00
mattijs
47eb0c5cd2 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake
2009-12-01 16:47:45 +00:00
mattijs
648e485e7d adapted angle for medial axis determination 2009-11-26 13:06:56 +00:00
Mark Olesen
2c52705cf7 move reconstructPar 'guts' to src/parallel/reconstruct
- in preparation for adding an optional '-reconstruct' to a few utilities
  re-use as -lreconstruct library

- move related stuff there too
      src/decompositionMethods/decompositionMethods
      -> src/parallel/decompositionMethods

- added missing namespace qualifiers
2009-11-20 14:37:56 +01:00
Mark Olesen
9dea06e9d8 Merge commit 'OpenCFD/master' into olesenm 2009-09-22 09:33:23 +02:00
Mark Olesen
0e5899b841 relocate autoMesh -> mesh/autoMesh 2009-09-21 13:07:40 +02:00
mattijs
2cee56ee01 extra printing 2009-09-15 15:02:41 +01:00
mattijs
c01cfedba8 added some comment 2009-09-04 12:44:45 +01:00
mattijs
fe0745476d revert to reading surfaces from constant so parallel works out of the box 2009-08-04 16:43:38 +01:00
henry
816f6b3488 Updated the headers. 2009-07-24 17:01:31 +01:00
mattijs
9015b7f493 added comment 2009-07-07 18:54:19 +01:00
mattijs
95dfa44497 missing entry 2009-07-01 13:54:20 +01:00
mattijs
2d9ea72b6a allow -overwrite in snappyHexMesh 2009-06-09 14:02:10 +01:00
mattijs
466b95af86 use extrapolated cell-centre for testing;moved added patch information into meshRefinement class 2009-06-08 18:03:12 +01:00
mattijs
c203c3d6fd fixed layer addition iterations 2009-04-09 13:04:23 +01:00
mattijs
bfb8d042fd split of decompositionAgglomeration 2009-04-02 13:29:28 +01:00
mattijs
9ec530528f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-10 12:50:34 +00:00
mattijs
11d9c0f279 rename snappy parameter 2009-03-05 17:01:31 +00:00
mattijs
aa7be71de3 problem cell deletion 2009-03-05 13:11:28 +00:00
Mark Olesen
507ad1e643 Merge commit 'OpenCFD/master' into olesenm 2009-02-25 10:50:26 +01:00
mattijs
af8a42067c collapse cell detection 2009-02-24 12:05:35 +00:00
Mark Olesen
4b60453cf1 use while (runTime.loop() { .. } where possible in solvers
- change system/controlDict to use functions {..} instead of functions (..);
  * This is internally more efficient
- fixed formatting of system/controlDict functions entry

- pedantic change: use 'return 0' instead of 'return(0)' in the applications,
  since return is a C/C++ keyword, not a function.
2009-02-18 08:57:10 +01:00
mattijs
5ec940465b missing link libraries 2009-01-30 14:44:44 +00:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
dcc82bf77b boundingBox has mag() and span() methods - use them 2008-12-31 17:58:23 +01:00
mattijs
ffa75238a6 comment 2008-12-11 15:49:29 +00:00
mattijs
a105eaf3ac printing 2008-09-15 12:15:22 +01:00
mattijs
7fa60e67a5 added argument 2008-08-19 14:00:10 +01:00
Mark Olesen
5e5b26edd5 update dictionary headers and FoamFile entry to 1.5 format 2008-07-14 14:50:35 +02:00
Mark Olesen
ff2040f26f fixup copyright dates 2008-07-14 14:49:20 +02:00
mattijs
15cad22d8c split autoHexMeshDriver; updated header 2008-07-09 00:21:36 +01:00
mattijs
72fb77ccce updated sample dictionary 2008-07-08 12:07:54 +01:00