Commit Graph

16160 Commits

Author SHA1 Message Date
2de68a9ae7 BUG: snappyHexMesh: minThickness > 1 caused truncation of layers
The start of the layer addition loop does a synchronisation of the wanted
displacement. This also does a truncation of the displacement if it is <
minThickness. At the first iteration the displacement was initialised to
vector::one which might trigger the truncation logic (and then disable
extrusion altogether). Instead we now initialise the displacement to
vector::GREAT before entering the synchronisation.
2015-10-26 14:37:17 +00:00
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
9c8492ebd1 STYLE: duplicatePoints: indentation 2015-10-14 14:46:57 +01:00
d9aba8b0d1 ENH: polyTopoChange: improved error message 2015-10-14 14:46:11 +01:00
e7203dbd44 BUG: removeCells: handle exposing cyclic faces 2015-10-14 14:45:45 +01:00
428dff7711 ENH: tetDecomposer: continue in case of neg-tet volume 2015-10-14 14:45:01 +01:00
f393f8b2d2 ENH: searchableSurfaces: slight change of API, small style cleanup 2015-10-14 11:38:33 +01:00
9929709bb1 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
17ee8601ac ENH: PointEdgePoint: transport nearest with passive data, using PointEdgeWave 2015-10-14 11:34:56 +01:00
0b54e1cc33 ENH: surfaceIntersection: cleanup 2015-10-14 08:52:32 +01:00
aece1c1c4d ENH: FaceCellWave, localPointRegion: support for local baffles 2015-10-13 16:32:52 +01:00
d36522e64a BUG: surfaceToPoint: read nErode from Istream 2015-10-13 16:28:31 +01:00
6aab56a14f ENH: motionSolver: added displacementMotionSolver run-time selection table 2015-10-13 16:25:44 +01:00
43c92bb09d BUG: polyMeshGeometry: fixed updating of local geometric properties 2015-10-13 16:22:03 +01:00
b4f78778d2 ENH: fvMeshAdd: support dimensionedFields 2015-10-13 16:20:40 +01:00
64d066a4f0 ENH: pointList: simple typedef 2015-10-13 16:09:08 +01:00
42822327b5 ENH: syncTools: have local synchronisation (e.g. cyclics) only 2015-10-13 16:06:56 +01:00
40a8318b1a ENH: IOobject: construct as copy with different name 2015-10-13 16:06:04 +01:00
1e24c133ad COMP: Updated bashrc/cshrc to reflect project name 2015-08-07 14:09:22 +01:00
581d3b4742 Template inflow-outflow case for compressible flow with rhoSimpleFoam 2015-08-06 17:49:14 +01:00
913103ec0a Rename circulators to be consistent with the standard OpenFOAM class naming convention 2015-08-06 16:54:47 +01:00
65e8e2273b polyMeshFromShapeMesh: Change patch face matching to be vertex ordering independent
This simplifies the specification of patch faces in blockMeshDict which
now do need not have any particular ordering of the block vertices.
2015-08-06 16:51:56 +01:00
b2a7bf3e5e inflowOutflow templates: added inlet and outlet groups in snappyHexMeshDict 2015-08-05 18:44:14 +01:00
4372529e46 cloudInfo: Updated for changes to functionObjectFile 2015-08-05 18:01:50 +01:00
8234c04bc2 functionObjectFile: Use wordList rather than wordHashSet to maintain order
Change based on patch provided by Hassan Kassem
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1796
2015-08-05 17:38:31 +01:00
b9e2578cf6 blockMesh: Correct multi-grading support for polyLine
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1809
2015-08-04 19:34:24 +01:00
584fed888d twoPhaseEulerFoam/interfacialModels/dragModels/WenYu: Corrected Re -> Re*alpha_g
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1794
2015-08-04 13:29:11 +01:00
4fad84b6ef blockMesh: Improve multi-grading so that the divisions are independent of section ordering
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1809
2015-08-02 22:14:26 +01:00
19dcf83b6a paraFoam: add support for system/blockMeshDict with the -block option
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1803
2015-08-01 18:36:00 +01:00
251526e024 Removed trailing whitespace
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1805
2015-08-01 15:43:05 +01:00
71637beceb Updated header 2015-08-01 15:42:41 +01:00
d7f794c7d4 hexRef8: Corrected template specialization to support 64bit labels
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1807
2015-08-01 15:41:50 +01:00
d022214d87 ReversibleReaction: Corrected test
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1804
2015-08-01 15:40:52 +01:00
7be9bb61e6 tutorials/incompressible/SRFSimpleFoam/mixer: Improved case setup and schemes 2015-07-24 17:01:27 +01:00
35ed4853a6 waveSurfacePressureFvPatchScalarField: Upgrade timeScheme -> ddtScheme 2015-07-24 11:30:48 +01:00
b299bad95c fvSchemes: Handle merging of fluxRequired settings
during re-reading of the fvSchemes dictionary
2015-07-24 11:30:08 +01:00
37cfc3ab46 tutorials: Removed unnecessary spaces between parentheses and values in vectors 2015-07-21 20:55:44 +01:00
365f9b0006 dimensioned<Type>: Added constructor from name, dimensions and dictionary
to simplify construction of dimensionedScalar properties and avoid the
duplication of the name string in the constructor call.
2015-07-21 12:57:07 +01:00
4c21f24a8c Input of dimensionedScalars: update read-construction of dimensionedScalar in applications
so that the specification of the name and dimensions are optional in property dictionaries.

Update tutorials so that the name of the dimensionedScalar property is
no longer duplicated but optional dimensions are still provided and are
checked on read.
2015-07-20 22:52:53 +01:00
745e07e6b1 Template case files: added model coeffs to transportProperties 2015-07-20 13:29:23 +01:00
7810d4327c SRFSimpleFoam, SRFPimpleFoam: Use absolute U for the production term in turbulence models
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1788
2015-07-19 19:05:06 +01:00
5f865a4472 seulex: initialize errOld to avoid warning from gcc-4.7.? 2015-07-19 14:14:57 +01:00
ecb6bb66b9 ptscotchDecomp.C: include mpi.h as a system header 2015-07-19 14:14:36 +01:00
e81e6155db dynamicRefineFvMesh: Updated for new sigFpe 2015-07-19 12:44:15 +01:00
99d72cee8a dynamicRefineFvMesh: Updated for new sigFpe 2015-07-19 12:43:47 +01:00
00279d617a sigFpe: Replace the deprecated __malloc_hook with a special malloc
This malloc overrides the one provided by GLIBC and calls mallocNan
which initializes the allocated block of memory to NaN if enabled by the
FOAM_SETNAN environment variable.
2015-07-19 12:39:44 +01:00
a316fa6a09 Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-dev 2015-07-19 11:33:09 +01:00
91e04d69c1 Resolve various unimportant warning messages from Gcc, Clang and Icpc 2015-07-19 11:31:49 +01:00
efe7713d9b surfaceFeatureExtractDict templates: added trimFeatures options 2015-07-18 18:58:20 +01:00
6555f605f0 thermophysicalModels: Correcting handling of the inheritance of virtual functions
to avoid warnings from Clang
2015-07-18 12:26:25 +01:00