Salome HOME
23586: [EDF] HYDRO: Copy mesh to new geometry
[modules/smesh.git] / doc / salome / gui / SMESH / input / tui_defining_hypotheses.rst
index 0642126baef019c6c8ea4dfcae0cdf1087019a6b..facc0fdc13cc2c1bdde740ba7299a4cecb589f3b 100644 (file)
@@ -10,7 +10,7 @@ and hypotheses.
 * Wire discretisation 1D algorithm
   
     * :ref:`tui_1d_adaptive` hypothesis
-    * :ref:`rithmetic Progression <tui_1d_arithmetic>` hypothesis
+    * :ref:`Arithmetic Progression <tui_1d_arithmetic>` hypothesis
     * :ref:`Geometric Progression <tui_1d_arithmetic>` hypothesis
     * :ref:`Deflection and Number of Segments <tui_deflection_1d>` hypotheses
     * :ref:`Start and End Length <tui_start_and_end_length>` hypothesis
@@ -24,20 +24,23 @@ and hypotheses.
     * :ref:`tui_max_element_area` hypothesis 
     * :ref:`tui_length_from_edges` hypothesis 
   
+* Quadrangle: Mapping 2D algorithm
+  
+    * :ref:`Quadrangle Parameters <tui_quadrangle_parameters>` hypothesis 
 
+* :ref:`Radial Quadrangle 1D-2D <tui_radial_quadrangle>` algorithm
 * NETGEN 3D algorithm
   
     *  :ref:`tui_max_element_volume` hypothesis 
     *  :ref:`Viscous layers <tui_viscous_layers>` hypotheses
 
 * :ref:`tui_projection`
-* :ref:`Radial Quadrangle 1D-2D <tui_radial_quadrangle>` algorithm
-* Quadrangle: Mapping 2D algorithm
-  
-    * :ref:`Quadrangle Parameters <tui_quadrangle_parameters>` hypothesis 
-
-* :ref:`tui_radial_prism`
+* :ref:`Extrusion 3D <tui_prism_3d_algo>` algorithm
+* :ref:`Radial Prism <tui_radial_prism>` algorithm
+* :ref:`Body Fitting <tui_cartesian_algo>` algorithm
 * :ref:`Import 1D-2D Elements from Another Mesh <tui_import>` algorithm
+* :ref:`Use Faces to be Created Manually <tui_use_existing_faces>` algorithm
+* :ref:`Segments around Vertex <tui_segments_around_vertex>` algorithm
 
 
 
@@ -50,7 +53,6 @@ Arithmetic Progression and Geometric Progression
 ================================================
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex01.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex01.py>`
@@ -61,7 +63,6 @@ Adaptive
 ========
 
 .. literalinclude:: ../../../examples/defining_hypotheses_adaptive1d.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_adaptive1d.py>`
@@ -73,7 +74,6 @@ Deflection and Number of Segments
 =================================
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex02.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex02.py>`
@@ -85,7 +85,6 @@ Start and End Length
 ====================
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex03.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex03.py>`
@@ -97,7 +96,6 @@ Local Length
 ============
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex04.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex04.py>`
@@ -112,7 +110,6 @@ Maximum Element Area
 ====================
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex05.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex05.py>`
@@ -124,7 +121,6 @@ Maximum Element Volume
 ======================
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex06.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex06.py>`
@@ -136,7 +132,6 @@ Length from Edges
 =================
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex07.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex07.py>`
@@ -150,7 +145,6 @@ Propagation
 ===========
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex08.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex08.py>`
@@ -162,7 +156,6 @@ Defining Meshing Algorithms
 ###########################
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex09.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex09.py>`
@@ -174,7 +167,6 @@ Projection Algorithms
 =====================
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex10.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex10.py>`
@@ -183,7 +175,6 @@ Projection 1D2D
 ===============
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex11.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex11.py>`
@@ -194,7 +185,6 @@ Projection 1D2D
 #################################
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex12.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex12.py>`
@@ -205,7 +195,6 @@ Radial Quadrangle 1D-2D example
 ###############################
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex13.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex13.py>`
@@ -216,7 +205,6 @@ Quadrangle Parameters example 1 (meshing a face with 3 edges)
 ##############################################################
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex14.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex14.py>`
@@ -225,7 +213,6 @@ Quadrangle Parameters example 2 (using different types)
 #######################################################
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex15.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex15.py>`
@@ -236,7 +223,6 @@ Quadrangle Parameters example 2 (using different types)
 #################################################
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex16.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex16.py>`
@@ -247,7 +233,6 @@ Viscous layers construction
 ###########################
 
 .. literalinclude:: ../../../examples/defining_hypotheses_ex17.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/defining_hypotheses_ex17.py>`
@@ -258,7 +243,74 @@ Radial Prism example
 ####################
 
 .. literalinclude:: ../../../examples/radial_prism_3d_algo.py
-    :linenos:
     :language: python
 
 :download:`Download this script <../../../examples/radial_prism_3d_algo.py>`
+
+.. _tui_cartesian_algo:
+
+Usage of Body Fitting algorithm
+###############################
+
+.. literalinclude:: ../../../examples/cartesian_algo.py
+    :language: python
+
+:download:`Download this script <../../../examples/cartesian_algo.py>`
+
+.. _tui_use_existing_faces: 
+
+Usage of "Use Faces to be Created Manually" algorithm
+#####################################################
+
+This sample demonstrates how to use **Use Faces to be Created Manually** algorithm,
+which is actually just a stub allowing to use your own 2D algorithm
+implemented in Python.
+
+.. literalinclude:: ../../../examples/use_existing_faces.py
+    :language: python
+
+:download:`Download this script <../../../examples/use_existing_faces.py>`
+
+Resulting mesh:
+
+.. image:: ../images/use_existing_face_sample_mesh.png
+       :align: center
+
+
+.. _tui_prism_3d_algo:
+
+Usage of Extrusion 3D meshing algorithm
+########################################
+
+.. literalinclude:: ../../../examples/prism_3d_algo.py
+    :language: python
+
+:download:`Download this script <../../../examples/prism_3d_algo.py>`
+
+The result geometry and mesh is shown below
+
+.. image:: ../images/prism_tui_sample.png
+       :align: center
+
+
+.. _tui_quad_ma_proj_algo:
+
+Usage of Medial Axis Projection algorithm
+#########################################
+
+.. literalinclude:: ../../../examples/quad_medial_axis_algo.py
+    :language: python
+
+:download:`Download this script <../../../examples/quad_medial_axis_algo.py>`
+
+
+.. _tui_segments_around_vertex:
+
+Usage of Segments around Vertex algorithm
+#########################################
+
+.. literalinclude:: ../../../examples/defining_hypotheses_len_near_vertex.py
+    :language: python
+
+:download:`Download this script <../../../examples/defining_hypotheses_len_near_vertex.py>`
+