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.
Objective
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.
Geometry
-
Launch SALOME.
-
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 Group)
|
|
MeshingLaunch module SMESH Creation of Mesh_1: (menu Mesh/Create Mesh)
Compute Mesh_1. Creation of a SubMesh : (menu Mesh/Create Sub-Mesh)
Compute Mesh_1.
Compute Mesh_1.
|
|
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 (Manual, tolerance 10.0, detect, select all, apply…)
-
Smoothing…
Remove a mesh: menu Modification / Remove / Clear Mesh Data
Control the mesh via Mesh Information (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 : (menu Modification/Transformation/Sewing)
|