Commit Graph

68 Commits

Author SHA1 Message Date
Henry Weller
4e5dc43418 snappyHexMesh: Added "noRefinement" writeFlag to control the writing of cellLevel, pointLevel etc. files
By default snappyHexMesh writes files relating to the hex-splitting process into
the polyMesh directory: cellLevel level0Edge pointLevel surfaceIndex

but by setting the noRefinement flag:

writeFlags
(
    noRefinement
    .
    .
    .
);

these optional files which are generally not needed are not written.

If you run the three stages of snappyHexMesh separately or run a dynamic mesh
solver supporting refinement and unrefinement these files are needed
and "noRefinement" should not be set.
2017-01-24 22:28:36 +00:00
Henry Weller
126125c185 Rationalized the keyword to specify a file name in a dictionary to 'file'
e.g. in tutorials/heatTransfer/buoyantSimpleFoam/externalCoupledCavity/0/T

    hot
    {
        type            externalCoupledTemperature;
        commsDir        "${FOAM_CASE}/comms";
        file            "data";
        initByExternal  yes;
        log             true;
        value           uniform 307.75; // 34.6 degC
    }

Previously both 'file' and 'fileName' were used inconsistently in different
classes and given that there is no confusion or ambiguity introduced by using
the simpler 'file' rather than 'fileName' this change simplifies the use and
maintenance of OpenFOAM.
2017-01-07 09:38:54 +00:00
Henry Weller
274d1df8a4 snappyHexMesh: Automatically remove zero-sized patches
All patches are preserved if the 'keepPatches' option is set true.
Patch contributed by Mattijs Janssens
2016-05-13 17:47:38 +01:00
Henry Weller
2d5ff31649 boundaryField() -> boundaryFieldRef() 2016-04-24 22:07:37 +01:00
Henry Weller
2bbc844ea0 Rationalize the autoMesh library: autoHexMesh -> snappyHexMesh
autoRefine -> snappyRefine
autoLayer -> snappyLayer
autoSnap -> snappySnap
2016-03-01 16:21:31 +00:00
Henry Weller
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +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
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +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
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
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
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
ed1ecd5f7a BUG: snappyHexMesh: outFile is fileName, not word 2013-07-03 12:49: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
1cf850f164 ENH: snappyHexMesh: print final mesh check 2013-04-11 15:16:06 +01:00
mattijs
e2d2f505fb ENH: snappyHexMesh: keep orientation of baffle 2012-12-05 15:50:56 +00:00
mattijs
434e2fafcd ENH: searchableSurfaces: add checking routines 2012-11-13 12:20:02 +00:00
mattijs
c76acdd6ff ENH: snappyHexMesh: added new dictionary entries 2012-09-12 09:08:57 +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
9b30d01b96 ENH: snappyHexMesh: removed checking code since now in checkMesh 2012-05-16 14:43:26 +01:00
mattijs
1630b2df9e ENH: snappyHexMesh: added option to check mesh 2012-02-03 12:47:43 +00:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
mattijs
3e71574d8a ENH: snappyHexMesh: initial feature-line support 2011-04-05 11:56:57 +01: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
5f43ae45ec ENH: allow patch specification; have conforming faceZones after layering 2010-09-30 14:13:46 +01:00
mattijs
dafbfb5c20 ENH: multiLevel decomposition method. 2010-06-04 15:31:19 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +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
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
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