Salome HOME
Copyright update 2020
[modules/hexablock.git] / doc / block_method.rst
1 :tocdepth: 3
2
3 .. _blockmethod:
4
5 =======================
6 Build a model of blocks
7 =======================
8
9 What is a model of blocks ?
10 ===========================
11
12 A block (or a hexahedron) is a volume defined by:
13     - 8 vertices
14     - 12 edges
15     - 6 quadrangular faces
16
17 A model of blocks is a set of blocks.
18
19 And for each quadrangle of a model of blocks, this quadrangle is:
20     - or a free face
21     - or a face shared between 2 blocks
22
23 How to find a model of blocks ?
24 ===============================
25
26 In this version of HEXABLOCK component, the user must find himself the model of blocks that is adapted for his geometry.
27  
28 .. _modelbloc:
29
30 How to create a model of blocks ?
31 =================================
32
33 When the user find the model of blocks necessary for his geometry to be meshed with hexahedra,
34 HEXABLOCK component has a lot of tool to build this model of blocks:
35
36 - basic functions:
37     - create one hexahedron
38     - create a hexahedra with 2, 3, 4 or 5 quadrangles
39     - remove hexahedra
40
41 - grid building:
42     - cartesian grid
43     - cylindrical grid
44     - spherical grid
45         
46 - predefined model of blocks:
47     - for cylinder
48     - for pipe
49     - for two intersected cylinders
50     - for two intersected pipes
51     - for hemisphere
52     - for ring
53
54 - powerfull functions:
55     - prism quadrangles
56     - join quadrangles
57     - make hexahedra by revolution of quadrangles
58     - cut an edge to slice hexahedra
59     - replace an hexadron by a pattern
60
61 - by transformation:
62     - translation
63     - rotation
64     - scale
65
66 - by symetry:
67     - with a point
68     - with a line
69     - with a plane
70
71 - by merging:
72     - of two vertices
73     - of two edges
74     - of two quadrangles
75
76 - by disconnection:
77     - of two vertices
78     - of two edges
79     - of two quadrangles
80
81 Example of simple model of blocks
82 =================================
83
84 .. image:: _static/ex1.png
85    :align: center
86
87 .. centered::
88    An exemple of a model with 12 blocks