From 0f0dd354138258334faed46e8ae8e4d2b685e403 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 28 Apr 2011 10:40:26 +0100 Subject: [PATCH] STYLE: createPatchDict: updated comment --- ReleaseNotes-dev | 7 ++-- .../manipulation/createPatch/createPatchDict | 4 +-- .../smallPoolFire2D/system/createPatchDict | 25 ++++++++++++--- .../smallPoolFire3D/system/createPatchDict | 25 ++++++++++++--- .../system/createPatchDict | 32 +++++++++++++++---- .../cylinder/system/createPatchDict | 31 +++++++++++++++--- .../splashPanel/system/createPatchDict | 31 +++++++++++++++--- .../system/wallFilmRegion/createPatchDict | 31 +++++++++++++++--- 8 files changed, 151 insertions(+), 35 deletions(-) diff --git a/ReleaseNotes-dev b/ReleaseNotes-dev index fa80518f35..9ba620e2dc 100644 --- a/ReleaseNotes-dev +++ b/ReleaseNotes-dev @@ -120,6 +120,8 @@ + reuses tracking state in interpolation - improves consistency and speed *** *Updated* split cyclics into two separate patches. See [[./doc/changes/splitCyclic.txt]] + * *New* cyclics (and all coupled patches) have optional + matchTolerance entry to allow looser area matching tolerance. * *Updated* interpolation (volPointInterpolation) now works without the globalPointPatch. Moving mesh cases can now be run non-parallel and continued in parallel and reconstructed without any limitation. @@ -312,8 +314,3 @@ * Other + compilable with =clang= In your prefs.sh set the WM_COMPILER to Clang - + dlclose error: upon exit of e.g. paraFoam you can get the error - Inconsistency detected by ld.so: dl-close.c: 731: _dl_close: Assertion - `map->l_init_called' failed! - This seems to happen with a mix of system libraries and a thirdParty - compiler. diff --git a/applications/utilities/mesh/manipulation/createPatch/createPatchDict b/applications/utilities/mesh/manipulation/createPatch/createPatchDict index 1b9801cad9..60719b72c3 100644 --- a/applications/utilities/mesh/manipulation/createPatch/createPatchDict +++ b/applications/utilities/mesh/manipulation/createPatch/createPatchDict @@ -37,12 +37,12 @@ FoamFile // - in polyMesh/boundary file: // - loosen matchTolerance of all cyclics to get case to load // - or change patch type from 'cyclic' to 'patch' -// - regenerate cyclic as above +// and regenerate cyclic as above // Do a synchronisation of coupled points after creation of any patches. // Note: this does not work with points that are on multiple coupled patches -// with transformations. +// with transformations (i.e. cyclics). pointSync false; // Patches to create. diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/createPatchDict b/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/createPatchDict index 6f22c41d23..a2ec3c3d22 100644 --- a/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/createPatchDict +++ b/tutorials/combustion/fireFoam/les/smallPoolFire2D/system/createPatchDict @@ -22,13 +22,28 @@ FoamFile // is done for all coupled faces, not just for any patches created. // - optional: synchronise points on coupled patches. -// Tolerance used in matching faces. Absolute tolerance is span of -// face times this factor. To load incorrectly matches meshes set this -// to a higher value. -matchTolerance 1e-3; +// 1. Create cyclic: +// - specify where the faces should come from +// - specify the type of cyclic. If a rotational specify the rotationAxis +// and centre to make matching easier +// - always create both halves in one invocation with correct 'neighbourPatch' +// setting. +// - optionally pointSync true to guarantee points to line up. + +// 2. Correct incorrect cyclic: +// This will usually fail upon loading: +// "face 0 area does not match neighbour 2 by 0.0100005%" +// " -- possible face ordering problem." +// - in polyMesh/boundary file: +// - loosen matchTolerance of all cyclics to get case to load +// - or change patch type from 'cyclic' to 'patch' +// and regenerate cyclic as above + // Do a synchronisation of coupled points after creation of any patches. -pointSync true; +// Note: this does not work with points that are on multiple coupled patches +// with transformations (i.e. cyclics). +pointSync false; // Patches to create. patches diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire3D/system/createPatchDict b/tutorials/combustion/fireFoam/les/smallPoolFire3D/system/createPatchDict index 6f22c41d23..a2ec3c3d22 100644 --- a/tutorials/combustion/fireFoam/les/smallPoolFire3D/system/createPatchDict +++ b/tutorials/combustion/fireFoam/les/smallPoolFire3D/system/createPatchDict @@ -22,13 +22,28 @@ FoamFile // is done for all coupled faces, not just for any patches created. // - optional: synchronise points on coupled patches. -// Tolerance used in matching faces. Absolute tolerance is span of -// face times this factor. To load incorrectly matches meshes set this -// to a higher value. -matchTolerance 1e-3; +// 1. Create cyclic: +// - specify where the faces should come from +// - specify the type of cyclic. If a rotational specify the rotationAxis +// and centre to make matching easier +// - always create both halves in one invocation with correct 'neighbourPatch' +// setting. +// - optionally pointSync true to guarantee points to line up. + +// 2. Correct incorrect cyclic: +// This will usually fail upon loading: +// "face 0 area does not match neighbour 2 by 0.0100005%" +// " -- possible face ordering problem." +// - in polyMesh/boundary file: +// - loosen matchTolerance of all cyclics to get case to load +// - or change patch type from 'cyclic' to 'patch' +// and regenerate cyclic as above + // Do a synchronisation of coupled points after creation of any patches. -pointSync true; +// Note: this does not work with points that are on multiple coupled patches +// with transformations (i.e. cyclics). +pointSync false; // Patches to create. patches diff --git a/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/system/createPatchDict b/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/system/createPatchDict index 388d8a9dfe..3c2b632b58 100644 --- a/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/system/createPatchDict +++ b/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/system/createPatchDict @@ -15,15 +15,35 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Tolerance used in matching faces. Absolute tolerance is span of -// face times this factor. To load incorrectly matches meshes set this -// to a higher value. -matchTolerance 1e-3; +// This application/dictionary controls: +// - optional: create new patches from boundary faces (either given as +// a set of patches or as a faceSet) +// - always: order faces on coupled patches such that they are opposite. This +// is done for all coupled faces, not just for any patches created. +// - optional: synchronise points on coupled patches. + +// 1. Create cyclic: +// - specify where the faces should come from +// - specify the type of cyclic. If a rotational specify the rotationAxis +// and centre to make matching easier +// - always create both halves in one invocation with correct 'neighbourPatch' +// setting. +// - optionally pointSync true to guarantee points to line up. + +// 2. Correct incorrect cyclic: +// This will usually fail upon loading: +// "face 0 area does not match neighbour 2 by 0.0100005%" +// " -- possible face ordering problem." +// - in polyMesh/boundary file: +// - loosen matchTolerance of all cyclics to get case to load +// - or change patch type from 'cyclic' to 'patch' +// and regenerate cyclic as above + // Do a synchronisation of coupled points after creation of any patches. // Note: this does not work with points that are on multiple coupled patches -// with transformations. -pointSync true; +// with transformations (i.e. cyclics). +pointSync false; // Patches to create. patches diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/cylinder/system/createPatchDict b/tutorials/lagrangian/reactingParcelFilmFoam/cylinder/system/createPatchDict index fd20a082b8..0f0db31a6c 100644 --- a/tutorials/lagrangian/reactingParcelFilmFoam/cylinder/system/createPatchDict +++ b/tutorials/lagrangian/reactingParcelFilmFoam/cylinder/system/createPatchDict @@ -12,14 +12,37 @@ FoamFile class dictionary; object createPatchDict; } + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Tolerance used in matching faces. Absolute tolerance is span of -// face times this factor. To load incorrectly matches meshes set this -// to a higher value. -matchTolerance 1E-3; +// This application/dictionary controls: +// - optional: create new patches from boundary faces (either given as +// a set of patches or as a faceSet) +// - always: order faces on coupled patches such that they are opposite. This +// is done for all coupled faces, not just for any patches created. +// - optional: synchronise points on coupled patches. + +// 1. Create cyclic: +// - specify where the faces should come from +// - specify the type of cyclic. If a rotational specify the rotationAxis +// and centre to make matching easier +// - always create both halves in one invocation with correct 'neighbourPatch' +// setting. +// - optionally pointSync true to guarantee points to line up. + +// 2. Correct incorrect cyclic: +// This will usually fail upon loading: +// "face 0 area does not match neighbour 2 by 0.0100005%" +// " -- possible face ordering problem." +// - in polyMesh/boundary file: +// - loosen matchTolerance of all cyclics to get case to load +// - or change patch type from 'cyclic' to 'patch' +// and regenerate cyclic as above + // Do a synchronisation of coupled points after creation of any patches. +// Note: this does not work with points that are on multiple coupled patches +// with transformations (i.e. cyclics). pointSync false; // Patches to create. diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/system/createPatchDict b/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/system/createPatchDict index 4219544bef..625197ef29 100644 --- a/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/system/createPatchDict +++ b/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/system/createPatchDict @@ -12,14 +12,37 @@ FoamFile class dictionary; object createPatchDict; } + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Tolerance used in matching faces. Absolute tolerance is span of -// face times this factor. To load incorrectly matches meshes set this -// to a higher value. -matchTolerance 1E-3; +// This application/dictionary controls: +// - optional: create new patches from boundary faces (either given as +// a set of patches or as a faceSet) +// - always: order faces on coupled patches such that they are opposite. This +// is done for all coupled faces, not just for any patches created. +// - optional: synchronise points on coupled patches. + +// 1. Create cyclic: +// - specify where the faces should come from +// - specify the type of cyclic. If a rotational specify the rotationAxis +// and centre to make matching easier +// - always create both halves in one invocation with correct 'neighbourPatch' +// setting. +// - optionally pointSync true to guarantee points to line up. + +// 2. Correct incorrect cyclic: +// This will usually fail upon loading: +// "face 0 area does not match neighbour 2 by 0.0100005%" +// " -- possible face ordering problem." +// - in polyMesh/boundary file: +// - loosen matchTolerance of all cyclics to get case to load +// - or change patch type from 'cyclic' to 'patch' +// and regenerate cyclic as above + // Do a synchronisation of coupled points after creation of any patches. +// Note: this does not work with points that are on multiple coupled patches +// with transformations (i.e. cyclics). pointSync false; // Patches to create. diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/system/wallFilmRegion/createPatchDict b/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/system/wallFilmRegion/createPatchDict index 33de1c0073..2ad8690d9c 100644 --- a/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/system/wallFilmRegion/createPatchDict +++ b/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/system/wallFilmRegion/createPatchDict @@ -12,14 +12,37 @@ FoamFile class dictionary; object createPatchDict; } + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// Tolerance used in matching faces. Absolute tolerance is span of -// face times this factor. To load incorrectly matches meshes set this -// to a higher value. -matchTolerance 1E-3; +// This application/dictionary controls: +// - optional: create new patches from boundary faces (either given as +// a set of patches or as a faceSet) +// - always: order faces on coupled patches such that they are opposite. This +// is done for all coupled faces, not just for any patches created. +// - optional: synchronise points on coupled patches. + +// 1. Create cyclic: +// - specify where the faces should come from +// - specify the type of cyclic. If a rotational specify the rotationAxis +// and centre to make matching easier +// - always create both halves in one invocation with correct 'neighbourPatch' +// setting. +// - optionally pointSync true to guarantee points to line up. + +// 2. Correct incorrect cyclic: +// This will usually fail upon loading: +// "face 0 area does not match neighbour 2 by 0.0100005%" +// " -- possible face ordering problem." +// - in polyMesh/boundary file: +// - loosen matchTolerance of all cyclics to get case to load +// - or change patch type from 'cyclic' to 'patch' +// and regenerate cyclic as above + // Do a synchronisation of coupled points after creation of any patches. +// Note: this does not work with points that are on multiple coupled patches +// with transformations (i.e. cyclics). pointSync false; // Patches to create.