1 .. _tui_defining_hypotheses_page:
3 **********************************
4 Defining Hypotheses and Algorithms
5 **********************************
7 This page provides example codes of :ref:`defining algorithms <tui_defining_meshing_algos>`
10 * Wire discretisation 1D algorithm
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
22 * Triangle: Mefisto 2D algorithm
24 * :ref:`tui_max_element_area` hypothesis
25 * :ref:`tui_length_from_edges` hypothesis
30 * :ref:`tui_max_element_volume` hypothesis
31 * :ref:`Viscous layers <tui_viscous_layers>` hypotheses
33 * :ref:`tui_projection`
34 * :ref:`Radial Quadrangle 1D-2D <tui_radial_quadrangle>` algorithm
35 * Quadrangle: Mapping 2D algorithm
37 * :ref:`Quadrangle Parameters <tui_quadrangle_parameters>` hypothesis
39 * :ref:`tui_radial_prism`
40 * :ref:`Import 1D-2D Elements from Another Mesh <tui_import>` algorithm
44 Defining 1D Hypotheses
45 ######################
47 .. _tui_1d_arithmetic:
49 Arithmetic Progression and Geometric Progression
50 ================================================
52 .. literalinclude:: ../../../examples/defining_hypotheses_ex01.py
56 :download:`Download this script <../../../examples/defining_hypotheses_ex01.py>`
63 .. literalinclude:: ../../../examples/defining_hypotheses_adaptive1d.py
67 :download:`Download this script <../../../examples/defining_hypotheses_adaptive1d.py>`
70 .. _tui_deflection_1d:
72 Deflection and Number of Segments
73 =================================
75 .. literalinclude:: ../../../examples/defining_hypotheses_ex02.py
79 :download:`Download this script <../../../examples/defining_hypotheses_ex02.py>`
82 .. _tui_start_and_end_length:
87 .. literalinclude:: ../../../examples/defining_hypotheses_ex03.py
91 :download:`Download this script <../../../examples/defining_hypotheses_ex03.py>`
94 .. _tui_average_length:
99 .. literalinclude:: ../../../examples/defining_hypotheses_ex04.py
103 :download:`Download this script <../../../examples/defining_hypotheses_ex04.py>`
105 Defining 2D and 3D hypotheses
106 #############################
109 .. _tui_max_element_area:
114 .. literalinclude:: ../../../examples/defining_hypotheses_ex05.py
118 :download:`Download this script <../../../examples/defining_hypotheses_ex05.py>`
121 .. _tui_max_element_volume:
123 Maximum Element Volume
124 ======================
126 .. literalinclude:: ../../../examples/defining_hypotheses_ex06.py
130 :download:`Download this script <../../../examples/defining_hypotheses_ex06.py>`
133 .. _tui_length_from_edges:
138 .. literalinclude:: ../../../examples/defining_hypotheses_ex07.py
142 :download:`Download this script <../../../examples/defining_hypotheses_ex07.py>`
144 Defining Additional Hypotheses
145 ##############################
152 .. literalinclude:: ../../../examples/defining_hypotheses_ex08.py
156 :download:`Download this script <../../../examples/defining_hypotheses_ex08.py>`
159 .. _tui_defining_meshing_algos:
161 Defining Meshing Algorithms
162 ###########################
164 .. literalinclude:: ../../../examples/defining_hypotheses_ex09.py
168 :download:`Download this script <../../../examples/defining_hypotheses_ex09.py>`
173 Projection Algorithms
174 =====================
176 .. literalinclude:: ../../../examples/defining_hypotheses_ex10.py
180 :download:`Download this script <../../../examples/defining_hypotheses_ex10.py>`
185 .. literalinclude:: ../../../examples/defining_hypotheses_ex11.py
189 :download:`Download this script <../../../examples/defining_hypotheses_ex11.py>`
191 .. _tui_fixed_points:
193 1D Mesh with Fixed Points example
194 #################################
196 .. literalinclude:: ../../../examples/defining_hypotheses_ex12.py
200 :download:`Download this script <../../../examples/defining_hypotheses_ex12.py>`
202 .. _tui_radial_quadrangle:
204 Radial Quadrangle 1D-2D example
205 ###############################
207 .. literalinclude:: ../../../examples/defining_hypotheses_ex13.py
211 :download:`Download this script <../../../examples/defining_hypotheses_ex13.py>`
213 .. _tui_quadrangle_parameters:
215 Quadrangle Parameters example 1 (meshing a face with 3 edges)
216 ##############################################################
218 .. literalinclude:: ../../../examples/defining_hypotheses_ex14.py
222 :download:`Download this script <../../../examples/defining_hypotheses_ex14.py>`
224 Quadrangle Parameters example 2 (using different types)
225 #######################################################
227 .. literalinclude:: ../../../examples/defining_hypotheses_ex15.py
231 :download:`Download this script <../../../examples/defining_hypotheses_ex15.py>`
235 "Import 1D-2D Elements from Another Mesh" example
236 #################################################
238 .. literalinclude:: ../../../examples/defining_hypotheses_ex16.py
242 :download:`Download this script <../../../examples/defining_hypotheses_ex16.py>`
244 .. _tui_viscous_layers:
246 Viscous layers construction
247 ###########################
249 .. literalinclude:: ../../../examples/defining_hypotheses_ex17.py
253 :download:`Download this script <../../../examples/defining_hypotheses_ex17.py>`
255 .. _tui_radial_prism:
260 .. literalinclude:: ../../../examples/radial_prism_3d_algo.py
264 :download:`Download this script <../../../examples/radial_prism_3d_algo.py>`