Salome HOME
Synchronize adm files
[modules/homard.git] / doc / en / gui_create_zone.rst
1 .. _gui_create_zone:
2
3 The zone
4 ########
5 .. index:: single: zone
6 .. index:: single: 2D
7
8 The object zone contains all the geometrical definitions allowing to describe a zone to be refined.
9
10 In 3D, there are four types of zone:
11
12   - Box
13   - Cylinder
14   - Pipe
15   - Sphere
16
17 Their analogues in 2D are:
18
19   - Rectangle
20   - Disk
21   - Disk with a hole
22
23 The principle of the refinement according to zones is the following one. Every edge of element among which both extremities are included in the same zone will be cut. Then HOMARD applies the algorithm of processing of it conformity to produce a correct mesh.
24
25 .. note::
26   The values proposed by default for the size of zones take into account the geometry of the mesh.
27
28 Name of the zone
29 ****************
30 A name of zone is automatically proposed: Zone_1, Zone_2, etc. This name can be modified. He must not have been already used for another zone.
31
32 Box
33 ***
34 .. index:: single: box
35
36 The parallelepiped is necessarily parallel to coordinate system. It is defined by its extremes in every direction.
37
38 .. image:: images/create_zone_1.png
39    :align: center
40
41 Cylinder
42 ********
43 .. index:: single: cylindre
44
45 The cylinder is defined by its axis, a basis point positioned on the axis, its height and its radius. The axis is defined by a vector which must be correctly directed: we shall retain the ready volume of the basis in the direction of the vector until the reserved height. The norm of this vector is not inevitably equal to 1.
46
47 .. image:: images/create_zone_2.png
48    :align: center
49
50 Pipe
51 ****
52 .. index:: single: pipe
53
54 The pipe is defined by its axis, a basis point positioned on the axis, its height and its internal and external radius. The axis is defined by a vector which must be correctly directed: we shall retain the ready volume of the basis in the direction of the vector until the reserved height. The norm of this vector is not inevitably equal to 1.
55
56 .. image:: images/create_zone_3.png
57    :align: center
58
59 Sphere
60 ******
61 .. index:: single: sphere
62
63 The sphere is defined by its center and its radius.
64
65 .. image:: images/create_zone_4.png
66    :align: center
67
68 Rectangle
69 *********
70 .. index:: single: rectangle
71
72 The rectangle is necessarily parallel to coordinate system. It is defined by its extremes in each of the valid directions. The constant coordinate is shown for information, but is not modifiable.
73
74 .. image:: images/create_zone_21.png
75    :align: center
76
77 Disk
78 ****
79 .. index:: single: disk
80
81 The disk is necessarily in the plan of coordinate system. It is defined by its center and its radius. The constant coordinate is shown for information, but is not modifiable.
82
83 .. image:: images/create_zone_22.png
84    :align: center
85
86 Disk with a hole
87 ****************
88 .. index:: single: disk with a hole
89
90 The disk with hole is necessarily in the plan of coordinate system. It is defined by its center and its external and internal radius. The constant coordinate is shown for information, but is not modifiable.
91
92 .. image:: images/create_zone_23.png
93    :align: center
94
95
96 Corresponding python functions
97 ******************************
98 Look :ref:`tui_create_zone`