Salome HOME
Typo fixes http://www.salome-platform.org/forum/forum_10/433845793
[modules/smesh.git] / src / Tools / YamsPlug / doc / Mandatory_params.rst
1 Simple Remeshing Options
2 =========================
3
4 Simple case 
5 -----------
6
7    All options, but the input mesh, have default values. however, **you have to specify these
8    simple options in order to drive MG-SurfOpt and control remeshing parameters**. 
9
10    You can access Distene documentation by clicking on Help button.
11
12
13 .. image:: images/Simple.png
14    :align: center
15
16
17 - **Original Mesh**
18
19    You have to select a Mesh Object from Salome Object Browser or choose a .GMF file.
20
21
22 Optimisation
23 ------------
24     
25 This is the main remeshing Option.  SurfOpt always does quality improvement. It is done by point smooting and edge swapping.  It can produce a regular mesh for finite element computation (initial mesh is a a geometrical mesh). In this case, the given surface trianglation is modified in accordance to a size map : an intrinsic size map is computed automatically. it is based on the surface proporties.  SurfOpt is also able to  produce a geometrical mesh (initial mesh is a a mesh for finite element computation). In both case, It can coarsen or enrich the mesh.     
26
27    - **Quality improvement** 
28
29      If you activitate this option, SurfOpt does only quality improvement.  
30
31      It is equivalent to SurfOpt's batch option *- - optimisation only*.
32
33    - **Pure Geometry Enrichement**
34
35      The given surface triangulation is enriched (no coarsening at all) in such away that the distance between the elements in the final mesh and those of the initial one is bounded by auser specified tolerance value. One should use this option, to enrich the mesh where purely geometrical features may be insuficiently fine, i.e. the resulting mesh will be least as fine as the input. Mesh and the geometric features will be refined if needed as specified by the other program parameters. The meshes obtained with those settings may not be suitable for computation.
36
37      It is equivalent to SurfOpt's batch option G.
38
39    -  **Uniform subdivision**
40
41      A uniform subdivision of the given surface triangulation is performed : each triangle of the given surface triangulation is considered at and is divided into identical triangles.
42
43      It is equivalent to SurfOpt's batch option *- - uniform_flat_subdivision yes*.
44
45    - **Sandpapering**
46
47      A surface sandpapering without shrinkage of the given surface triangulation is performed, i.e., the high curvature variations of the given surface will be smoothed out without shrinking the volume in doing so. If ridges are defined, they will be kept as they are in the resulting mesh. It could modify the geometry.
48      It is equivalent to SurfOpt's batch option *- - sand_paper yes*.
49
50    - **Geometrical Mesh : Coarsening** 
51
52      The given surface triangulation is modified in such a way that the distance between the elements in the final mesh 
53      and those of the initial one is bounded by a user specfied tolerance value.
54      One should use this option, to coarsen when a purely geometrical mesh is needed. (a mesh that keeps and obeys its geometric features only.) 
55      The meshes obtained with this option are usually not suitable for computation because anisotropic elements may be generated
56
57      It is equivalent to SurfOpt's batch option *- - Hausdorff_like yes - - enrich no*.
58
59    - **Geometrical Mesh : Coarsening and Enrichment** 
60
61      SurfOpt coarses and enrichs meshes to obtain a purely geometrical mesh. The method is the same as above.
62
63      It is equivalent to SurfOpt's batch option *- - Hausdorff_like yes*.
64
65    - **Mesh for finite element computation : Coarsening** 
66
67      The given surface triangulation is modified in accordance to a size map. The latter is the intrinsic size map (computed automatically and based on the surface properties, i.e. the local curvatures). One should use this option to coarsen  the mesh, when a regular mesh  for computation purposes is desired, i.e. a mesh with good aspect ratios or good quality elements.
68
69      It is equivalent to SurfOpt's batch option *- - enrich no*.
70
71    - **Mesh for finite element computation : Coarsening and Enrichment**
72
73      One should use this option to coarsen  and enrich the mesh, when a regular mesh for computation purposes is desired, i.e. a mesh with good aspect ratios or good quality elements. The method is the same as above.
74
75      It is equivalent to the default SurfOpt's behaviour (no option) .
76    
77
78 Units parameter
79 ---------------
80
81 It indicates what reference is used for the values corresponding to size or distance specifications:
82 If the Units parameter is absolute, values are relative to the bounding box,otherwise the tolerance parameter is expressed in model units. The bounding box size is defined as the length of the diagonal (lower left back icorner to upper right front corner).
83
84
85
86 Chordal deviation tolerance parameter
87 -------------------------------------
88
89 This field enables the user to bound the maximal chordal deviation allowed, that is, the maximal distance allowed between the detected curve and the plane of the corresponding mesh face. It avoids having faces too far away from the curve they represent.
90
91 .. image:: images/Tolerance.png
92    :align: center
93
94
95 This parameter enables the user to specify the maximal chordal deviation epsilon max.
96
97 it can be :
98   - relative : the maximal chordal deviation - epsilon max - is set to *s x the parameter* where *s* is the size 
99     of the bounding box longest diagonal. 
100     By default, the parameter is set to 0.001 and the maximum deviation is then set to 0.001 x s,  
101     which is equivalent to say that, for a bounding box of 1 meter, the maximal deviation is 1 mm.
102   - absolute : the maximal chordal deviation is the parameter itself. eg if the parameter equals 2, the maximal chordal deviation will be 2 (mm if the point coordonates are given in mm).
103
104 Following that criterion:
105   - if the chordal deviation epsilon is smaller than epsilon max, it is acceptable to remove the considered point.
106   - if the chordal deviation epsilon is greater than epsilon max, the considered mesh face should be redifined by adding a point on the curve.
107