Salome HOME
Merge from BR_V5_DEV 16Feb09
[modules/smesh.git] / doc / salome / gui / SMESH / input / 1d_meshing_hypo.doc
1 /*!
2
3 \page a1d_meshing_hypo_page 1D Meshing Hypotheses
4
5 <br>
6 <ul>
7 <li>\ref arithmetic_1d_anchor "Arithmetic 1D"</li>
8 <li>\ref average_length_anchor "Average Length"</li>
9 <li>\ref max_length_anchor "Max Size"</li>
10 <li>\ref deflection_1d_anchor "Deflection 1D"</li>
11 <li>\ref number_of_segments_anchor "Number of segments"</li>
12 <li>\ref start_and_end_length_anchor "Start and end length"</li>
13 <li>\ref automatic_length_anchor "Automatic Length"</li>
14 </ul>
15
16 <br>
17 \anchor arithmetic_1d_anchor
18 <h2>Arithmetic 1D hypothesis</h2>
19
20 <b>Arithmetic 1D</b> hypothesis allows to split edges into segments with a
21 length that changes in arithmetic progression (Lk = Lk-1 + d)
22 beginning from a given starting length and up to a given end length.
23
24 \image html a-arithmetic1d.png
25
26 \image html b-ithmetic1d.png "Arithmetic 1D hypothesis - the size of mesh elements gradually increases"
27
28 <b>See Also</b> a sample TUI Script of a 
29 \ref tui_1d_arithmetic "Defining Arithmetic 1D hypothesis" operation.  
30
31 <br>
32 \anchor deflection_1d_anchor
33 <h2>Deflection 1D hypothesis</h2>
34
35 <b>Deflection 1D</b> hypothesis can be applied for meshing curvilinear edges
36 composing your geometrical object. It uses only one parameter: the
37 value of deflection.  
38 \n A geometrical edge is divided into equal segments. The maximum
39 distance between a point on the edge within a segment and the line
40 connecting the ends of the segment should not exceed the specified
41 value of deflection . Then mesh nodes are constructed at end segment
42 locations and 1D mesh elements are constructed on segments.
43
44 \image html a-deflection1d.png
45
46 \image html b-flection1d.png "Deflection 1D hypothesis - useful for meshing curvilinear edges"
47
48 <b>See Also</b> a sample TUI Script of a 
49 \ref tui_deflection_1d "Defining Deflection 1D hypothesis" operation.
50
51 <br>
52 \anchor average_length_anchor
53 <h2>Average Length hypothesis</h2>
54
55 <b>Average Length</b> hypothesis can be applied for meshing of edges
56 composing your geometrical object. Definition of this hypothesis
57 consists of setting the \b length of segments, which will split these
58 edges, and the \b precision of rounding. The points on the edges
59 generated by these segments will represent nodes of your mesh.
60 Later these nodes will be used for meshing of the faces abutting to
61 these edges.
62
63 The \b precision parameter is used to allow rounding a number of
64 segments, calculated from the edge length and average length of
65 segment, to the lower integer, if this value outstands from it in
66 bounds of the precision. Otherwise, the number of segments is rounded
67 to the higher integer. Use value 0.5 to provide rounding to the
68 nearest integer, 1.0 for the lower integer, 0.0 for the higher
69 integer. Default value is 1e-07.
70
71 \image html image41.gif
72
73 \image html a-averagelength.png
74
75 \image html b-erage_length.png "Average length hypothesis - all 1D mesh elements are roughly equal"
76
77 <b>See Also</b> a sample TUI Script of a 
78 \ref tui_average_length "Defining Average Length" hypothesis
79 operation.
80
81 <br>\anchor max_length_anchor
82 <h2>Max Size</h2>
83 <b>Max Size</b> hypothesis allows splitting geometrical edges into
84 segments not longer than the given length. Definition of this hypothesis
85 consists of setting the maximal allowed \b length of segments.
86 <b>Use preestimated length</b> check box lets you specify \b length
87 automatically calculated basing on size of your geometrical object,
88 namely as diagonal of bounding box divided by ten. The divider can be
89 changed via "Ratio Bounding Box Diagonal / Max Size"
90 preference parameter.
91 <b>Use preestimated length</b> check box is enabled only if the
92 geometrical object has been selected before hypothesis definition.
93
94 \image html a-maxsize1d.png
95
96 <br>
97 \anchor number_of_segments_anchor
98 <h2>Number of segments hypothesis</h2>
99
100 <b>Number of segments</b> hypothesis can be applied for meshing of edges
101 composing your geometrical object. Definition of this hypothesis
102 consists of setting the number of segments, which will split these
103 edges. In other words your edges will be split into a definite number
104 of segments with approximately the same length. The points on the
105 edges generated by these segments will represent nodes of your
106 mesh. Later these nodes will be used for meshing of the faces abutting
107 to these edges.
108
109 \image html image46.gif
110
111 You can set the type of distribution for this hypothesis in the
112 <b>Hypothesis Construction</b> dialog bog :
113
114 \image html a-nbsegments1.png
115
116 <br><b>Equidistant Distribution</b> - all segments will have the same
117 length, you define only the <b>Number of Segments</b>.
118
119 <br><b>Scale Distribution</b> - length of segments gradually changes depending on the <b>Scale Factor</b>, which is a ratio of the first segment length to the last segment length.
120
121 \image html a-nbsegments2.png
122
123 <br><b>Distribution with Table Density</b> - you input a number of
124 pairs <b>t - F(t)</b>, where \b t ranges from 0 to 1,  and the module computes the
125 formula, which will rule the change of length of segments and shows
126 the curve in the plot. You can select the <b>Conversion mode</b> from
127 \b Exponent and <b>Cut negative</b>.
128
129 \image html distributionwithtabledensity.png
130
131 <br><b>Distribution with Analytic Density</b> - you input the formula,
132 which will rule the change of length of segments and the module shows
133 the curve in the plot.
134
135 \image html distributionwithanalyticdensity.png
136
137 <b>See Also</b> a sample TUI Script of a 
138 \ref tui_deflection_1d "Defining Number of Segments" hypothesis
139 operation.
140
141 <br>
142 \anchor start_and_end_length_anchor
143 <h2>Start and End Length hypothesis</h2>
144
145 <b>Start and End Length</b> hypothesis allows to divide a geometrical edge
146 into segments so that the first and the last segments have a specified
147 length. The length medium segments changes with automatically chosen
148 geometric progression. Then mesh nodes are
149 constructed at segment ends location and 1D mesh elements are
150 constructed on them.
151
152 \image html a-startendlength.png
153
154 \image html b-art_end_length.png "The lengths of the first and the last segment are strictly defined"
155
156 <b>See Also</b> a sample TUI Script of a 
157 \ref tui_start_and_end_length "Defining Start and End Length"
158 hypothesis operation.
159
160 <br>
161 \anchor automatic_length_anchor
162 <h2>Automatic Length</h2>
163
164 This hypothesis is automatically applied when you select <b>Assign a
165 set of hypotheses</b> option in Create Mesh menu.
166
167 \image html automaticlength.png
168
169 The dialog box prompts you to define the quality of the future mesh by
170 only one parameter, which is \b Fineness, ranging from 0 (coarse mesh,
171 low number of elements) to 1 (extremely fine mesh, great number of
172 elements). Compare one and the same object (sphere) meshed with
173 minimum and maximum value of this parameter.
174
175 \image html image147.gif "Example of a very rough mesh. Automatic Length works for 0."
176
177 \image html image148.gif "Example of a very fine mesh. Automatic Length works for 1."
178 */