1 .. _tui_defining_hypotheses_page:
3 **********************************
4 Defining Hypotheses and Algorithms
5 **********************************
7 This page provides example codes of :ref:`tui_defining_meshing_algos`
8 "defining algorithms" and hypotheses.
10 * Wire discretisation 1D algorithm
12 * :ref:`tui_1d_adaptive` hypothesis
13 * :ref:`tui_1d_arithmetic` hypothesis
14 * :ref:`tui_deflection_1d` hypotheses
15 * :ref:`tui_start_and_end_length` hypotheses
16 * :ref:`tui_average_length`
17 * :ref:`tui_propagation` additional hypothesis
18 * :ref:`tui_fixed_points` hypothesis
21 * Triangle: Mefisto 2D algorithm
23 * :ref:`tui_max_element_area` hypothesis
24 * :ref:`tui_length_from_edges` hypothesis
29 * :ref:`tui_max_element_volume` hypothesis
30 * :ref:`tui_viscous_layers`
33 * :ref:`tui_projection`
34 * :ref:`tui_radial_quadrangle` algorithm
35 * Quadrangle: Mapping 2D algorithm
37 * :ref:`tui_quadrangle_parameters` hypothesis
40 * :ref:`tui_import` from Another Mesh" algorithm
44 Defining 1D Hypotheses
45 ######################
49 .. _tui_1d_arithmetic:
51 Arithmetic Progression and Geometric Progression
52 ================================================
54 .. _defining_hypotheses_ex01.py:
56 ``defining_hypotheses_ex01.py``
58 .. literalinclude:: ../../../examples/defining_hypotheses_ex01.py
62 :download:`../../../examples/defining_hypotheses_ex01.py`
69 .. _defining_hypotheses_adaptive1d.py:
71 ``defining_hypotheses_adaptive1d.py``
73 .. literalinclude:: ../../../examples/defining_hypotheses_adaptive1d.py
77 :download:`../../../examples/defining_hypotheses_adaptive1d.py`
80 .. _tui_deflection_1d:
82 Deflection and Number of Segments
83 =================================
85 .. _defining_hypotheses_ex02.py:
87 ``defining_hypotheses_ex02.py``
89 .. literalinclude:: ../../../examples/defining_hypotheses_ex02.py
93 :download:`../../../examples/defining_hypotheses_ex02.py`
96 .. _tui_start_and_end_length:
101 .. _creating_meshes_ex08.py:
103 ``defining_hypotheses_ex03.py``
105 .. literalinclude:: ../../../examples/defining_hypotheses_ex03.py
109 :download:`../../../examples/defining_hypotheses_ex03.py`
112 .. _tui_average_length:
117 .. _defining_hypotheses_ex04.py:
119 ``defining_hypotheses_ex04.py``
121 .. literalinclude:: ../../../examples/defining_hypotheses_ex04.py
125 :download:`../../../examples/defining_hypotheses_ex04.py`
127 Defining 2D and 3D hypotheses
128 #############################
131 .. _tui_max_element_area:
136 .. _defining_hypotheses_ex05.py:
138 ``defining_hypotheses_ex05.py``
140 .. literalinclude:: ../../../examples/defining_hypotheses_ex05.py
144 :download:`../../../examples/defining_hypotheses_ex05.py`
147 .. _tui_max_element_volume:
149 Maximum Element Volume
150 ======================
152 .. _defining_hypotheses_ex06.py:
154 ``defining_hypotheses_ex06.py``
156 .. literalinclude:: ../../../examples/defining_hypotheses_ex06.py
160 :download:`../../../examples/defining_hypotheses_ex06.py`
163 .. _tui_length_from_edges:
168 .. _defining_hypotheses_ex07.py:
170 ``defining_hypotheses_ex07.py``
172 .. literalinclude:: ../../../examples/defining_hypotheses_ex07.py
176 :download:`../../../examples/defining_hypotheses_ex07.py`
178 Defining Additional Hypotheses
179 ##############################
186 .. _defining_hypotheses_ex08.py:
188 ``defining_hypotheses_ex08.py``
190 .. literalinclude:: ../../../examples/defining_hypotheses_ex08.py
194 :download:`../../../examples/defining_hypotheses_ex08.py`
197 .. _tui_defining_meshing_algos:
199 Defining Meshing Algorithms
200 ###########################
202 .. _defining_hypotheses_ex09.py:
204 ``defining_hypotheses_ex09.py``
206 .. literalinclude:: ../../../examples/defining_hypotheses_ex09.py
210 :download:`../../../examples/defining_hypotheses_ex09.py`
215 Projection Algorithms
216 =====================
218 .. _defining_hypotheses_ex10.py:
220 ``defining_hypotheses_ex10.py``
222 .. literalinclude:: ../../../examples/defining_hypotheses_ex10.py
226 :download:`../../../examples/defining_hypotheses_ex10.py`
231 .. _defining_hypotheses_ex11.py:
233 ``defining_hypotheses_ex11.py``
235 .. literalinclude:: ../../../examples/defining_hypotheses_ex11.py
239 :download:`../../../examples/defining_hypotheses_ex11.py`
241 .. _tui_fixed_points:
243 1D Mesh with Fixed Points example
244 #################################
246 .. _defining_hypotheses_ex12.py:
248 ``defining_hypotheses_ex12.py``
250 .. literalinclude:: ../../../examples/defining_hypotheses_ex12.py
254 :download:`../../../examples/defining_hypotheses_ex12.py`
256 .. _tui_radial_quadrangle:
258 Radial Quadrangle 1D-2D example
259 ###############################
261 .. _defining_hypotheses_ex13.py:
263 ``defining_hypotheses_ex13.py``
265 .. literalinclude:: ../../../examples/defining_hypotheses_ex13.py
269 :download:`../../../examples/defining_hypotheses_ex13.py`
271 .. _tui_quadrangle_parameters:
273 Quadrangle Parameters example 1 (meshing a face with 3 edges)
274 ##############################################################
276 .. _defining_hypotheses_ex14.py:
278 ``defining_hypotheses_ex14.py``
280 .. literalinclude:: ../../../examples/defining_hypotheses_ex14.py
284 :download:`../../../examples/defining_hypotheses_ex14.py`
286 Quadrangle Parameters example 2 (using different types)
287 #######################################################
289 .. _defining_hypotheses_ex15.py:
291 ``defining_hypotheses_ex15.py``
293 .. literalinclude:: ../../../examples/defining_hypotheses_ex15.py
297 :download:`../../../examples/defining_hypotheses_ex15.py`
301 "Import 1D-2D Elements from Another Mesh" example
302 #################################################
304 .. _defining_hypotheses_ex16.py:
306 ``defining_hypotheses_ex16.py``
308 .. literalinclude:: ../../../examples/defining_hypotheses_ex16.py
312 :download:`../../../examples/defining_hypotheses_ex16.py`
314 .. _tui_viscous_layers:
316 Viscous layers construction
317 ###########################
319 .. _defining_hypotheses_ex17.py:
321 ``defining_hypotheses_ex17.py``
323 .. literalinclude:: ../../../examples/defining_hypotheses_ex17.py
327 :download:`../../../examples/defining_hypotheses_ex17.py`