Documentation

Tutorial: Tet-Dominant algorithm – Pipe-flow meshing tutorial

This meshing tutorial demonstrates how the Tet-Dominant meshing algorithm can be used to generate high-quality meshes for internal flows.

Link to tutorial project containing the geometry:

Import project into workbench

  • As a first step we need to create a new simulation. To create a simulation left click on the pipe and then on Create Simulation.
  • Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
    Pipe geometry and geometry log
  • This dialog box allows the user to select the simulation model. Click on Incompressible.

    Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
    Incompressible flow Simulation
  • The default settings for the simulation are kept the same. Save the simulation model by clicking on the tick mark.

    Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
    Incompressible flow Simulation

Mesh Generation

  •  Left click on the mesh icon to create a new mesh.
  • Choose the Tet-Dominant Algorithm and the desired mesh order (First order).
  • Select the overall automatic sizing and change the desired mesh sizing to fine.
  • Specify the Number of computing cores for the meshing operation (16 in this tutorial)
  • Click on Generate to start meshing. The progress of the meshing is shown in the bar.

    Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
    Automatic mesh Settings for internal flow simulation in a pipe

Boundary layer Refinement

  • In order to correctly model the flow through a pipe the boundary layer has to be resolved accurately. This can be achieved by refining the mesh in the regions close to the walls.
  • The best method to do this is by the help of a layer inflation mesh refinement. To add a mesh refinement, click on ‘+’ icon next to refinements under the mesh.
  • Select the  layer Inflation setting
Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
Boundary layer Refinement settings
  • In the mesh refinements settings, change the type from local element size to layer inflation.
  • Change the total layer thickness to 0.01 m and leave the rest of the settings as the default values.
  • The next step is to pick the faces.
Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
Boundary layer Refinement settings
  • All faces except the inlet and outlet faces need to be selected.
  • Select all the faces of the pipe by dragging the Active box selection over the pipe and deselect the inlet and outlet faces by clicking on them.

    Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
    Selection of faces for boundary layer refinement
  • It would be seen 5 faces are selected for boundary layer refinement.
  • Go back to the mesh option by clicking on the mesh icon and click generate. The progress of the meshing is shown in the bar.
Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
Mesh generation

Mesh Inspection and Mesh Clip Generation

  • Once the mesh is generated, we can check the event log for further information on our mesh.

    Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
    Pipe mesh and the event log showing mesh details
  • The mesh has 380.5k cells and 120.1k nodes.
  • The Boundary layer generated can easily be seen by zooming on the mesh inlet. We see 5 layers on the boundary layer with increasing thickness.

    Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
    Boundary layer refinement on the inlet face
  • Click on generate mesh clip to inspect the internal mesh. Adjust the settings of the normal. Click on generate mesh clip icon.

    Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
    Settings for mesh clip generation
  • The mesh clip generated is presented below
Meshing, FEA Analsysis, Simscale, Pipe Geometry, Tet Dominant Meshing, Advanced Tutorial, Manual Meshing, Automatic Meshing, Internal Flow
Generated mesh clip for inspection
Contents

Cookie Policy

SimScale uses cookies to improve your user experience. By using this website you consent to our cookie policy. Don't worry, we are not storing any personal information.

Accept Data Privacy