Salome HOME
general crack dialog documentation
authorPaul RASCLE <paul.rascle@edf.fr>
Mon, 18 Apr 2016 12:07:49 +0000 (14:07 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Mon, 18 Apr 2016 12:07:49 +0000 (14:07 +0200)
72 files changed:
src/Tools/blocFissure/doc/faq.rst [new file with mode: 0755]
src/Tools/blocFissure/doc/gui.rst [new file with mode: 0755]
src/Tools/blocFissure/doc/images/01_CubeAngle.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/01_CubeAngle_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/02_CubeAngle2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/02_CubeAngle2_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/03_cylindre.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/03_cylindre_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/04_cylindre2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/04_cylindre2_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/05_disque.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/05_disque_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/06_ellipse1.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/06_ellipse1_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/07_ellipse2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/07_ellipse2_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/08_eprouvetteCourbe.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/08_eprouvetteCourbe_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/09_eprouvetteDroite.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/09_eprouvetteDroite_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/10_eprouvetteDroite2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/10_eprouvetteDroite2_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/11_faceGauche.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/11_faceGauche_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/12_faceGauche2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/12_faceGauche2_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/13_vis_1.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/13_vis_1_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/BF_GUI_capture.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/Capture_GUI_pipes.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/Capture_GUI_pipes_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/GUI_BG.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/coude_0.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/coude_0_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/coude_3.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_a.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_b.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_c.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_d.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_e.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_f.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_g.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_h.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_i.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_j.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_j_old.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_k.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/general_princ_k_old.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/intro.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/longueur_influence.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/parametres.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/parametres_GUI.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/recom_groupe_apres.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/recom_groupe_avant.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/recom_interface_apres.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/recom_interface_avant.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/schema_fis_ext2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/schema_fissure.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/schema_lignes1.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/schema_tube_sain.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/tutorial_1.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/tutorial_2.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/tutorial_3.png [new file with mode: 0644]
src/Tools/blocFissure/doc/images/tutorial_4.png [new file with mode: 0644]
src/Tools/blocFissure/doc/index.rst
src/Tools/blocFissure/doc/introduction.rst [new file with mode: 0755]
src/Tools/blocFissure/doc/pipes.rst [new file with mode: 0755]
src/Tools/blocFissure/doc/principles.rst [new file with mode: 0755]
src/Tools/blocFissure/doc/scripts.rst [new file with mode: 0755]
src/Tools/blocFissure/doc/testcases.rst [new file with mode: 0755]
src/Tools/blocFissure/doc/tutorials.rst [new file with mode: 0755]
src/Tools/blocFissure/doc/use.rst [new file with mode: 0755]

diff --git a/src/Tools/blocFissure/doc/faq.rst b/src/Tools/blocFissure/doc/faq.rst
new file mode 100755 (executable)
index 0000000..03e5ff0
--- /dev/null
@@ -0,0 +1,19 @@
+.. _faq:\r
+\r
+#######################\r
+FAQ\r
+#######################\r
+\r
+ - Does Bloc Fissure works on a 2D mesh ?\r
+\r
+No, Bloc Fissure works only for 3D meshes. However, the user can extrude the 2D mesh to a 3D mesh, insert a crack and then extract a surface containing the crack.\r
+\r
+ - Can I insert a crack in a symmetry plan ?\r
+\r
+No, the user must insert the crack without using the symmetry plan passing through the crack lips.\r
+\r
+ - I can't have Bloc Fissure working, it raises a pure python error, what can I do ?\r
+\r
+Bloc Fissure has some error messages for the most commonly encountered misuses. If the program raises a pure python error, it means that this error is rare or has not been encountered by the programmers yet.\r
+\r
+Still, either the case can't be treated using Bloc Fissure or the insertion procedure was not fully respected. In the first case, use Zcracks (soon available). In the second case, see the :ref:`tutorial <tutorials>`.
\ No newline at end of file
diff --git a/src/Tools/blocFissure/doc/gui.rst b/src/Tools/blocFissure/doc/gui.rst
new file mode 100755 (executable)
index 0000000..0293413
--- /dev/null
@@ -0,0 +1,78 @@
+.. _gui:\r
+\r
+With GUI\r
+=====================================\r
+\r
+To make the use of « Bloc Fissure » easier, a Graphical User Interface (GUI) was developed. Inputs are similar to those of :ref:`script mode <script>`. GUI is accessible in the SMESH extension *XXXXXXXXXXXXXXXXXXXXXXXX*\r
+\r
+.. figure:: images/BF_GUI_capture.png\r
+   :width: 700\r
+   :align: center\r
+\r
+   Windows of the graphical interface\r
+\r
++------------------------------------------------------------------------------------------------------------------+\r
+|       GUI parameters                                                                                             |\r
++======================+===================================+=======================================================+\r
+| **maillageSain**     | *[string]*                        |  Relative address of the input structure 3D mesh      |\r
+|                      | ex: mesh/maillage.med             |  in MED format (base is repertoire de travail)        |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **FaceFissure**      | *[string]*                        |  Relative address of the input crack geometry         |\r
+|                      | ex: mesh/fissure.brep             |  in BREP format (base is repertoire de travail)       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **index edges fond   | *[list of integers]*              |  List of edges number which define the crack front    |\r
+| fissure**            | ex: [1,2]                         |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **min**              | *[float]*                         |  Float defining the minimum size of elements          |\r
+|                      | ex: 1.00000                       |  to mesh the crack                                    |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **max**              | *[float]*                         |  Float defining the maximum size of elements          |\r
+|                      | ex: 10.0000                       |  to mesh the crack                                    |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **distance           | *[float]*                         |  Length of influence - distance that defines the      |\r
+| influence**          | ex: 20.0000                       |  size of the extracted Box around the crack           |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **rayon pipe**       | *[float]*                         |  Radius of the tore around the front                  |\r
+|                      | ex: 5.00000                       |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **longueur mailles** | *[float]*                         |  Length of the segments of the tore along crack front |\r
+|                      | ex: 5.00000                       |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+|  **couronnes**       | *[integer]*                       |  Number of radial segment of the tore                 |\r
+|                      | ex: 5                             |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **secteurs**         | *[integer]*                       |  Number of sectors of the tore                        |\r
+|                      | ex: 16                            |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **arete face         | *[float]*                         |  Mesh size of elements for the Box remeshing          |\r
+| fissure**            | ex: 5.0000                        |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **repertoire de      | *[string]*                        |  Absolute address of the directory where files are    |\r
+| travail**            | ex: /home/A123456                 |  saved                                                |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **nom résultat**     | *[string]*                        |  Name of the resulting mesh                           |\r
+|                      | ex: maillage_fissure              |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **mode**             | *[choice]*                        |  Verbose mode for Salome messages                     |\r
+|                      | ex: verbose                       |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+\r
+.. figure:: images/parametres_GUI.png\r
+   :width: 350\r
+   :align: center\r
+\r
+   Tore parameters\r
+\r
+\r
+- **Reset**: clears all the parameters\r
+\r
+- **Précédent**: loads the last set of parameters used\r
+\r
+- **Recharger**: loads a .dic file containing parameters\r
+\r
+- **Sauver**: save a .dic file with the active parameters\r
+\r
+- **Cancel**: exit GUI\r
+\r
+- **Sauver**: Launch calculation\r
+\r
diff --git a/src/Tools/blocFissure/doc/images/01_CubeAngle.png b/src/Tools/blocFissure/doc/images/01_CubeAngle.png
new file mode 100644 (file)
index 0000000..5c7130e
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/01_CubeAngle.png differ
diff --git a/src/Tools/blocFissure/doc/images/01_CubeAngle_2.png b/src/Tools/blocFissure/doc/images/01_CubeAngle_2.png
new file mode 100644 (file)
index 0000000..aa4b00c
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/01_CubeAngle_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/02_CubeAngle2.png b/src/Tools/blocFissure/doc/images/02_CubeAngle2.png
new file mode 100644 (file)
index 0000000..3a01748
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/02_CubeAngle2.png differ
diff --git a/src/Tools/blocFissure/doc/images/02_CubeAngle2_2.png b/src/Tools/blocFissure/doc/images/02_CubeAngle2_2.png
new file mode 100644 (file)
index 0000000..d590720
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/02_CubeAngle2_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/03_cylindre.png b/src/Tools/blocFissure/doc/images/03_cylindre.png
new file mode 100644 (file)
index 0000000..a1ce4cf
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/03_cylindre.png differ
diff --git a/src/Tools/blocFissure/doc/images/03_cylindre_2.png b/src/Tools/blocFissure/doc/images/03_cylindre_2.png
new file mode 100644 (file)
index 0000000..106d201
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/03_cylindre_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/04_cylindre2.png b/src/Tools/blocFissure/doc/images/04_cylindre2.png
new file mode 100644 (file)
index 0000000..8f06c17
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/04_cylindre2.png differ
diff --git a/src/Tools/blocFissure/doc/images/04_cylindre2_2.png b/src/Tools/blocFissure/doc/images/04_cylindre2_2.png
new file mode 100644 (file)
index 0000000..a065a41
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/04_cylindre2_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/05_disque.png b/src/Tools/blocFissure/doc/images/05_disque.png
new file mode 100644 (file)
index 0000000..1ab5269
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/05_disque.png differ
diff --git a/src/Tools/blocFissure/doc/images/05_disque_2.png b/src/Tools/blocFissure/doc/images/05_disque_2.png
new file mode 100644 (file)
index 0000000..deda214
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/05_disque_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/06_ellipse1.png b/src/Tools/blocFissure/doc/images/06_ellipse1.png
new file mode 100644 (file)
index 0000000..9ad5911
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/06_ellipse1.png differ
diff --git a/src/Tools/blocFissure/doc/images/06_ellipse1_2.png b/src/Tools/blocFissure/doc/images/06_ellipse1_2.png
new file mode 100644 (file)
index 0000000..349ff36
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/06_ellipse1_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/07_ellipse2.png b/src/Tools/blocFissure/doc/images/07_ellipse2.png
new file mode 100644 (file)
index 0000000..354b93d
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/07_ellipse2.png differ
diff --git a/src/Tools/blocFissure/doc/images/07_ellipse2_2.png b/src/Tools/blocFissure/doc/images/07_ellipse2_2.png
new file mode 100644 (file)
index 0000000..0f306a7
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/07_ellipse2_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/08_eprouvetteCourbe.png b/src/Tools/blocFissure/doc/images/08_eprouvetteCourbe.png
new file mode 100644 (file)
index 0000000..49ef7da
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/08_eprouvetteCourbe.png differ
diff --git a/src/Tools/blocFissure/doc/images/08_eprouvetteCourbe_2.png b/src/Tools/blocFissure/doc/images/08_eprouvetteCourbe_2.png
new file mode 100644 (file)
index 0000000..53e826f
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/08_eprouvetteCourbe_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/09_eprouvetteDroite.png b/src/Tools/blocFissure/doc/images/09_eprouvetteDroite.png
new file mode 100644 (file)
index 0000000..8fac8b0
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/09_eprouvetteDroite.png differ
diff --git a/src/Tools/blocFissure/doc/images/09_eprouvetteDroite_2.png b/src/Tools/blocFissure/doc/images/09_eprouvetteDroite_2.png
new file mode 100644 (file)
index 0000000..9c5c222
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/09_eprouvetteDroite_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/10_eprouvetteDroite2.png b/src/Tools/blocFissure/doc/images/10_eprouvetteDroite2.png
new file mode 100644 (file)
index 0000000..3801db3
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/10_eprouvetteDroite2.png differ
diff --git a/src/Tools/blocFissure/doc/images/10_eprouvetteDroite2_2.png b/src/Tools/blocFissure/doc/images/10_eprouvetteDroite2_2.png
new file mode 100644 (file)
index 0000000..562865e
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/10_eprouvetteDroite2_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/11_faceGauche.png b/src/Tools/blocFissure/doc/images/11_faceGauche.png
new file mode 100644 (file)
index 0000000..200bd7e
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/11_faceGauche.png differ
diff --git a/src/Tools/blocFissure/doc/images/11_faceGauche_2.png b/src/Tools/blocFissure/doc/images/11_faceGauche_2.png
new file mode 100644 (file)
index 0000000..8908823
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/11_faceGauche_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/12_faceGauche2.png b/src/Tools/blocFissure/doc/images/12_faceGauche2.png
new file mode 100644 (file)
index 0000000..ff0163a
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/12_faceGauche2.png differ
diff --git a/src/Tools/blocFissure/doc/images/12_faceGauche2_2.png b/src/Tools/blocFissure/doc/images/12_faceGauche2_2.png
new file mode 100644 (file)
index 0000000..2e4cbe5
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/12_faceGauche2_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/13_vis_1.png b/src/Tools/blocFissure/doc/images/13_vis_1.png
new file mode 100644 (file)
index 0000000..e79cad8
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/13_vis_1.png differ
diff --git a/src/Tools/blocFissure/doc/images/13_vis_1_2.png b/src/Tools/blocFissure/doc/images/13_vis_1_2.png
new file mode 100644 (file)
index 0000000..8bc9a5b
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/13_vis_1_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/BF_GUI_capture.png b/src/Tools/blocFissure/doc/images/BF_GUI_capture.png
new file mode 100644 (file)
index 0000000..d234f6c
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/BF_GUI_capture.png differ
diff --git a/src/Tools/blocFissure/doc/images/Capture_GUI_pipes.png b/src/Tools/blocFissure/doc/images/Capture_GUI_pipes.png
new file mode 100644 (file)
index 0000000..25a952e
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/Capture_GUI_pipes.png differ
diff --git a/src/Tools/blocFissure/doc/images/Capture_GUI_pipes_2.png b/src/Tools/blocFissure/doc/images/Capture_GUI_pipes_2.png
new file mode 100644 (file)
index 0000000..f34c6d5
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/Capture_GUI_pipes_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/GUI_BG.png b/src/Tools/blocFissure/doc/images/GUI_BG.png
new file mode 100644 (file)
index 0000000..c652f3c
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/GUI_BG.png differ
diff --git a/src/Tools/blocFissure/doc/images/coude_0.png b/src/Tools/blocFissure/doc/images/coude_0.png
new file mode 100644 (file)
index 0000000..afa7ce3
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/coude_0.png differ
diff --git a/src/Tools/blocFissure/doc/images/coude_0_2.png b/src/Tools/blocFissure/doc/images/coude_0_2.png
new file mode 100644 (file)
index 0000000..ca25cae
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/coude_0_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/coude_3.png b/src/Tools/blocFissure/doc/images/coude_3.png
new file mode 100644 (file)
index 0000000..63d016c
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/coude_3.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_a.png b/src/Tools/blocFissure/doc/images/general_princ_a.png
new file mode 100644 (file)
index 0000000..6c995fb
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_a.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_b.png b/src/Tools/blocFissure/doc/images/general_princ_b.png
new file mode 100644 (file)
index 0000000..997689d
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_b.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_c.png b/src/Tools/blocFissure/doc/images/general_princ_c.png
new file mode 100644 (file)
index 0000000..2227d96
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_c.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_d.png b/src/Tools/blocFissure/doc/images/general_princ_d.png
new file mode 100644 (file)
index 0000000..afde83b
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_d.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_e.png b/src/Tools/blocFissure/doc/images/general_princ_e.png
new file mode 100644 (file)
index 0000000..92e7814
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_e.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_f.png b/src/Tools/blocFissure/doc/images/general_princ_f.png
new file mode 100644 (file)
index 0000000..329a062
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_f.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_g.png b/src/Tools/blocFissure/doc/images/general_princ_g.png
new file mode 100644 (file)
index 0000000..b1c95ef
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_g.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_h.png b/src/Tools/blocFissure/doc/images/general_princ_h.png
new file mode 100644 (file)
index 0000000..4c0f65b
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_h.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_i.png b/src/Tools/blocFissure/doc/images/general_princ_i.png
new file mode 100644 (file)
index 0000000..1f94889
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_i.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_j.png b/src/Tools/blocFissure/doc/images/general_princ_j.png
new file mode 100644 (file)
index 0000000..c9fd755
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_j.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_j_old.png b/src/Tools/blocFissure/doc/images/general_princ_j_old.png
new file mode 100644 (file)
index 0000000..172ed90
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_j_old.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_k.png b/src/Tools/blocFissure/doc/images/general_princ_k.png
new file mode 100644 (file)
index 0000000..daa6c0e
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_k.png differ
diff --git a/src/Tools/blocFissure/doc/images/general_princ_k_old.png b/src/Tools/blocFissure/doc/images/general_princ_k_old.png
new file mode 100644 (file)
index 0000000..b97c76b
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/general_princ_k_old.png differ
diff --git a/src/Tools/blocFissure/doc/images/intro.png b/src/Tools/blocFissure/doc/images/intro.png
new file mode 100644 (file)
index 0000000..7556a34
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/intro.png differ
diff --git a/src/Tools/blocFissure/doc/images/longueur_influence.png b/src/Tools/blocFissure/doc/images/longueur_influence.png
new file mode 100644 (file)
index 0000000..233cb0d
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/longueur_influence.png differ
diff --git a/src/Tools/blocFissure/doc/images/parametres.png b/src/Tools/blocFissure/doc/images/parametres.png
new file mode 100644 (file)
index 0000000..eb3aaa5
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/parametres.png differ
diff --git a/src/Tools/blocFissure/doc/images/parametres_GUI.png b/src/Tools/blocFissure/doc/images/parametres_GUI.png
new file mode 100644 (file)
index 0000000..fc0d4be
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/parametres_GUI.png differ
diff --git a/src/Tools/blocFissure/doc/images/recom_groupe_apres.png b/src/Tools/blocFissure/doc/images/recom_groupe_apres.png
new file mode 100644 (file)
index 0000000..45fee89
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/recom_groupe_apres.png differ
diff --git a/src/Tools/blocFissure/doc/images/recom_groupe_avant.png b/src/Tools/blocFissure/doc/images/recom_groupe_avant.png
new file mode 100644 (file)
index 0000000..9ce91f0
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/recom_groupe_avant.png differ
diff --git a/src/Tools/blocFissure/doc/images/recom_interface_apres.png b/src/Tools/blocFissure/doc/images/recom_interface_apres.png
new file mode 100644 (file)
index 0000000..dbbc703
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/recom_interface_apres.png differ
diff --git a/src/Tools/blocFissure/doc/images/recom_interface_avant.png b/src/Tools/blocFissure/doc/images/recom_interface_avant.png
new file mode 100644 (file)
index 0000000..7cc8fcc
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/recom_interface_avant.png differ
diff --git a/src/Tools/blocFissure/doc/images/schema_fis_ext2.png b/src/Tools/blocFissure/doc/images/schema_fis_ext2.png
new file mode 100644 (file)
index 0000000..0c5d84d
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/schema_fis_ext2.png differ
diff --git a/src/Tools/blocFissure/doc/images/schema_fissure.png b/src/Tools/blocFissure/doc/images/schema_fissure.png
new file mode 100644 (file)
index 0000000..581c7f3
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/schema_fissure.png differ
diff --git a/src/Tools/blocFissure/doc/images/schema_lignes1.png b/src/Tools/blocFissure/doc/images/schema_lignes1.png
new file mode 100644 (file)
index 0000000..9079b56
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/schema_lignes1.png differ
diff --git a/src/Tools/blocFissure/doc/images/schema_tube_sain.png b/src/Tools/blocFissure/doc/images/schema_tube_sain.png
new file mode 100644 (file)
index 0000000..03c2041
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/schema_tube_sain.png differ
diff --git a/src/Tools/blocFissure/doc/images/tutorial_1.png b/src/Tools/blocFissure/doc/images/tutorial_1.png
new file mode 100644 (file)
index 0000000..78d4d6a
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/tutorial_1.png differ
diff --git a/src/Tools/blocFissure/doc/images/tutorial_2.png b/src/Tools/blocFissure/doc/images/tutorial_2.png
new file mode 100644 (file)
index 0000000..3520f58
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/tutorial_2.png differ
diff --git a/src/Tools/blocFissure/doc/images/tutorial_3.png b/src/Tools/blocFissure/doc/images/tutorial_3.png
new file mode 100644 (file)
index 0000000..3b0bc8e
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/tutorial_3.png differ
diff --git a/src/Tools/blocFissure/doc/images/tutorial_4.png b/src/Tools/blocFissure/doc/images/tutorial_4.png
new file mode 100644 (file)
index 0000000..890f2ca
Binary files /dev/null and b/src/Tools/blocFissure/doc/images/tutorial_4.png differ
index 4005e6b107f6ad9333e7662774aa275b834c2f81..57d14c5e1b118e87b83bf8b40829747409d31ee0 100644 (file)
@@ -1,39 +1,24 @@
-..
-   Copyright (C) 2015-2016 EDF
 
-   This file is part of SALOME HYDRO module.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ Bloc Fissure documentation
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-   SALOME HYDRO module is free software: you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation, either version 3 of the License, or
-   (at your option) any later version.
+Contents:
 
-   SALOME HYDRO module is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+.. toctree::
+  :maxdepth: 2
 
-   You should have received a copy of the GNU General Public License
-   along with SALOME HYDRO module.  If not, see <http://www.gnu.org/licenses/>.
+  introduction.rst
+  principles.rst
+  use.rst
+  tutorials.rst
+  testcases.rst
+  faq.rst
 
+Indices and tables
+==================
 
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-Documentation du plugin blocFissure
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
 
-
-Le plugin blocFissure traite l'insertion de fissure dans un maillage sain.
-
-###################
-Outil métier coudes
-################### 
-
-Cet outil génère des maillages de tuyaux coudés, avec des fissures de différents types, au niveau du coude.
-Cet outil traite un cas particulier de l'outil général d'insertion de fissure dans un maillage sain.
-
-##########################################
-Insertion de fissure dans un maillage sain
-##########################################
-
-Partant d'un maillage sain et d'une face de fissure décrite en CAO, l'outil modifie le maillage sain,
-en introduisant un maillage de la fissure, sous la forme d'un tore rayonnant le long de la ligne de fond de fissure.
diff --git a/src/Tools/blocFissure/doc/introduction.rst b/src/Tools/blocFissure/doc/introduction.rst
new file mode 100755 (executable)
index 0000000..6b9111b
--- /dev/null
@@ -0,0 +1,22 @@
+.. _introduction:\r
+\r
+\r
+###################\r
+Introduction\r
+###################\r
+\r
+.. image:: images/intro.png\r
+   :scale: 50\r
+   :align: center\r
+\r
+« Bloc Fissure » is a SMESH extension used to insert cracks in existing meshes. It has the advantage of meshing the crack front and the surrounding elements with a tore containing ruled elements. The rest of the crack contains a free mesh. The tore is made of prism elements (extruded triangles connected to the crack front) and hexahedrons elsewhere. The main interests of such type of mesh are:\r
+\r
+- Having sets of Gauss points in plans perpendicular to the crack front in order to calculate stress field without any interpolation, which would be the case on free mesh. It avoids strong oscillations along the crack front on the energy release rate and stress intensity factors calculated by `extrapolation <http://code-aster.org/doc/default/fr/man_r/r7/r7.02.08.pdf>`_ or `G-theta method <http://code-aster.org/doc/default/fr/man_r/r7/r7.02.01.pdf>`_.\r
+\r
+- Decrease the element number. In fracture mechanics, a fine mesh is necessary radially to the crack front and more rarely along the front axis. Yet hexahedrons and prisms elements can have geometrical aspect ratios up to 20 without major matrix conditioning problems. On the contrary, tetrahedrons of free meshes are generally limited to aspect ratios around 3. The use of very elongated elements is then no longer a limitation and number of elements can be significantly decreased.\r
+\r
+« Bloc Fissure » is not applicable every time. It is highly recommended to read the section on :ref:`general principles <general_principles>` to see how « Bloc Fissure » works. This section also gives the functional scope and the :ref:`limitations <recommendations>` of the tool. Finally, this part deals with cautions that the user must take using « Bloc Fissure ». The user can also refers himself to the :ref:`tutorial <tutorials>` to get some advice on how to make « Bloc Fissure » works.\r
+\r
+If « Bloc Fissure » can’t be used on a case, the user may switch to the other FEM insertion tool Zcracks in SALOME (soon available). It’s more robust and has less limitations but the result is a cracked free mesh with tetrahedral elements. Another possibility is the `X-FEM method <http://www.code-aster.org/doc/v11/fr/man_u/u2/u2.05.02.pdf>`_ method in SALOME_MECA.\r
+\r
+\r
diff --git a/src/Tools/blocFissure/doc/pipes.rst b/src/Tools/blocFissure/doc/pipes.rst
new file mode 100755 (executable)
index 0000000..15d369b
--- /dev/null
@@ -0,0 +1,104 @@
+.. _using_bf_bended_pipes:\r
+\r
+For bended pipes\r
+=====================================\r
+\r
+Cracked bended pipes being a common encountered case, a specific module was developed with a Graphic User Interface (GUI). GUI is accessible in the SMESH extension *Meshed Pipe with a crack*. Compared to the classical use of « Bloc Fissure », this extension also generate the pipe mesh and the crack geometry from geometrical information.\r
+\r
+\r
+.. figure:: images/Capture_GUI_pipes_2.png\r
+   :width: 800\r
+   :align: center\r
+\r
+   Print screen of GUI of the extension *Meshed Pipe with a crack*\r
+\r
+The GUI is a window with mandatory and optional parameters. Optional parameters have to be activated by ticking the corresponding check box. Parameters are explained on the following figures and table. Angles are in degrees and lengths dimensions are all the same and shall then be consistent with each other’s.\r
+\r
++---------------------------------------+---------------------------------------+\r
+|.. image:: images/schema_tube_sain.png | .. image:: images/schema_fis_ext2.png |\r
+|   :scale: 40                          |    :scale: 40                         |\r
+|   :align: center                      |    :align: center                     |\r
++---------------------------------------+---------------------------------------+\r
+|.. image:: images/schema_fissure.png                                           |\r
+|   :scale: 40                                                                  |\r
+|   :align: center                                                              |\r
++---------------------------------------+---------------------------------------+\r
+\r
+\r
++-----------------------------------------------------------------------------------------+\r
+|       Section "coude sain"                                                              |\r
++===================+=====================================================================+\r
+|**ANGLE**          | Bending angle value between 0 and 90°                               |\r
++-------------------+---------------------------------------------------------------------+\r
+|**R_CINTR**        | Bending radius at the pipe axe                                      |\r
++-------------------+---------------------------------------------------------------------+\r
+|**L_TUBE_P1**      | P1 nozzle length                                                    |\r
++-------------------+---------------------------------------------------------------------+\r
+|**L_TUBE_P2**      | P2 nozzle length                                                    |\r
++-------------------+---------------------------------------------------------------------+\r
+|**EPAIS**          | Pipe thickness                                                      |\r
++-------------------+---------------------------------------------------------------------+\r
+|**DEXT**           | External diameter of the pipe                                       |\r
++-------------------+---------------------------------------------------------------------+\r
+|/**NB_AXE_TUBE_P1**| Number of elements along P1 nozzle axe                              |\r
++-------------------+---------------------------------------------------------------------+\r
+|/**NB_AXE_TUBE_P2**| Number of elements along P2 nozzle axe                              |\r
++-------------------+---------------------------------------------------------------------+\r
+|/**NB_AXE_COUDE**  | Number of elements along bend axe                                   |\r
++-------------------+---------------------------------------------------------------------+\r
+|/**NB_CIRCONF**    | Number of elements in the circumference of the pipe (shall be even) |\r
++-------------------+---------------------------------------------------------------------+\r
+|/**NB_EPAISSEUR**  | Number of elements in the pipe thickness                            |\r
++-------------------+---------------------------------------------------------------------+\r
+\r
+\r
++---------------------------+----------------------------------------------------------------------------------------------+\r
+|         Section "fissure"                                                                                                |\r
++===========================+==============================================================================================+\r
+|**Fissure interne externe**| Crack position respectively on the internal or external face of the pipe                     |\r
++---------------------------+----------------------------------------------------------------------------------------------+\r
+|**Forcer elliptique**      | Force the crack to be elliptic (do not use, under development)                               |\r
++---------------------------+----------------------------------------------------------------------------------------------+\r
+|**PROFONDEUR**             | Crack depth                                                                                  |\r
++---------------------------+----------------------------------------------------------------------------------------------+\r
+|**LONGUEUR**               | Crack major axis length measured on the surface where the crack is to be inserted            |\r
++---------------------------+----------------------------------------------------------------------------------------------+\r
+|**AZIMUT**                 | Circumferential position of the crack in degrees from the extrados to the intrados           |\r
++---------------------------+----------------------------------------------------------------------------------------------+\r
+|**ORIEN**                  | Angle between the major axis of the crack and the axe of the pipe.                           |\r
++---------------------------+----------------------------------------------------------------------------------------------+\r
+|**ABS_CURV**               | Longitudinal position of the crack centre defined from the interface between P1 and the bend.|\r
+|                           | It’s a curvilinear abscise and it can be negative or positive.                               |\r
++---------------------------+----------------------------------------------------------------------------------------------+\r
+|Or **POSI_ANGUL**          | Longitudinal position of the crack centre (DO NOT USE)                                       |\r
++---------------------------+----------------------------------------------------------------------------------------------+\r
+\r
+\r
++----------------------------------------------------------------------------+\r
+|       Section "maillage fissure"                                           |\r
++========================+===================================================+\r
+|**NB_TRANCHES**         | Elements number along the crack front of the tore |\r
++------------------------+---------------------------------------------------+\r
+|**NB_COURONNE**         | Elements number in the radius of the tore         |\r
++------------------------+---------------------------------------------------+\r
+|**NB_SECTEUR**          | Sectors number of the tore                        |\r
++------------------------+---------------------------------------------------+\r
+|**RAYON_TORE**          | Tore radius                                       |\r
++------------------------+---------------------------------------------------+\r
+|/**Arêtes face fissure**| Approximate size of elements on the external face |\r
+|                        | of the Box mesh after crack insertion             |\r
++------------------------+---------------------------------------------------+\r
+|/**Distance influence** | Length that defines the criterion to include mesh |\r
+|                        | elements around the crack in the Box or not       |\r
++------------------------+---------------------------------------------------+\r
+\r
+- **Reset**: clears all the parameters\r
+\r
+- **Précédent**: loads the last set of parameters used\r
+\r
+- **Recharger**: loads a .dic file containing parameters\r
+\r
+- **Sauver**: save a .dic file with the active parameters\r
+\r
+\r
+\r
diff --git a/src/Tools/blocFissure/doc/principles.rst b/src/Tools/blocFissure/doc/principles.rst
new file mode 100755 (executable)
index 0000000..9ccce30
--- /dev/null
@@ -0,0 +1,122 @@
+.. _general_principles:\r
+\r
+###################\r
+General principles\r
+###################\r
+\r
+« Bloc Fissure » is based on GEOM module geometrical Boolean operations. The initial structure being a mesh, a conversion from mesh to geometry becomes necessary. This operation is called extraction and reconstruction because it is only applied to a small part of the mesh, which is around the crack. The extracted mesh is called the « Box » and only external faces of this mesh are kept and converted into several geometrical surfaces. This operation implies some limitations on the input mesh. When all the Booleans operations are done, the geometry that contains the crack is meshed again with a ruled mesh in the tore and a free mesh elsewhere.\r
+\r
+In order to illustrate « Bloc Fissure » principle, the simple case of a crack insertion in a parallelepipedic specimen is detailed step by step:\r
+\r
+1. The first step consists in loading the structure mesh (a) as well as the crack surface geometry (b).\r
+\r
+2. The crack is then meshed (c). A length criterion defines the size of the extracted « Box ». This length is called the length of influence. All elements having a node within this zone is included in the « Box ». A second operation adds elements in the Box in order to have continuous faces (d).\r
+\r
+3. A geometrical Box is reconstructed from the extracted Box mesh. The reconstruction is limited to faces which intersect the crack (e). A tore is created following the crack front (f).\r
+\r
+4. The geometrical Box is then cut by the tore and the crack (g). Several plans are created in order to partition the box and the tore into radiuses for the future mesh (h).\r
+\r
+5. The Box, the crack and the tore are meshed on their external surface (i) and then filled with volumetric elements (j). Crack nodes are doubled to « open » crack lips.\r
+\r
+6. Finally the cracked box mesh is reinserted in the initial mesh ensuring the connectivity (k).\r
+\r
++---------------------------------------+---------------------------------------+---------------------------------------+\r
+| .. image:: images/general_princ_a.png | .. image:: images/general_princ_b.png | .. image:: images/general_princ_c.png |\r
+|   :height: 600                        |    :height: 184                       |   :height: 184                        |\r
+|   :align: center                      |    :align: center                     |   :align: center                      |\r
+|                                       |                                       |                                       |\r
+| (a)                                   | (b)                                   | (c)                                   |\r
++                                       +---------------------------------------+---------------------------------------+\r
+|                                       | .. image:: images/general_princ_d.png | .. image:: images/general_princ_e.png |\r
+|                                       |    :height: 184                       |   :height: 184                        |\r
+|                                       |    :align: center                     |   :align: center                      |\r
+|                                       |                                       |                                       |\r
+|                                       | (d)                                   | (e)                                   |\r
++                                       +---------------------------------------+---------------------------------------+\r
+|                                       | .. image:: images/general_princ_f.png | .. image:: images/general_princ_g.png |\r
+|                                       |    :height: 184                       |   :height: 184                        |\r
+|                                       |    :align: center                     |   :align: center                      |\r
+|                                       |                                       |                                       |\r
+|                                       | (f)                                   | (g)                                   |\r
++---------------------------------------+---------------------------------------+---------------------------------------+\r
+| .. image:: images/general_princ_h.png | .. image:: images/general_princ_k.png |                                       |\r
+|   :height: 184                        |    :height: 600                       |                                       |\r
+|   :align: center                      |    :align: center                     |                                       |\r
+|                                       |                                       |                                       |\r
+| (h)                                   | (k)                                   |                                       |\r
++---------------------------------------+                                       +                                       +\r
+| .. image:: images/general_princ_i.png |                                       |                                       |\r
+|   :height: 184                        |                                       |                                       |\r
+|   :align: center                      |                                       |                                       |\r
+|                                       |                                       |                                       |\r
+| (i)                                   |                                       |                                       |\r
++---------------------------------------+                                       +                                       +\r
+| .. image:: images/general_princ_j.png |                                       |                                       |\r
+|   :height: 184                        |                                       |                                       |\r
+|   :align: center                      |                                       |                                       |\r
+|                                       |                                       |                                       |\r
+| (j)                                   |                                       |                                       |\r
++---------------------------------------+---------------------------------------+---------------------------------------+\r
+\r
+The length of influence is important. It defines the size of the extracted Box. Here is a 2D example showing how are selected the elements of the Box :\r
+\r
+.. image:: images/longueur_influence.png\r
+   :width: 600\r
+   :align: center\r
+\r
+All elements having a node at a smaller distance to the crack than the length of influence is selected. Then a filling algorithm fulfill the Box with elements to get a Box. The Box is not limited to rectangular shapes. See the section on :ref:`test cases <test_cases>` to see examples.\r
+\r
+.. _recommendations:\r
+\r
+######################################\r
+Recommendations and limitations\r
+######################################\r
+\r
+1) **Linear input mesh:**\r
+\r
+The input structure mesh must have linear elements in the extracted Box. Elements elsewhere do not have this limitation. The user can easily convert the mesh from quadratic to linear in MESH module in SALOME. Note that the element curvature of quadratic element is lost in the conversion.\r
+\r
+2) **Hexahedral mesh:**\r
+\r
+The extracted Box must have ruled quadrangles on the external faces which are intersected by the crack. The algorithm for geometrical reconstruction of the box needs 4 nodes elements on the surface of the box mesh. It means that free tetrahedral elements meshes are incompatible with « Bloc Fissure».\r
+\r
+3) **Crack shall exceed from the structure:**\r
+\r
+Surface crack geometry shall exceed from the structure mesh. Boolean operation can be problematic if crack surface edges are strictly on the Box faces. On the other hand, surface crack shall not exceed too much. A good rule would be to ensure that the area of the crack in the structure is greater than the area of the crack outside of the structure. It also means that internal crack can't be handled.\r
+\r
+4) **Crack front edges must exceed from the structure:**\r
+\r
+For similar reasons, crack front edges must exceed from the structure mesh. The user shall be really careful when fusing crack front edges within the structure with edges outside of the structure because junction mustn’t be on the box external face. For example the following figure shows the bad and the good practice. In grew a 2D view of a structure to cut and in red the crack surface. Line 1 is the edge declared as the crack front. On the left case, Line 1 stops on the box boundary. Even if Line 1 is extended with Line 2 and 5, « Bloc Fissure» will fail. The good practice is to extend the Line 1 with the same shape. See how to extend the front edges in the :ref:`tutorials section <tutorials>`\r
+\r
+.. image:: images/schema_lignes1.png\r
+   :scale: 80\r
+\r
+5) **Loss of element groups:**\r
+\r
+Crack insertion with « Bloc Fissure» doesn’t ensure elements groups conservation. All the groups that are partially or totally in the Box mesh are impacted. Groups are not deleted but newly created elements are not added to the initial groups. Users must be really careful and verify their groups after crack insertion.\r
+\r
++-------------------------------------------+------------------------------------------+\r
+|.. image:: images/recom_groupe_avant.png   | .. image:: images/recom_groupe_apres.png |\r
+|   :height: 400                            |    :height: 400                          |\r
+|   :align: center                          |    :align: center                        |\r
++-------------------------------------------+------------------------------------------+\r
+\r
+In this example, the initial group contains all the external faces of the mesh (left). After insertion, the group still exists but all elements of the Box are not in the group anymore (right).\r
+\r
+6) **Loss of interfaces:**\r
+\r
+Interfaces between elements are not kept in the Box zone during insertion. For example, in the case of a crack inserted at an interface between two materials, there is no way to rebuild exactly the original groups for affecting materials properties.\r
+\r
++--------------------------------------------+---------------------------------------------+\r
+|.. image:: images/recom_interface_avant.png | .. image:: images/recom_interface_apres.png |\r
+|   :height: 300                             |    :height: 300                             |\r
+|   :align: center                           |    :align: center                           |\r
++--------------------------------------------+---------------------------------------------+\r
+\r
+7) **Element normal:**\r
+\r
+Elements normal orientation doesn’t always follow the outgoing rule. User must verify faces orientation if fluxes boundary conditions are to be applied to the mesh.\r
+\r
+\r
+\r
+\r
diff --git a/src/Tools/blocFissure/doc/scripts.rst b/src/Tools/blocFissure/doc/scripts.rst
new file mode 100755 (executable)
index 0000000..0808c48
--- /dev/null
@@ -0,0 +1,86 @@
+.. _script:\r
+\r
+With scripts\r
+=====================================\r
+\r
+« Bloc Fissure » has a script mode which is very close to the :ref:`GUI <gui>`, in the sense that the same information is needed as input.This documentation aims at giving an example and explains how to generate a cracked mesh using a python script calling « Bloc Fissure » functions. There are several others functions available in « Bloc Fissure » but they are not documented in this documentation.\r
+\r
+The main command of « Bloc Fissure » is the casStandard function. It has a single argument which is a python dictionary with the following keys. All are mandatory parameters except those marked by /.\r
+\r
++------------------------------------------------------------------------------------------------------------------+\r
+|       Script parameters                                                                                          |\r
++======================+===================================+=======================================================+\r
+| / **nomCas**         | *[string, default=’casStandard’]* |  Name of the problem                                  |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **maillageSain**     | *[string]*                        |  Absolute address of the input structure 3D mesh      |\r
+|                      |                                   |  in MED format                                        |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **BrepFaceFissure**  | *[string]*                        |  Absolute address of the input crack geometry         |\r
+|                      |                                   |  in BREP format                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **edgeFissIds**      | *[list of integers]*              |  List of edges number which define the crack front    |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **meshBrep**         | *[list of 2 floats]*              |  List of two floats defining respectively minimum and |\r
+|                      |                                   |  maximum size of elements of the crack mesh           |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **lgInfluence**      | *[float]*                         |  Length of influence - distance that defines the      |\r
+|                      |                                   |  size of the extracted Box around the crack           |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **rayonPipe**        | *[float]*                         |  Radius of the tore around the front                  |\r
+|                      |                                   |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| / **lenSegPipe**     | *[float, default=rayonPipe]*      |  Length of the segments of the tore along crack front |\r
+|                      |                                   |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+|  **nbSegRad**        | *[integer]*                       |  Number of radial segment of the tore                 |\r
+|                      |                                   |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **nbSegCercle**      | *[integer]*                       |  Number of sectors of the tore                        |\r
+|                      |                                   |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+| **areteFaceFissure** | *[float]*                         |  Mesh size of elements for the Box remeshing          |\r
+|                      |                                   |                                                       |\r
++----------------------+-----------------------------------+-------------------------------------------------------+\r
+\r
+Geometrical parameters of the tore are illustrated :\r
+\r
+.. image:: images/parametres.png\r
+   :width: 350\r
+   :align: center\r
+\r
+Different levels of verbose are available. Use one of this 4 optional functions to set verbose type:\r
+\r
+- / **setDebug()**\r
+\r
+- / **setVerbose()**\r
+\r
+- / **setRelease()**\r
+\r
+- / **setUnitTests()**\r
+\r
+**example to run in salome session**::\r
+\r
+  from blocFissure import gmu\r
+  from blocFissure.gmu import initLog\r
+  initLog.setDebug()\r
+\r
+  from blocFissure.casStandard import casStandard\r
+\r
+  dicoParams = dict(nomCas            = 'cubeFiss',\r
+                    maillageSain      = "/home/A123456/BF/cube.med",\r
+                    brepFaceFissure   = "/home/A123456/BF/fiss.brep",\r
+                    edgeFissIds       = [4],\r
+                    lgInfluence       = 20.,\r
+                    meshBrep          = (5.,10.),\r
+                    rayonPipe         = 5.,\r
+                    lenSegPipe        = 5,\r
+                    nbSegRad          = 5,\r
+                    nbSegCercle       = 32,\r
+                    areteFaceFissure  = 5)\r
+\r
+  execInstance = casStandard(dicoParams)\r
+\r
+\r
+\r
+\r
+\r
diff --git a/src/Tools/blocFissure/doc/testcases.rst b/src/Tools/blocFissure/doc/testcases.rst
new file mode 100755 (executable)
index 0000000..47be3dc
--- /dev/null
@@ -0,0 +1,170 @@
+.. _test_cases:\r
+\r
+#######################\r
+Test cases\r
+#######################\r
+\r
+A base of 25 test cases ensures the proper functioning of « Bloc Fissure ». 12 cases are dedicated to :ref:`cracked bended pipes <pipeTC>` and the others 13 are for other :ref:`generic geometries <genericTC>`. They are shown here in order to illustrate cases on which « Bloc Fissure » works.\r
+\r
+.. _genericTC:\r
+\r
+Generic cases\r
+===============================\r
+\r
+All 13 cases are shown Table 2. Two views show the whole cracked structure and a zoom onto the crack with its tore.\r
+\r
++-------------------------------------------+----------------------------------------------+\r
+| CubeAngle                                                                                |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/01_CubeAngle.png         | .. image:: images/01_CubeAngle_2.png         |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| CubeAngle2                                                                               |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/02_CubeAngle2.png        | .. image:: images/02_CubeAngle2_2.png        |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| cylindre                                                                                 |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/03_cylindre.png          | .. image:: images/03_cylindre_2.png          |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| cylindre2                                                                                |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/04_cylindre2.png         | .. image:: images/04_cylindre2_2.png         |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| disque                                                                                   |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/05_disque.png            | .. image:: images/05_disque_2.png            |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| ellipse1                                                                                 |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/06_ellipse1.png          | .. image:: images/06_ellipse1_2.png          |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| ellipse2 (tilted crack)                                                                  |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/07_ellipse2.png          | .. image:: images/07_ellipse2_2.png          |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| eprouvetteCourbe                                                                         |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/08_eprouvetteCourbe.png  | .. image:: images/08_eprouvetteCourbe_2.png  |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| eprouvetteDroite                                                                         |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/09_eprouvetteDroite.png  | .. image:: images/09_eprouvetteDroite_2.png  |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| eprouvetteDroite2                                                                        |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/10_eprouvetteDroite2.png | .. image:: images/10_eprouvetteDroite2_2.png |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| faceGauche                                                                               |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/11_faceGauche.png        | .. image:: images/11_faceGauche_2.png        |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| faceGauche2                                                                              |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/12_faceGauche2.png       | .. image:: images/12_faceGauche2_2.png       |\r
+|   :height: 300                            |    :height: 300                              |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+| vis (Crack is in the radius filet between the screw head and the screw shank)            |\r
++-------------------------------------------+----------------------------------------------+\r
+|.. image:: images/13_vis_1.png             | .. image:: images/13_vis_1_2.png             |\r
+|   :width: 400                             |    :width: 400                               |\r
+|   :align: center                          |    :align: center                            |\r
++-------------------------------------------+----------------------------------------------+\r
+\r
+.. _pipeTC:\r
+\r
+Cracked bended pipes\r
+=====================================\r
+\r
+All 12 bended pipe test cases are not shown here because they are relatively similars with each others. Only test case cas coude_0 et coude_3 are presented, those two tests being based on the same geometry and having a crack on the internal and on the external surface.\r
+\r
++--------------------------------+----------------------------------------------+\r
+| .. image:: images/coude_0.png  | .. image:: images/coude_0_2.png              |\r
+|    :height: 500                |    :width: 500                               |\r
+|    :align: center              |    :align: center                            |\r
+|                                +----------------------------------------------+\r
+|                                | View of the external crack of test_coude_0   |\r
+|                                +----------------------------------------------+\r
+|                                | .. image:: images/coude_3.png                |\r
+|                                |    :width: 500                               |\r
+|                                |    :align: center                            |\r
++--------------------------------+----------------------------------------------+\r
+| Bended pipe test case coude_0  | View of the internal crack of test_coude_3   |\r
+| with an external crack         |                                              |\r
++--------------------------------+----------------------------------------------+\r
+\r
+« Bloc Fissure » is very efficient for the case of bended pipes. The generation of the geometry and the crack insertion takes only around 15s.\r
+\r
+Running test cases\r
+=====================================\r
+\r
+In SALOME interface:\r
+\r
+0) **Generate med and breps files.** Once the files are generated, they are saved in SALOME source files. There is no need to generate them again::\r
+\r
+    from blocFissure.materielCasTests import genereMateriel\r
+\r
+Then the user can either launch all test cases, several at once or just one :\r
+\r
+1) **To execute all test cases**::\r
+\r
+    from blocFissure.CasTests import execution_Cas\r
+\r
+2) **To execute only selected test cases**:\r
+\r
+modify execution_Cas.py file and change::\r
+\r
+    runall = False. #old : True\r
+\r
+And change from 0 to 1 of the number of the test you want to launch::\r
+\r
+    torun = [ 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]\r
+\r
+then launch the test cases::\r
+\r
+    from blocFissure.CasTests import execution_Cas\r
+\r
+3) **To execute only one test case**::\r
+\r
+    from blocFissure.CasTests.[TEST_CASE_NAME] import [TEST_CASE_NAME]\r
+\r
+    [TEST_CASE_NAME](0).executeProbleme()\r
+\r
+[TEST_CASE_NAME] is the name of the test case in the following list. Note that the test cases fissureCoude_4 and fissure_Coude_4 are very similar.\r
+\r
++--------------------+--------------------+--------------------+-----------------+-----------------+\r
+| faceGauche         | cylindre_2         | disquePerce        | fissureCoude_3  | fissureCoude_6  |\r
++--------------------+--------------------+--------------------+-----------------+-----------------+\r
+| faceGauche_2       | eprouvetteCourbe   | vis_1              | fissureCoude_4  | fissureCoude_7  |\r
++--------------------+--------------------+--------------------+-----------------+-----------------+\r
+| ellipse_1          | eprouvetteDroite   | fissureCoude       | fissure_Coude_4 | fissureCoude_8  |\r
++--------------------+--------------------+--------------------+-----------------+-----------------+\r
+| ellipse_2          | cubeAngle          | fissureCoude_1     | fissureCoude_5  | fissureCoude_9  |\r
++--------------------+--------------------+--------------------+-----------------+-----------------+\r
+| cylindre           | cubeAngle2         | fissureCoude_2     | fissureCoude_5  | fissureCoude_10 |\r
++--------------------+--------------------+--------------------+-----------------+-----------------+\r
+\r
+\r
+\r
diff --git a/src/Tools/blocFissure/doc/tutorials.rst b/src/Tools/blocFissure/doc/tutorials.rst
new file mode 100755 (executable)
index 0000000..933c2d4
--- /dev/null
@@ -0,0 +1,66 @@
+.. _tutorials:\r
+\r
+#######################\r
+Tutorials\r
+#######################\r
+\r
+This tutorial aims at giving important steps of the use of « Bloc Fissure ». Those steps are the standard procedure that the user should apply to avoid « Bloc Fissure » failure and unexpected problem in the modelisation afterwards.\r
+\r
+First, the user should ask himself if its case is compatible with « Bloc Fissure ». See the section on :ref:`limitations <recommendations>`.\r
+\r
+1) Convert elements from quadratic to linear\r
+\r
+Mesh Module: Modification > Convert to/from quadratic\r
+\r
+2) Change the orientation of all faces to set them to outgoing\r
+\r
+Mesh Module: Modification > Reorient faces\r
+\r
+3) Verify that the crack exceeds everywhere from the structure. If it's not the case, move or extend the crack geometry.\r
+\r
+4) Verify that the crack front edges don't stop right at the Box surface.\r
+\r
+**Here are some advices :**\r
+\r
+*To move the crack:*\r
+\r
+GEOM Module: Operations > Transformation > Translation\r
+\r
+*First way to extend the crack geometry in GEOM module:*\r
+  - Operations > Explode: Choose the crack geometry and explode into Edges\r
+  - Operation > Transformations > Extension: extend the length of the crack edges\r
+  - Rebuild edges to get a closed group of edges exceeding from the structure\r
+  - New Entity > Build > Wire: Create a wire from the edges\r
+  - New Entity > Build > Face: Create a face from the wire\r
+  - Get the new crack front edge number\r
+\r
++-----------------------------------+-----------------------------------+-----------------------------------+-----------------------------------+\r
+| .. image:: images/tutorial_1.png  | .. image:: images/tutorial_2.png  | .. image:: images/tutorial_3.png  | .. image:: images/tutorial_4.png  |\r
+|    :height: 200                   |    :height: 200                   |    :height: 200                   |    :height: 200                   |\r
+|    :align: center                 |    :align: center                 |    :align: center                 |    :align: center                 |\r
++-----------------------------------+-----------------------------------+-----------------------------------+-----------------------------------+\r
+|    Initial bad crack geometry     |   Explode face into edges         |  Extend front edge and            |  Rebuild crack face               |\r
+|                                   |                                   |  rebuild wire                     |                                   |\r
++-----------------------------------+-----------------------------------+-----------------------------------+-----------------------------------+\r
+\r
+*second way to extend the crack geometry in GEOM module:*\r
+  - Create new surfaces linked to the original crack geometry\r
+  - Fuse the surfaces to get an extended crack\r
+\r
+5) Execute the « Bloc Fissure » script and check that it ended successfully.\r
+\r
+6) Reorient faces to outgoing normal\r
+\r
+7) Rebuild groups impacted by crack insertion\r
+\r
+8) Export the cracked mesh\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
diff --git a/src/Tools/blocFissure/doc/use.rst b/src/Tools/blocFissure/doc/use.rst
new file mode 100755 (executable)
index 0000000..d1df333
--- /dev/null
@@ -0,0 +1,14 @@
+.. _using_bf:
+
+########################
+Using Bloc Fissure
+########################
+
+.. toctree::
+  :maxdepth: 2
+
+  gui.rst
+  scripts.rst
+  pipes.rst
+
+