TetGen example: Engine


Return to TetGen examples page.
Return to TetGen home page.
The input surface mesh, 57270 nodes, 114680 triangles.

The constrained Delaunay tetrahedralization, 59246 nodes, 190796 tetrahedra, and 118634 boundary faces.

The quality mesh.

The finite volume solution (solved by pdelib2) of a static heat equation.

TetGen runtime output

Opening ifp2_cut.smesh.
Opening ifp2_cut.node.
Constructing Delaunay tetrahedralization.
  Creating initial tetrahedralization.
  Incrementally inserting points.
  1124966 Flips (T23 666021, T32 458943, T22 0, T44 2)
Delaunay seconds:  8.39
Creating surface mesh.
  Constructing mapping from indices to points.
  Constructing mapping from points to tetrahedra.
  Unifying segments.
  Constructing mapping from points to subfaces.
  Merging coplanar facets.
Perturbing vertices.
  0 break points.
Delaunizing segments.
  Marking segments have acute corners.
  Constructing mapping from points to segments.
  1963 protect points.
Constraining facets.
  Constructing mapping from points to tetrahedra.
  The biggest cavity: 16 faces, 10 vertices
  Enlarged 0 times
Segment and facet seconds:  4.56
Removing unwanted tetrahedra.
  Marking concavities for elimination.
  Marking neighbors of marked tetrahedra.
  Deleting marked tetrahedra.
Hole seconds:  0.36
Repairing degenerate tets.
  0 degeneracies are removed.
Steiner seconds:  0
Adding Steiner points to enforce quality.
  Calculating local feature sizes.
  Constructing mapping from points to tetrahedra.
  Marking sharp subsegments.
  595 sharp segments.
  Marking skinny subfaces.
  5963 skinny subfaces.
  Splitting encroached subsegments.
  223247 split points.
  Splitting encroached subfaces.
  24300 split points.
  Splitting bad tetrahedra.
  103466 refinement points.
  Removing slivers.
  13177 slivers are removed.
  3220 sliver(s) survived.
  42 points.
  Totally added 351055 points.
Quality seconds:  135.06

Writing ifp2_cut.1.node.
Writing ifp2_cut.1.ele.
Writing ifp2_cut.1.face.

Output seconds:  5.72
Total running seconds:  154.23

Statistics:

  Input points: 57270
  Input facets: 114680
  Input holes: 0
  Input regions: 0

  Mesh points: 410288
  Mesh tetrahedra: 1506073
  Mesh faces: 3329877
  Mesh subfaces: 638756
  Mesh subsegments: 422904

Mesh quality statistics:

  Smallest volume:       7.9066e-12   |  Largest volume:           158.61
  Shortest edge:         0.00013028   |  Longest edge:             14.729
  Smallest dihedral:       0.022542   |  Largest dihedral:       179.9687

  Radius-edge ratio histogram:
         < 0.707     :     11853      |    1.6 - 1.8        :    127135
   0.707 - 1         :    369997      |    1.8 - 2          :     58569
       1 - 1.1       :    173700      |      2 - 2.5        :     24541
     1.1 - 1.2       :    172508      |    2.5 - 3          :      9269
     1.2 - 1.4       :    313514      |      3 - 10         :     16333
     1.4 - 1.6       :    224166      |     10 -            :      4488
  (A tetrahedron's radius-edge ratio is its radius of circumsphere divided
    by its shortest edge length)

  Aspect ratio histogram:
         < 1.5       :      8862      |      6 - 10         :     77749
     1.5 - 2         :    125519      |     10 - 15         :     21439
       2 - 2.5       :    225417      |     15 - 25         :      8671
     2.5 - 3         :    269895      |     25 - 50         :      3357
       3 - 4         :    476192      |     50 - 100        :      1375
       4 - 6         :    286334      |    100 -            :      1263
  (A tetrahedron's aspect ratio is its longest edge length divided by its
    smallest side height)

  Dihedral angle histogram:
       0 -  5 degrees:      6423      |     90 - 100 degrees:    288136
       5 - 10 degrees:     32042      |    100 - 110 degrees:    376351
      10 - 30 degrees:    463013      |    110 - 120 degrees:    281097
      30 - 40 degrees:    426546      |    120 - 130 degrees:    169658
      40 - 50 degrees:    372276      |    130 - 140 degrees:    101387
      50 - 60 degrees:    188557      |    140 - 150 degrees:     68684
      60 - 70 degrees:     17216      |    150 - 170 degrees:     67811
      70 - 80 degrees:      7515      |    170 - 175 degrees:      3011
      80 - 90 degrees:    140425      |    175 - 180 degrees:      1998

Return to TetGen examples page.
Return to TetGen home page.
Hang Si