EDF Exercise 2
2D Modeling and Meshing Example
This sample is known to work on the latest SALOME release.
The compatibility with previous versions of SALOME is not guaranteed, though the sample can work on old versions also.
Geometrical Primitives, triangular 2D mesh, Zone Refinement, mesh modification, sewing.
This tutorial is a part of the EDF internal training course; it does not describe a real use case.
Create a new study.
Launch GEOM module.
Modification of preferences: (menu File/Preferences).
- Geometry: Step value for spin boxes = 100.
- Mesh: Check Automatic update.
- Display Mode: Shading
- Modify the color of Nodes.
Creation of reference vectors: (menu New Entity/Basic/Vector)
- (2nd Constructor): 0 ; 0 ; 100.
- Validation => Vector_1.
Creation of a LCS (Local Coordinate System): (menu New Entity/Basic/LCS) (1st constructor):
- Origin : 0 ; 0 ; -50.
- X axis : 1 ; 0 ; 0.
- Y axis : 0 ; 1 ; 0.
- Validation => LocalCS_1.
Creation of a wire using the sketcher: (menu New Entity/Basic/2D Sketch). Validate using Apply after each line except for the last one.
Creation of 2nd wire in the local working plane: (menu New Entity/Basic/2D Sketch).
Save the study in a file.
Creation of a face to be meshed: (menu New Entity/Build/Face).
Creation of a face by extrusion: (menu New Entity/Generation/Extrusion).
Display 2 faces in Shading mode.
Partition of the face to be meshed: (menu Operations/Partition)
Show Only face Partition_1.
Modify the properties of the object (Color, transparency, isos…).
Explode into basic elements: (menu New Entity/Explode)
Create a group : (menu New Entity/Group/Create)
Launch module SMESH
Creation of Mesh_1: (menu Mesh/Create Mesh)
Creation of a SubMesh : (menu Mesh/Create Sub-Mesh)
Use functionalities of menu Modification:
Diagonal Inversion (choose an edge of the element)
Union of two triangles (choose the edge between 2 triangles)
Union of triangles (Apply to all, Area, 160)
Cutting of quadrangles (Apply to all, Use numeric functor: Aspect ratio)
Transformation/Merge Node (tolerance 10.0, detect, select all, apply…)
Remove a mesh: menu Modification / Remove / Clear Mesh Data
Control the mesh via Advanced Mesh Infos (right-click or menu Mesh).
Creation of a symmetrical mesh: (menu Modification/Transformation/Symmetry)Select the entire mesh Mesh_1 and use the 3rd constructor.
Create a compound Coumpound_Mesh_1 of two meshes (Mesh_1 and Mesh_1_Mirrored) (menu Mesh/Build Compound)
Sew mesh Coumpound_Mesh_1 :