Gmsh_001_Example1: Unstructured Mesh

Introduction

The goal here is to demonstrate the procedure of generating unstructured mesh in cube geometry model using Gmsh.

 

The learning objectives include

Creating geometry using Elementary Entities

Defining control parameter within Gmsh scripts

Generating unstructured tetrahedral mesh

Demonstration

In this example, we are going to create a cube with all sides being 1m in length. We need to first open a new file and save it in a working directory:

1Select "Use '.geo' extension"

2Select OpenCASCADE

 

Gmsh_001_Example1_Geometry_Dimension

 

Procedures of creating geometry and unstructured mesh for this model are demonstrated in the following:

 

hmtoggle_plus1Defining Points

 

hmtoggle_plus1Defining Lines

 

hmtoggle_plus1Defining Surfaces

 

hmtoggle_plus1Defining Volume

 

 

 

hmtoggle_plus1Mesh Generation

 

hmtoggle_plus1Mesh Size Control