Command Line Basic Tutorial

Overview

This tutorial demonstrates the use of CUBIT to create and mesh a brick with a through-hole. The primary steps in performing this task are:

  • Creating the geometry 
  • Setting the interval sizes and meshing schemes 
  • Meshing the geometry 
  • Specifying the boundary conditions 
  • Exporting the mesh 

Each of these steps is described in detail in the following sections. The geometry in this tutorial is a brick with a cylindrical hole in the center, shown in the figure below. This figure also shows the curve and surface identification (ID) numbers, which are referenced in the command lines shown with each step. The final meshed body is shown in the next figure.

Curve LabelsSurface Labels

Geometry for Cube with Cylindrical Hole

Generated Mesh for Cube with Cylindrical Hole

Generated Mesh for Cube with Cylindrical Hole