Salome HOME
0023320: EDF13201 - Create group from geometry
authoreap <eap@opencascade.com>
Fri, 26 Aug 2016 17:59:35 +0000 (20:59 +0300)
committereap <eap@opencascade.com>
Fri, 26 Aug 2016 17:59:35 +0000 (20:59 +0300)
     update docs

0023321: EDF 12916 - Meshing problem
     Decrease tolerance in StdMeshers_QuadToTriaAdaptor

doc/salome/gui/SMESH/input/create_groups_from_geometry.doc
src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx

index 009866e478f7eab6de60cb4b282dbca9f6973905..b8ee303f2e9c6ba2793a1c8f15dce9e667da7fda 100644 (file)
@@ -9,6 +9,10 @@ The type of each new group is defined automatically by the nature of
 the <b>Geometry</b>.
 The group names will be the same as the names of geometrical objects.
 
 the <b>Geometry</b>.
 The group names will be the same as the names of geometrical objects.
 
+\warning It's impossible to create a group of <em>0D elements</em> or <em>ball
+elements</em> with this operation. For this, it is necessary to use 
+\ref creating_groups_page "Create Group" operation. 
+
 To use this operation, select in the \b Mesh menu or in the contextual
 menu in the Object browser <b>Create Groups from Geometry</b> item.
 
 To use this operation, select in the \b Mesh menu or in the contextual
 menu in the Object browser <b>Create Groups from Geometry</b> item.
 
index f133994fa1d1041d097d51ad43a7dfe833175ff5..a03ed6a82c19a97058955131261d1797f3db6daa 100644 (file)
@@ -615,7 +615,7 @@ bool StdMeshers_QuadToTriaAdaptor::LimitHeight (gp_Pnt&
         }
       }
     }
         }
       }
     }
-    if ( height < 1e-5 * idealHeight && intFace )
+    if ( height < 1e-2 * idealHeight && intFace )
       return overlapError( aMesh, NotCheckedFace, intFace, Shape );
   }
 
       return overlapError( aMesh, NotCheckedFace, intFace, Shape );
   }
 
@@ -1208,7 +1208,7 @@ bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh)
       if ( !intersected[isRev] ) continue;
       double pyramidH = Min( height, dist2int[isRev]/3. );
       gp_Pnt    Papex = PC.XYZ() + tmpDir.XYZ() * (isRev ? -pyramidH : pyramidH);
       if ( !intersected[isRev] ) continue;
       double pyramidH = Min( height, dist2int[isRev]/3. );
       gp_Pnt    Papex = PC.XYZ() + tmpDir.XYZ() * (isRev ? -pyramidH : pyramidH);
-      if ( pyramidH < 1e-5 * height )
+      if ( pyramidH < 1e-2 * height )
         return overlapError( aMesh, face, suspectFaces[ intFaceInd[isRev] ] );
 
       if ( !LimitHeight( Papex, PC, PN, FNodes, aMesh, face, /*UseApexRay=*/false ))
         return overlapError( aMesh, face, suspectFaces[ intFaceInd[isRev] ] );
 
       if ( !LimitHeight( Papex, PC, PN, FNodes, aMesh, face, /*UseApexRay=*/false ))