Salome HOME
rnc : documentation of IMP EDF 1762 Start_BR_19998_21191
authorgdd <gdd>
Fri, 1 Apr 2011 14:19:32 +0000 (14:19 +0000)
committergdd <gdd>
Fri, 1 Apr 2011 14:19:32 +0000 (14:19 +0000)
doc/salome/gui/SMESH/images/blsurf_attractors.png [new file with mode: 0644]
doc/salome/gui/SMESH/images/blsurf_attractors2.png [new file with mode: 0644]
doc/salome/gui/SMESH/images/blsurf_const_size_near_shape.png [new file with mode: 0644]
doc/salome/gui/SMESH/images/blsurf_const_size_near_shape2.png [new file with mode: 0644]
doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png [new file with mode: 0644]
doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png [new file with mode: 0644]
doc/salome/gui/SMESH/input/blsurf_hypo.doc

diff --git a/doc/salome/gui/SMESH/images/blsurf_attractors.png b/doc/salome/gui/SMESH/images/blsurf_attractors.png
new file mode 100644 (file)
index 0000000..a0e0276
Binary files /dev/null and b/doc/salome/gui/SMESH/images/blsurf_attractors.png differ
diff --git a/doc/salome/gui/SMESH/images/blsurf_attractors2.png b/doc/salome/gui/SMESH/images/blsurf_attractors2.png
new file mode 100644 (file)
index 0000000..09dc129
Binary files /dev/null and b/doc/salome/gui/SMESH/images/blsurf_attractors2.png differ
diff --git a/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape.png b/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape.png
new file mode 100644 (file)
index 0000000..9e5ad6c
Binary files /dev/null and b/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape.png differ
diff --git a/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape2.png b/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape2.png
new file mode 100644 (file)
index 0000000..68620f3
Binary files /dev/null and b/doc/salome/gui/SMESH/images/blsurf_const_size_near_shape2.png differ
diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png
new file mode 100644 (file)
index 0000000..6a9b370
Binary files /dev/null and b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png differ
diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png
new file mode 100644 (file)
index 0000000..6233b38
Binary files /dev/null and b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png differ
index f6e53803a4bf6918a1326ed078717f06004d010f..48683639006f89c10fab49104adf75b642a64f5e 100644 (file)
@@ -205,7 +205,7 @@ String variables:
 
 <h1>Custom size map</h1>
 
-\image html blsurf_parameters_sizemap.png
+\image html blsurf_parameters_sizemap1.png 
 
 User sizes can be defined on faces, edges or vertices.
 <ul>
@@ -224,6 +224,24 @@ object or to its sub-shapes (created using <b>Explode</b> command).</li>
 </ul></li>
 </ul>
 
+\anchor blsurf_attractor
+<h2>Advanced maps</h2>
+\n
+\image html blsurf_parameters_sizemap2.png 
+\n
+Specific size maps, called attractors can be defined on faces. They allow to define the size of the mesh elements on a face so that the mesh is the finest on the attractor shape and becomes coarser when getting far from this shape.
+The selected attractor can be either a Vertex or an Edge. The attractor doesn't have to be a sub-shape of the shape to mesh. 
+\n
+Furthermore you can choose to keep the size constant until a certain distance from a shape. This option can be combined or not with the "attractor" size map described above. 
+\n
+If the two options are combined the size will remain constant until the distant specified in "constant over" and grow then as prescribed by the attractor function. Else the growing is only controled by the standard arguments of BLSURF (gradation ...).
+
+\image html blsurf_attractors2.png "Example of mesh created using attractors, the attractors here are the side edges and the size grow from the side of the surface towards the apex"
+\n
+\image html blsurf_const_size_near_shape2.png "Example of size map with constant size option, the size is kept constant on the left side of the surface until a certain distance"
+\n
+Remark : The validation of the hypothesis might take a few seconds if attractors are defined or the "constant size" option is used because a map of distances has to be built on the whole surface for each face where such an hypothesis has been defined.
+
 <br><b>See Also</b> a sample TUI Script of the \ref tui_blsurf "creation of a BLSurf hypothesis", including size map.
 
 \anchor blsurf_sizemap_computation
@@ -241,6 +259,18 @@ specification of the sizes. The computation depends on whether point P is intern
 </ul>
 In order to compute the mean of several values, the arithmetic mean is used by default, but this can be modified by the parameter \ref blsurf_hmean_flag "hmean flag". In the same way, in order to interpolate two values, a linear interpolation is used by default, but this can be modified by \ref blsurf_hinterpol_flag "hinterpol flag".
 
+\anchor blsurf_attractor_computation
+<h2>Computation of attractors</h2>
+\n
+The size grow exponentially following the equation : h(d) = User size + (h_start - User Size) * exp( -(d / R)^2  ).
+\n
+Where :
+<ul>
+<li>h_start is the desired size on the given attractor shape</li>
+<li>d is the distance of the current point from the attractor shape. The distance is the geodesic distance (i.e. calculated by following the surface to be meshed) </li>
+<li>R is called the distance of influence and allows controlling the growth rate of the mesh </li>
+</ul>
+Warning : The formula is respected only if it doesn't imply a gradation bigger than the one set in the "Arguments" tab. So it's better to set it to its maximum value : 2.5.
 
 <h1>Custom enforced vertices</h1>