Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/smesh.git] / doc / salome / gui / SMESH / input / 2d_meshing_hypo.doc
1 /*!
2
3 \page a2d_meshing_hypo_page 2D Meshing Hypotheses
4
5 <br>
6 <ul>
7 <li>\ref max_element_area_anchor "Max Element Area"</li>
8 <li>\ref length_from_edges_anchor "Length from Edges"</li>
9 <li>\ref hypo_quad_params_anchor "Quadrangle parameters"</li>
10 </ul>
11
12 <br>
13 \anchor max_element_area_anchor
14 <h2>Max Element Area</h2>
15
16 <b>Max Element Area</b> hypothesis is applied for meshing of 2D faces
17 composing your geometrical object. Definition of this hypothesis
18 consists of setting the <b>maximum area</b> of meshing elements (depending on
19 the chosen meshing algorithm it can be <b>triangles</b> or <b>quadrangles</b>),
20 which will compose the mesh of these 2D faces.
21
22 \image html a-maxelarea.png
23
24 \n
25
26 \image html max_el_area.png "In this example, Max. element area is very small compared to the 1D hypothesis"
27
28 <b>See Also</b> a sample TUI Script of a 
29 \ref tui_max_element_area "Maximum Element Area" hypothesis
30 operation. 
31
32 <br>
33 \anchor length_from_edges_anchor
34 <h2>Length from Edges</h2>
35
36 <b>Length from edges</b> hypothesis builds 2D mesh segments having a
37 length calculated as an average edge length for a given wire.
38
39 <b>See Also</b> a sample TUI Script of a 
40 \ref tui_length_from_edges "Length from Edges" hypothesis operation.
41
42 <br>
43 \anchor hypo_quad_params_anchor
44 <h2>Quadrangle parameters</h2>
45
46 \image html hypo_quad_params_dialog.png "Quadrangle parameters creation/edition dialog"
47
48 <b>Quadrangle parameters</b> is a hypothesis for Quadrangle (Mapping).
49
50 <b>Base vertex</b> parameter allows using Quadrangle (Mapping)
51 algorithm for meshing of triangular faces. In this case it is
52 necessary to select the vertex, which will be used as the fourth edge
53 (degenerated).
54
55 \image html hypo_quad_params_1.png "A face built from 3 edges"
56
57 \image html hypo_quad_params_res.png "The resulting mesh"
58
59 This parameter can be also used to mesh a segment of a circular face.
60 Please, consider that there is a limitation on the selection of the
61 vertex for the faces built with the angle > 180 degrees (see the picture).
62
63 \image html hypo_quad_params_2.png "3/4 of a circular face"
64
65 In this case, selection of a wrong vertex for the <b>Base vertex</b>
66 parameter will generate a wrong mesh. The picture below
67 shows the good (left) and the bad (right) results of meshing.
68
69 \image html hypo_quad_params_res_2.png "The resulting meshes"
70
71 <b>Type</b> parameter is used on faces with a different number of
72 segments on opposite sides to define the algorithm of transition
73 between them. The following types are available:
74
75 <ul>
76 <li><b>Standard</b> is the default case, when both triangles and quadrangles
77     are possible in the transition area along the finer meshed sides.</li>
78 <li><b>Triangle preference</b> forces building only triangles in the
79     transition area along the finer meshed sides.
80     <i>This type corresponds to <b>Triangle Preference</b> additional
81     hypothesis, which is obsolete now.</i></li>
82 <li><b>Quadrangle preference</b> forces building only quadrangles in the
83     transition area along the finer meshed sides. This hypothesis has a
84     restriction: the total quantity of segments on all
85     four sides of the face must be even (divisible by 2).</li>
86     <i>This type corresponds to <b>Quadrangle Preference</b>
87     additional hypothesis, which is obsolete now.</i></li>
88 <li><b>Quadrangle preference (reversed)</b> works in the same way and
89 with the same restriction as <b>Quadrangle preference</b>, but
90     the transition area is located along the coarser meshed sides.</li>
91 <li><b>Reduced</b> type forces building only quadrangles and the transition
92     between the sides is made gradually, layer by layer. This type has
93     a limitation on the number of segments: one pair of opposite sides must have
94     the same number of segments, the other pair must have an even difference
95     between the numbers of segments on the sides.</li>
96 </ul>
97
98 <b>See Also</b> a sample TUI Script of a 
99 \ref tui_quadrangle_parameters "Quadrangle Parameters" hypothesis.
100
101 <br>
102 */