Salome HOME
07a33f09c481d380fa50560bc2d56ddc1fe0839d
[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 a 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 has sense on faces with different number of
72 segments on opposite sides. The following types are available:
73
74 <ul>
75 <li><b>Standard</b> means the default case, triangles and quadrangles
76     are possible along the longest sides (in the refinement area).</li>
77 <li><b>Triangle preference</b> forces building only triangles in the
78     refinement area for transition to higher number of segments.
79     <i>This type corresponds to <b>Triangle Preference</b> additional
80     hypothesis, which is obsolete now.</i></li>
81 <li><b>Quadrangle preference</b> forces building only quadrangles for
82     transition to higher number of segments. This hypothesis has one
83     restriction on its work: the total quantity of segments on all
84     four sides of the face must be even (divisible by 2).</li>
85     <i>This type corresponds to <b>Quadrangle Preference</b>
86     additional hypothesis, which is obsolete now.</i></li>
87 <li><b>Quadrangle preference (reversed)</b> works like
88     <b>Quadrangle preference</b> (and with same restriction), but
89     transition is made near the sides with smaller number of
90     segments.</li>
91 <li><b>Reduced</b> type forces building only quadrangles, transition
92     to other number of segments is made layer by layer. This type has
93     a limitation on number of segments: two opposite edges must have
94     the same number of segments, two another must have even difference
95     between their numbers of segments.</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 */