中文 English
You are here: Tutorials > Sand Erosion > Setting up the model > Building the Mesh

Building the Mesh

This section describes the step-by-step procedure to prepare the mesh for the sand erosion model. The Template Mesher is used to create the mesh for the inlet and outlet and the General Mesher is used to create mesh for the elbow. The settings for the mesh generation are explained in the following steps:

Elbow
  1. Select General Mesher in the Mesh Panel.
  2. Select elbow_wall, elbow_outlet and elbow_inlet under CAD Surfaces in the Geometric Entities Panel.
  3. Click Add Surfaces of the CAD Surfaces in the Properties Panel.
  4. Enter Maximum Cell Size as 0.02, Minimum Cell Size as 0.0001 and Cell Size on Surfaces as 0.01 .
  5. To refine the Boundary, select elbow_wall under CAD Surfaces in the Geometric Entities Panel.
  6. Select User Input for Cell Size on Boundaries and enter 0.0025 for Size in the Properties Panel .
  7. Click Create Mesh. A new mesh elbow is created under Built Meshes in the Geometric Entities Panel.
  8. The meshed volume elbow is generated under Volumes.

 

 

Figure 11.302 - Elbow mesh settings

Inlet
  1. Select Template Mesh/Surface in the Mesh Panel.
  2. Enter inlet under Mesh Name in the Properties Panel.
  3. Select Shape as Cylinder.
  4. Enter following parameters below to create the exact domain:
    • Reference Point: 0, 0.0762, 0 m
    • 1st Point: -0.25, 0.0762, 0 m

    • Radius: 0.0254 m

  5. Select User under Setting drop-down list:
    • No. of Grid in 1st Dir.: 60

    • No. of Grid in 2nd Dir.: 15

    • No. of Grid in 3rd Dir.: 60

  6. Click Build Cylinder Mesh. A new mesh inlet is created under Built Meshes in the Geometric Entities Panel and meshed Volume inlet is generated under Volumes.
  7. Select Boundaries inlet, dir_max and dir_min under Volumes in the Geometric Entities Panel and rename as inlet_wall, inlet_inlet and inlet_mgi_elbow respectively in the Geometric Entities Panel.
 

Figure 11.303 - Inlet mesh settings

 

 

 

Outlet
  1. Select Template Mesh/Surface in the Mesh Panel.
  2. Enter outlet under Mesh Name in the Properties Panel.
  3. Select Shape as Cylinder.
  4. Enter following parameters below to create the exact domain:
    • Reference Point: 0.0762, 0, 0 m
    • 1st Point: 0.0762, -0.25, 0 m

    • Radius: 0.0254 m

  5. Select User under Setting drop-down list:
    • No. of Grid in 1st Dir.: 60

    • No. of Grid in 2nd Dir.: 15

    • No. of Grid in 3rd Dir.: 60

  6. Click Build Cylinder Mesh. A new mesh outlet is created under Built Meshes in the Geometric Entities Panel and meshed Volume outlet is generated under Volumes.
  7. Select Boundaries outlet, dir_max and dir_min under Volumes in the Geometric Entities Panel and rename as outlet_wall, outlet_outlet and outlet_mgi_elbow respectively in the Geometric Entities Panel.
 

Figure 11.304 - Outlet mesh settings

 

The created mesh is shown below:

Figure 11.305 - Mesh (cross sectional view)

Create interfaces

In this section, the Mismatched Grid Interfaces (MGIs) are generated between the following boundaries.

The steps to create the MGI is as follows:

  1. Geometric Entities Panel > Volumes > Boundaries, select entities under Boundaries as shown in Table 11.13.
  2. Click Connect Selected Boundaries via MGI icon to create the MGI entities (Figure 11.306).

A group display of entities can be viewed using the Group Entities by Volumes/Types icon in Geometric Entities Panel toolbar.

Connecting interfaces Boundaries Entity
inlet and elbow inlet_mgi_elbow and elbow_inlet MGI01
elbow and outlet elbow_outlet and outlet_mgi_elbow MGI02

Table 11.13 - Creating interfaces

The new entities are created under MGI in Volumes (see, Figure 11.307).

 

Figure 11.306 - Connecting interfaces of inlet, elbow and outlet

Figure 11.307 - Created mismatched grid interfaces

 

 

Copyright © 2023 Simerics Inc.,