Salome HOME
f2bc6647718cb9be604da0289b309ecf520726a0
[modules/hydro.git] / doc / salome / tutorial / english / english_piegesAEviter.rst
1 ..
2    Copyright (C) 2015-2016 EDF
3
4    This file is part of SALOME HYDRO module.
5
6    SALOME HYDRO module is free software: you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation, either version 3 of the License, or
9    (at your option) any later version.
10
11    SALOME HYDRO module is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with SALOME HYDRO module.  If not, see <http://www.gnu.org/licenses/>.
18
19 ####################################
20 Advice, pitfalls to avoid
21 ####################################
22
23 This paragraph will be re-written according to the user feedback.
24
25 - Object overlap or lines that are very close will lead to an ugly mesh or one that is too fine.
26
27 - Avoid using too many points in the splines, when they are not necessary.
28
29  -Anything that will lead to unnecessary complexity of the partitioning when the case is created
30   and prevent the use of the automatic mode for grouping zones into regions should be avoided.
31
32 - Change of coordinate system: it is best to define a local reference point as early as possible. See tutorial.
33
34 - The two coordinate systems appear, but it is preferable for the transition from one to the other to be made simply
35   (the coordinates of the new origin are rounded).
36
37 - Consistency of the imported data coordinate systems should be maintained:
38   for example, put everything into Lambert 93 coordinates before import.
39
40 - Avoid the use of acute angles at domain limits: risk of creating over-constrained triangles,
41   which means detecting them and inverting the diagonals.
42
43 - Save regularly the study and renaming it to preserve successive steps.
44   This can be useful in case of error.
45
46 - Do not use special characters (spaces, accents...) in the names of the objects.
47
48 - Give meaningful names to the different objects (a lot in a complex study),
49   as well as meshing hypotheses.
50
51 - It is important to choose well where a closed line of spline type starts:
52   This first point remains until meshing, and can add an unnecessary constraint if it is misplaced.
53   During the drawing riverbed, most of the time, a closed contour bigger than the study area is used.
54   It is wise to put this first point out of the study area.
55
56 - In the case of river study, pay attention to cut the river perpendicularly to the hydraulic axe
57   to be able to define the boundary conditions properly.
58
59 - Use of the spline type or polyline type?
60
61    * *spline*: a single smooth line that has a continuous derivative, passing through all the points.
62      This type of line is preferred for all curved lines, the control points will not be reused in the mesh,
63      which provides greater flexibility in controlling the mesh refinement.
64
65    * *polyline*: a single continuous line, composed of straight segments.
66      This type of line must be used for the artificial objects composed of straight segments and whenever
67      broken lines are needed. The points are kept in the mesh.
68
69    * The two types of lines can be combined: see the section on handling polylines.
70
71 .. only:: html
72
73    :ref:`ref_notionsPrealables`