-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
139 lines (94 loc) · 3.84 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
****************************
About SALOME MG-Hexa plug-in
****************************
SALOME MG-Hexa plug-in adds DISTENE MG-Hexa (former Hexotic)
meshing algorithm to the SALOME Mesh module.
MG-Hexa plug-in is destined for:
- Meshing of 3D geometric entities with hexahedra;
- Generating 3D meshes from 2D meshes, working without geometrical objects.
For more information please visit the SALOME platform web site:
<https://www.salome-platform.org/>
=======
License
=======
SALOME platform is distributed under the GNU Lesser General Public License.
See COPYING file for more details.
============
Installation
============
--------------
Pre-requisites
--------------
SALOME platform relies on a set of third-party softwares; some of them are needed
at build time only, while other ones are needed in runtime also.
For more information about the pre-requisites please visit SALOME platform web
site:
* Check Release Notes and Software Requirements of the latest SALOME release at
<https://github.com/SalomePlatform/.github/wiki/SAT/>
Note: SALOME MG-Hexa plug-in needs SALOME KERNEL, SALOME GUI, SALOME Geometry,
SALOME Mesh and, optionally, SALOME MG-CADSurf plug-in as pre-requisites.
------------------
Basic Installation
------------------
The build procedure of the SALOME platform is implemented with CMake.
In order to build the plug-in you have to do the following actions:
1. Set up environment for pre-requisites (see "Pre-requisites" section above).
2. Create a build directory:
% mkdir HexoticPLUGIN_BUILD
3. Configure the build procedure:
% cd HexoticPLUGIN_BUILD
% cmake -DCMAKE_BUILD_TYPE=<mode> -DCMAKE_INSTALL_PREFIX=<installation_directory> <path_to_src_dir>
where
- <mode> is either Release or Debug (default: Release);
- <installation_directory> is a destination folder to install SALOME MG-Hexa
plug-in (default: /usr);
- <path_to_src_dir> is a path to the SALOME MG-Hexa plug-in sources
directory.
Note: by default (if CMAKE_INSTALL_PREFIX option is not given), SALOME MG-Hexa
plug-in will be configured for installation to the /usr directory that
requires root permissions to complete the installation.
4. Build and install:
% make
% make install
This will install SALOME MG-Hexa plug-in to the <installation_directory>
specified to cmake command on the previous step.
-------------------
Custom installation
-------------------
SALOME MG-Hexa plug-in supports a set of advanced configuration options;
for more details learn CMakeLists.txt file in the root source directory.
You can also use other options of cmake command to customize your installation.
Learn more about available options by typing
% cmake --help
=====
Usage
=====
* Start SALOME.
* Create new study.
* Activate Geometry module and create simple geometry object.
* Activate Mesh module.
* Invoke menu "Mesh/Create Mesh".
* Select previously created geometry object by clicking it with the
mouse in the Object Browser.
* In the "Create mesh" dialog box:
- Activate "3D" page;
- In the "Algorithm" combo box select "MG-Hexa";
- Click on the button at the right of the "Hypothesis" combo box and
select "MG-Hexa Parameters" item in the drop-down menu.
* In the "Hypothesis Construction" dialog box set parameters of MG-Hexa
meshing algorithm and click "OK" button.
* In the "Create mesh" dialog box Click "Apply & Close" button to
define mesh and close the dialog box.
* In the Object Browser select "Mesh_1" object, invoke context popup
menu for it by clicking right mouse button and select "Compute" item.
The resulting mesh created with MG-Hexa plugin will be shown in the 3D
viewer.
=============
Documentation
=============
The directory doc contains additional documentation file of SALOME MG-Hexa
plug-in.
===============
Troubleshooting
===============
Please, send a mail to webmaster.salome@opencascade.com.