Salome HOME
Fix Redesign of SMESH documentation
[modules/smesh.git] / doc / salome / gui / SMESH / input / tui_defining_hypotheses.rst
1 .. _tui_defining_hypotheses_page:
2
3 **********************************
4 Defining Hypotheses and Algorithms
5 **********************************
6
7 This page provides example codes of :ref:`defining algorithms <tui_defining_meshing_algos>`
8 and hypotheses.
9
10 * Wire discretisation 1D algorithm
11   
12     * :ref:`tui_1d_adaptive` hypothesis
13     * :ref:`rithmetic Progression <tui_1d_arithmetic>` hypothesis
14     * :ref:`Geometric Progression <tui_1d_arithmetic>` hypothesis
15     * :ref:`Deflection and Number of Segments <tui_deflection_1d>` hypotheses
16     * :ref:`Start and End Length <tui_start_and_end_length>` hypothesis
17     * :ref:`tui_average_length` hypothesis
18     * :ref:`tui_propagation` additional hypotheses 
19     * :ref:`Fixed Points 1D <tui_fixed_points>` hypothesis
20   
21
22 * Triangle: Mefisto 2D algorithm
23   
24     * :ref:`tui_max_element_area` hypothesis 
25     * :ref:`tui_length_from_edges` hypothesis 
26   
27
28 * NETGEN 3D algorithm
29   
30     *  :ref:`tui_max_element_volume` hypothesis 
31     *  :ref:`Viscous layers <tui_viscous_layers>` hypotheses
32
33 * :ref:`tui_projection`
34 * :ref:`Radial Quadrangle 1D-2D <tui_radial_quadrangle>` algorithm
35 * Quadrangle: Mapping 2D algorithm
36   
37     * :ref:`Quadrangle Parameters <tui_quadrangle_parameters>` hypothesis 
38
39 * :ref:`tui_radial_prism`
40 * :ref:`Import 1D-2D Elements from Another Mesh <tui_import>` algorithm
41
42
43
44 Defining 1D Hypotheses
45 ######################
46
47 .. _tui_1d_arithmetic:
48
49 Arithmetic Progression and Geometric Progression
50 ================================================
51
52 .. literalinclude:: ../../../examples/defining_hypotheses_ex01.py
53     :linenos:
54     :language: python
55
56 :download:`Download this script <../../../examples/defining_hypotheses_ex01.py>`
57
58 .. _tui_1d_adaptive:
59
60 Adaptive
61 ========
62
63 .. literalinclude:: ../../../examples/defining_hypotheses_adaptive1d.py
64     :linenos:
65     :language: python
66
67 :download:`Download this script <../../../examples/defining_hypotheses_adaptive1d.py>`
68
69
70 .. _tui_deflection_1d:
71
72 Deflection and Number of Segments
73 =================================
74
75 .. literalinclude:: ../../../examples/defining_hypotheses_ex02.py
76     :linenos:
77     :language: python
78
79 :download:`Download this script <../../../examples/defining_hypotheses_ex02.py>`
80
81
82 .. _tui_start_and_end_length:
83
84 Start and End Length
85 ====================
86
87 .. literalinclude:: ../../../examples/defining_hypotheses_ex03.py
88     :linenos:
89     :language: python
90
91 :download:`Download this script <../../../examples/defining_hypotheses_ex03.py>`
92
93
94 .. _tui_average_length:
95
96 Local Length
97 ============
98
99 .. literalinclude:: ../../../examples/defining_hypotheses_ex04.py
100     :linenos:
101     :language: python
102
103 :download:`Download this script <../../../examples/defining_hypotheses_ex04.py>`
104
105 Defining 2D and 3D hypotheses
106 #############################
107
108
109 .. _tui_max_element_area:
110
111 Maximum Element Area
112 ====================
113
114 .. literalinclude:: ../../../examples/defining_hypotheses_ex05.py
115     :linenos:
116     :language: python
117
118 :download:`Download this script <../../../examples/defining_hypotheses_ex05.py>`
119
120
121 .. _tui_max_element_volume:
122
123 Maximum Element Volume
124 ======================
125
126 .. literalinclude:: ../../../examples/defining_hypotheses_ex06.py
127     :linenos:
128     :language: python
129
130 :download:`Download this script <../../../examples/defining_hypotheses_ex06.py>`
131
132
133 .. _tui_length_from_edges:
134
135 Length from Edges
136 =================
137
138 .. literalinclude:: ../../../examples/defining_hypotheses_ex07.py
139     :linenos:
140     :language: python
141
142 :download:`Download this script <../../../examples/defining_hypotheses_ex07.py>`
143
144 Defining Additional Hypotheses
145 ##############################
146
147 .. _tui_propagation:
148
149 Propagation
150 ===========
151
152 .. literalinclude:: ../../../examples/defining_hypotheses_ex08.py
153     :linenos:
154     :language: python
155
156 :download:`Download this script <../../../examples/defining_hypotheses_ex08.py>`
157
158
159 .. _tui_defining_meshing_algos:
160
161 Defining Meshing Algorithms
162 ###########################
163
164 .. literalinclude:: ../../../examples/defining_hypotheses_ex09.py
165     :linenos:
166     :language: python
167
168 :download:`Download this script <../../../examples/defining_hypotheses_ex09.py>`
169
170
171 .. _tui_projection:
172
173 Projection Algorithms
174 =====================
175
176 .. literalinclude:: ../../../examples/defining_hypotheses_ex10.py
177     :linenos:
178     :language: python
179
180 :download:`Download this script <../../../examples/defining_hypotheses_ex10.py>`
181
182 Projection 1D2D
183 ===============
184
185 .. literalinclude:: ../../../examples/defining_hypotheses_ex11.py
186     :linenos:
187     :language: python
188
189 :download:`Download this script <../../../examples/defining_hypotheses_ex11.py>`
190
191 .. _tui_fixed_points:
192
193 1D Mesh with Fixed Points example
194 #################################
195
196 .. literalinclude:: ../../../examples/defining_hypotheses_ex12.py
197     :linenos:
198     :language: python
199
200 :download:`Download this script <../../../examples/defining_hypotheses_ex12.py>`
201
202 .. _tui_radial_quadrangle:
203
204 Radial Quadrangle 1D-2D example
205 ###############################
206
207 .. literalinclude:: ../../../examples/defining_hypotheses_ex13.py
208     :linenos:
209     :language: python
210
211 :download:`Download this script <../../../examples/defining_hypotheses_ex13.py>`
212
213 .. _tui_quadrangle_parameters:
214
215 Quadrangle Parameters example 1 (meshing a face with 3 edges)
216 ##############################################################
217
218 .. literalinclude:: ../../../examples/defining_hypotheses_ex14.py
219     :linenos:
220     :language: python
221
222 :download:`Download this script <../../../examples/defining_hypotheses_ex14.py>`
223
224 Quadrangle Parameters example 2 (using different types)
225 #######################################################
226
227 .. literalinclude:: ../../../examples/defining_hypotheses_ex15.py
228     :linenos:
229     :language: python
230
231 :download:`Download this script <../../../examples/defining_hypotheses_ex15.py>`
232
233 .. _tui_import:
234
235 "Import 1D-2D Elements from Another Mesh" example
236 #################################################
237
238 .. literalinclude:: ../../../examples/defining_hypotheses_ex16.py
239     :linenos:
240     :language: python
241
242 :download:`Download this script <../../../examples/defining_hypotheses_ex16.py>`
243
244 .. _tui_viscous_layers:
245
246 Viscous layers construction
247 ###########################
248
249 .. literalinclude:: ../../../examples/defining_hypotheses_ex17.py
250     :linenos:
251     :language: python
252
253 :download:`Download this script <../../../examples/defining_hypotheses_ex17.py>`
254
255 .. _tui_radial_prism:
256
257 Radial Prism example
258 ####################
259
260 .. literalinclude:: ../../../examples/radial_prism_3d_algo.py
261     :linenos:
262     :language: python
263
264 :download:`Download this script <../../../examples/radial_prism_3d_algo.py>`