You are on page 1of 30

Installing Salome‐Meca v2019

Installing the software

1
Installing Salome‐Meca v2019

Go to https://www.code‐aster.org/ , click on Salome‐Meca option to 
download and install Salome‐Meca 2019:

Salome‐Meca 2019.0.3

2
Installing Salome‐Meca v2019

In your folder D:\sm‐2019‐w64‐0.3 you will see the Salome‐Meca files.

Salome‐Meca runs by double click on “run_salome.bat”

run_salome.bat

3
Installing Salome‐Meca v2019

You will see the main window of Salome‐meca and its main modules:

Salome‐meca main modules:
AsterStudy: postprocessing
Geometry: to create a geometry
Mesh: to mesh a geometry
Paravis: postprocessing

4
Installing Salome‐Meca v2019

The modules can also be accessed through the icons:

5
Installing Salome‐Meca v2019

Creating end editing 
your first geometry

6
Installing Salome‐Meca v2019

1 Create a folder for your problem (study)

Create a folder named “Exam‐1” → D:\ASTER\Examples\Exam‐1

2 Open Salome‐Meca

Double click on “run_salome.bat” in the folder where Salome_Meca 
was installed (i.e., D:\sm‐2019‐w64‐0.3)

3 Create and save an study, for further modifications/amendements

Select File + Save As → save your study name “Exam‐1.hdf” 

7
Installing Salome‐Meca v2019

4 Select GEOMETRY module

8
Installing Salome‐Meca v2019

5 Let’s create a simple 3D body Select NewEntity + Primitives + Box 
or click on icon “create a box” 

9
Installing Salome‐Meca v2019

6 Naming and dimensioning your body

Type the name of y our geometry (“3D‐shape”) and assign: Dx=500, 
Dy=200 and Dz=100 + App&Close. You will see the new body.

10
Installing Salome‐Meca v2019

7 Meshing your 3D body

Now select the MESH module and you will enter the MESH environment
Select MESH module                 The MESH environment

11
Installing Salome‐Meca v2019

What a finite elements mesh is?

A FE‐mesh is a set of nodes and cells (finite elements):
• Nodes defined by its coordinates
• Cells (elements) defined by a given connectivity
• Groups of cells (GROUP_MA) and groups of nodes (GROUP_NO)

12
Installing Salome‐Meca v2019

8 Creating the mesh
Select Mesh + Create Mesh or click on icon 
“create mesh” 

13
Installing Salome‐Meca v2019

9 Defining type of elements of the mesh

In the Create Mesh window, enter your mesh name (i.e. “MeshBody”) and select the type of 
elements (tetrahedrals in this example)

14
Installing Salome‐Meca v2019

10 Defining the mesh parameters

Now, in the Algorithm option select NETGEN 1D‐2D‐3D. Then in the Hypotheses button, select NETGEN 3D 
Parameters: 

15
Installing Salome‐Meca v2019

11 Defining the max and min size of elements

In the Hypothesis Construction window, assign the maximum and minimum size of your elements (i.e., 
30 and 5. Then click OK and App&Close

16
Installing Salome‐Meca v2019

12 Computing your newly created mesh

Then you will see your new mesh. Right button on the 
mesh name (“MeshBody”) and click on  Compute

17
Installing Salome‐Meca v2019

13 The mesh is created

18
Installing Salome‐Meca v2019

14 Mesh information and options

Right button on the mesh and you enter the Mesh Info window, with many displaying options 
and mesh information

19
Installing Salome‐Meca v2019

15 Saving the mesh

To save your mesh, click 
right button on the mesh 
name + Export + MED 
file. 
Your mesh will be saved 
into your folder \Exam‐
1\ with the extension 
*.MED. This is the ASTER 
extension for mesh files.

20
Installing Salome‐Meca v2019

16 Importing an already existent mesh

To import an already existing mesh into Salome‐Meca, go to File + Import and then select the 
format of the mesh file to be imported. Several options area available at Salome‐Meca:

21
Installing Salome‐Meca v2019

17 Viewing your imported mesh

Then you will see your imported mesh (“Mesh_1”) in the Object Browser window, together with your 
“MeshBody”. You can view or hide a mesh by simply clicking on the small icon at the left of the mesh 
names.

22
Installing Salome‐Meca v2019

18 Importing geometries

You can also import geometries in several formats (BREP, STEP, STL, IGES, XAO). Select the 
GEOMETRY module then File + Import + IGES. You will see your imported geometry:

23
Installing Salome‐Meca v2019

19 Biomechanic geometries

24
Installing Salome‐Meca v2019

20 Drilling the body

Let’s create a drilling in the body. We need to create a cylinder. First, we will create a point. 
Select the icon “Create a point”, enter the point coordinates and App&Close: 

25
Installing Salome‐Meca v2019

Select the icon “Create a cylinder”. Tic the left option and now, on the Object Browser window on the left  
(OBW) select the “Vertex_1” as the Base Point and the vector “OZ”as the Vector. Finally, enter  the 
cylinder  Radius and Height and, as shown. Click App&Close and you will see your new created cylinder 

26
Installing Salome‐Meca v2019

Now to create the hole, we need to substract the cylinder from the body, using a boolean operator. Select 
Operations + Boolean + Cut (or the icon “Cut”). Enter the name of your new body (i.e. “BodyDrilled”) . On 
the OBW select the Main Object and the Tool Object and then App&Close. You will see your drilled body.  

27
Installing Salome‐Meca v2019

21 “Chamfering” the body
Now we want to make a chamfer over the whole body. Select Operations + Chamfer (or the icon 
“Chamfer”). Enter the name of your new chamfered body (i.e. “BodyChamfered”) . On the OBW select 
the Main Object and the size of the chamfer. Then App&Close and you will see your chamfered body.  

28
Installing Salome‐Meca v2019

22 “Filleting” the body
Now we want to fillet all the edges of the body’s top face. Go back to your BodyDrilled. Select Operations + 
Fillet3D (or the icon “Fillet3D”). Enter the name of your new filleted body (i.e. “BodyFilleted”)  and tic the 
third option on the right. On the OBW select the Main Object, select the face to be filleted and the size of 
the fillet. Then App&Close and you will see your filleted body.  

29
Installing Salome‐Meca v2019

30

You might also like