← Tutorials

Internal flow: a pipe bend

Named solids in the STL become the inlet, outlet and wall, and the inside of the pipe is meshed.

Model
pipe_bend.stl, 30,600 triangles, solids wall, inlet and outlet, metres
Download pipe_bend.stl (zip, 640 KB)
Cells
98,239
Hexahedra
69.5 %
Max non-ortho
47.9°
Mesh time
3.3 s
  1. Open the model

    Click Pipe bend. The file has three named solids, so Faces shows wall, inlet and outlet instead of numbered faces. Names in STL solids, OBJ groups, STEP faces and glTF or 3MF objects are kept.

  2. Mesh the inside

    In Domain, check that Internal is selected: the model itself is the fluid region. Set inlet and outlet to Opening in Faces if your solver needs the type.

  3. Size and generate

    In Sizing, set Wall cell size to 0.006 (16 cells across the 0.1 m bore) and click Generate mesh. This run made 98,239 cells in 3.3 s.

    The pipe bend mesh on a cutting plane
    The pipe bend mesh on a cutting plane
  4. Check

    Quality passes with a worst non-orthogonality of 47.9°. Export as in the Ahmed tutorial; the boundaries keep their names.

    Quality table for the pipe bend
    Quality table for the pipe bend