##### Personal tools
You are here: Home EDF Exercise 3

# Excercise 3

## Exercise 3: Complex Geometry meshed with hexahedrons, quality controls

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

3D Geometry, Partition, Hexahedral mesh, mesh display, quality controls.

This tutorial is a part of the EDF internal training course; it does not describe a real use case.

### Geometry

• Launch SALOME.

• Create new study.

• Launch GEOM module.

Creation of reference points: (menu New Entity/Basic/Point).

• 1st Point Constructor: (0 ; 0 ; 0.)

• 1st Point Constructor: (0 ; 10 ; 0.)

• 1st Point Constructor: (0 ; 290 ; 0.)

• Validation => P0, P1, P2.

Creation of reference vectors: (menu New Entity/Basic/Vector).

• 2nd Vector Constructor: (100 ; 0 ; 0.)

• 2nd Vector Constructor: (0 ; 100 ; 0.)

• 2ndVector Constructor: (0 ; 0 ; 100.)

• Validation => VX, VY and VZ.

Creation of wire in the sketcher: (menu New Entity/Basic/2D Sketch).

• First Point: 90 ; 0.

• Segment (Point - Absolute): 106 ;0.

• Segment (Point - Absolute): 106 ;10.

• Segment (Point - Absolute): 126 ;10.

• Segment (Point - Absolute): 126 ;70.

• Segment (Point - Absolute): 112 ;79.

• Segment (Point - Absolute): 112 ;320.

• Segment (Point - Absolute): 106 ;320.

• Segment (Point - Absolute): 106 ; 290.

• Segment (Point - Absolute): 90 ; 290.

• Sketch Closure => Sketch_1.

Creation of a face for meshing: (menu New Entity/Build/Face).

• Select Sketch_1 => Face_1.

Creation of a face by revolution: (menu New Entity/Generation/Revolution).

• Object: Face_1

• Axis : VY

• Angle : 360°

• Validation => Revolution_1.

Display the object in Shading mode.

Creation of a fillet: (menu Operation/Fillet3D).

• 2nd constructor.
• Main Object: Revolution_1.

• Select 2 central exterior edges.

• Validation => Fillet_1.

Display Only and use Shading mode on Fillet_1.

• Main Object: Fillet_1. Check Select SubShape check box
• Sub Shapes Type: Edge
• Select the highest inner edge. Validation => Edge_1.
• Sub Shapes Type: Vertex.
• Select 4 points of fillets
• Validation => Vertex_1, Vertex _2, Vertex_3 and
Vertex _4.

Creation of a face by extrusion: (menu New Entity/Generation/Extrusion).

• Base: Edge_1
• Vector: VY
• Height: -320
• Validation Extrusion_1.

Creation of the cutting planes: (menu New Entity/Basic/Plane).

• Point: P0.
• Vector: VX and VZ.
• Validation => Plane_1 and Plane_2.
• Point: P1, P2, Vertex_1, Vertex_2, Vertex_3, Vertex_4.
• Vector: VY.
• Validation => Plane_3, Plane_4, Plane_5, Plane_6, Plane_7 and Plane_8.

Partition of the face to be meshed: (menu Operation/Partition)

• Objects: Fillet_1
• Tool Objects: Plane_1 - Plane_8 and Extrusion_1
• Validation => Partition_1.

Display Only Partition_1.

Modify properties of the object (Color, transparency, isos…).

Calculate properties (mass center, bounding box …).

### Mesh

Launch SMESH module.

Creation of Mesh_1 : (menu Mesh/Create Mesh)

• Geometry: Partition_1
• Automatic Hexahedralization (Assign a set of hypotheses)
• Number of Segments  =  10.
• Apply Dialogs, Compute Mesh_1.

Mesh Control:

• Mesh Information …

Use the clipping plane.

Display the number of nodes and elements…

Change the Display Mode (Shading, Nodes, Wireframe, Shrink…).

Display volumes, faces, nodes…

Play with transparency.

Controls:

• Volume

• Aspect Ratio.

• Minimum Angle