TesboMesh · CFD automatic mesher

Dirty STL in.Solver-ready mesh out.

One command: health check, wrap, size field, named patches, prism layers, volume mesh, quality gate — and TesboFlow reads the mesh directly. Dirty assemblies do not have to be cleaned somewhere else first.

Measured: 1M dirty triangles wrapped in 56 s on 8 threads · volume matches the analytic union to six decimals · 51% hex by volume

Pipeline

Seven stages. One report.

Every stage writes what it did. The numbers below are measured.

56 s

1M triangles, 8 threads

Two intersecting shells, one wound inside-out, become one closed manifold. Bit-identical on 1 thread and on 16.

51%

Hex by volume

With prism layers on the walls and a tetrahedral transition polished until nothing in it is tangled. Zero inverted cells.

6 dp

Volume = analytic union

Overlapping dirty boxes included. Where the coarsest cells miss a corner, the deviation is printed, not clipped.

6.9 s

STL to ~950k cells, 1 thread

End to end on a tetrahedral unit cube: surface mesh, volume mesh, quality report, export. 3.4 s on 8 threads.

Constructed benchmark geometry. Single-socket Xeon E5-2686 v4 @ 2.3 GHz.

Wrapping

The crease is reconstructed. Not smeared.

Wrapping is usually read as approximate shrink-wrap. Here the volume of the mesh built on the wrapped surface equals the analytic union of the input — including the assembly where one box enters another.

Volume to six decimals

Cube, house, two overlapping boxes: the wrapped volume equals the analytic union across resolutions. The crease and its corners are rebuilt, not rounded off. Where the coarsest cells miss a corner, the deviation is printed, not clipped.

Two overlapping boxes with a 0.04 opening. Constructed benchmark geometry.

  1. 1Input: two overlapping shells, a hole

    30 triangles, not watertight

  2. 2Wrapped at h = 0.08: one closed surface

    11 faces, T-junction and 4 corners rebuilt

  3. 3Volume mesh, cut flat at mid-height

    Verdict green, volume 1.198 = analytic 1.198

Hole sealed, boxes unioned, T-junction reconstructed. Volume 1.198 — the analytic union.

Wrapped volume equals the analytic union, to six decimals

Tetrahedral mesh built on the wrapped surface · volume against wrap resolution h · constructed benchmark geometry

A gap is a contract, not a guess

A gap the cells can bridge is sealed exactly. An opening they cannot bridge is reported — exit code, log and JSON agree — and never silently closed.

Unit cube with a 0.12 slot, wrapped at h = 0.15. Constructed benchmark geometry.

  1. Input: a 0.12-wide slot through the top face

    18 triangles, not watertight

  2. Wrapped at h = 0.15: the slot is sealed

    6 faces, volume 1.000000

The resolution needed to seal a given gap can be read straight off the plate.

Sealed while the cells bridge the slot; reported, not guessed, once they cannot

Unit cube with a 0.12-wide slot in one face · wrap resolution h from 0.25 to 0.08 · constructed benchmark geometry

Hex where the solver pays

A hex core is a claim about proportion, and proportion is what a solver's cost follows. Here 51% of the domain volume is in hexahedra — with prism layers on every wall.

Unit cube, cell size 0.025, two prism layers (first 0.008), cut along whole cells. Constructed benchmark geometry.

  1. Cut open at mid-plane: hex core (magenta), tetrahedral transition (grey), two prism layers at the wall (cyan)

    213,489 cells; 51% of the volume in hexahedra; 0 negative cells, 0 tangled faces; verdict green

Two prism layers, a polished tet band, not one inverted cell.

51% of the volume in hexahedra, 9% in prism layers, nothing inverted

Unit cube, cell size 0.025, two prism layers on the walls, Cartesian hex core · 213,489 cells · constructed benchmark geometry

Constructed benchmark geometry. Single-socket Xeon E5-2686 v4 @ 2.3 GHz.

Boundary layer

Sharp edges. Unbroken layers.

Prism layers do not stop at a sharp edge. A convex edge is turned in one stack; a sharper ridge splits into one stack per face with a fan of cells between them; a corner gets its own fill. Where wall faces meet at an edge or a vertex, the seam columns grow the full stack like every other column.

Cube and 30-degree wedge in a far field, 3 prism layers, planar sections. Constructed benchmark geometry.

  1. Cube: the layers turn the edge

    3 layers, coverage 100%, 0 pyramids; verdict green, skew max 0.813, 0 negative

  2. 30-degree wedge, every edge layered

    Coverage 100%, 116 ridge columns split, 6 corners filled; verdict green, skew max 0.892, 0 negative

  3. The 30-degree apex, close up

    Fan sectors: 270 prisms + 540 hexahedra (magenta); corner fills: 38 tetrahedra + 76 prisms

Cube: the layers turn every edge; coverage 100%, no transition pyramids, green. 30-degree wedge: the ridge splits into a fan and the corners get a fill; coverage 100%, green.

Twenty-faced part, spherical far field R = 2.5 L, 3 prism layers (first 0.005). Constructed benchmark geometry.

  1. Icosahedral part in a spherical far field, cut open

    7,260 prisms in 3 layers, coverage 100%, 0 pyramids; verdict green, skew max 0.820, 0 negative

  2. Planar section: the stack runs unbroken over every edge

    312 seam columns on edges and vertices grow layers too; 41,407 cells, volume 39.621

Twenty-faced part in a spherical far field: the layer runs over every edge and vertex. Coverage 100%, no transition pyramids, green.

Not layered yet: the edge of a non-planar opening, points where three or more openings meet, and fluid/fluid interfaces. If one column on an opening's edge can't grow layers and the first layer is very thin, the whole loop around that opening gets the same number of layers.

Constructed benchmark geometry. Single-socket Xeon E5-2686 v4 @ 2.3 GHz.

Quality gate

The exit code is the verdict.

Every run writes a quality report. Green, yellow or red is the process exit code. Skewness, orthogonal quality, aspect ratio, inverted cells, tangled faces — nothing has to be eyeballed.

The mesh comes with its own verdict.

Constructed benchmark geometry. Single-socket Xeon E5-2686 v4 @ 2.3 GHz.

Cells coloured by skewness (magma; dark is good).

Quality report

GREENexit code 0

Cells
23,744
Skewness, max
0.803
Skewness, mean
0.365
Cells above 0.90
0
Orthogonal quality, min
0.316
Aspect ratio, max
3.3
Negative-volume cells
0
Volume
1.197984

Gate: green if skewness max < 0.90 and orthogonal quality min > 0.15; yellow if flagged; red if the mesh cannot go to a solver.

Two overlapping boxes wrapped at h = 0.08, tetrahedra at size 0.06, cut open at mid-height. The same numbers are in the JSON report the CLI writes with --report. Constructed benchmark geometry.

Industrial geometry

Real assemblies. Honest verdicts.

We run three public NASA assemblies (CubeSat, Hubble, Europa Clipper) as industrial regression cases, about 70k to 670k tetrahedra. Most come out yellow, and the quality gate states which metric and by how much. The clean Europa Clipper geometry is green. The original model with interpenetrating parts is stopped before meshing, with the two parts named. These cases do not carry prism layers yet.

Hubble layout meshed in a far-field box: eight parts, each coloured as its own wall patch, in front of a cut through the tetrahedral volume mesh.
Hubble layout: eight parts in one far field, each its own wall patch. 665,846 cells. Quality gate yellow.
Europa Clipper meshed in a far-field box: the body and wings, each coloured as its own wall patch, in front of a cut through the tetrahedral volume mesh.
Europa Clipper, the clean geometry: body and wings in one far field. 307,745 cells. Quality gate green.

Public NASA geometry, in the public domain; the Hubble and Europa Clipper models shown are rebuilt from it. No NASA endorsement is implied.

Closed loop

Finished only when TesboFlow takes it.

Patch names, orientation, face order and cell quality all have to be right at once. Two closed loops — meshed by one command, exported and solved in TesboFlow — converge: every linear system is at tolerance from iteration 122 in the channel and 132 in the cavity. They are the regression suite's own tests, not a demo.

Meshed, exported, solved: both closed loops converge in TesboFlow

Continuity error per steady iteration · 500 iterations, laminar SIMPLEC · each mesh from one command · constructed benchmark geometry

Cavity 3.7e-7, channel 4.9e-6 after 500 steady steps.

Constructed benchmark geometry. Single-socket Xeon E5-2686 v4 @ 2.3 GHz.

See TesboFlow

More in the same command

CAD, regions, far fields, open shells, adapt.

Same command, same quality gate. The plates use simple parts and constructed geometry, and a plate prints yellow when the gate is yellow.

Surface of the volume mesh shown.

  1. STEP: hex nut (t20)

    1,290 tetrahedra, verdict green

  2. BREP: box

    706 tetrahedra, verdict green

  3. IGES: box

    683 tetrahedra, verdict green

STEP, BREP, IGES

Three formats, one command. Not CAD repair — a route into the same CFD pipeline.

Simple parts. IGES is sewn into a solid on import.

Cut open along whole cells, coloured by region.

  1. Two abutting solids in a far-field box: three regions

    Fluid 214.400, left 1.000, right 0.600 (analytic 216 − 1.6, 1, 0.6); three interface pairs; verdict green

  2. Solid core in a fluid box, prism layers on the fluid side

    Fluid 0.936, solid 0.064; 3 layers on all 12 fluid-facing faces; verdict green: 9,422 cells, none above 0.90 skewness, 0 inverted

Several bodies, one mesh

Each solid becomes its own region. Contacts become paired interface patches. The far field around them is the fluid.

Constructed geometry: boxes only. Both verdicts green.

Unit cube at size 0.05, then cfd adapt with a write-back asking 0.2 for x > 0.5. Colour is cell size, dark is fine.

  1. Before: uniform size 0.05

    33,099 tetrahedra

  2. After cfd adapt -⁠-⁠adapt-⁠coarsen 4

    0.2 where the write-back asks, 0.05 elsewhere; 20,115 tetrahedra (−39%); 4,410 size points read; verdict green

The solver writes back. The mesh follows.

Finer where asked, coarser where allowed. Wall, box and gap sizing still hold as hard limits.

Synthetic size write-back on a constructed cube, same format the solver will write.

Cut at mid-plane; size 0.15, wall size 0.04.

  1. Box: −2 to 2 on every axis

    39,367 tetrahedra, volume 63.683, verdict green

  2. Cylinder: 2 L upstream, 4 L downstream, R = 2 L

    35,962 tetrahedra, volume 53.481, verdict green

  3. Sphere: R = 2.5 L

    39,349 tetrahedra, volume 39.623, verdict green

One part, three far fields

Box, cylinder or sphere is one option, sized in multiples of the part. The far-field faces come out as their own patch, the part as wall.

A coarse mesh on a simple part: the plate is about the shape of the domain, not mesh detail. All three verdicts green.

Cap faces in magenta.

  1. 4 × 4 × 1 box, lid missing

    One 160-edge planar rim; 6,400 wall triangles

  2. Capped and meshed

    1,444 interior points; cap min angle 36.9°; volume 16

  3. Cube with a saddle-shaped rim

    16 edges, 0.15 off any plane

  4. 3-D min-weight fill

    Watertight; volume 1.081172; verdict green

Open shells are capped, then meshed

Each rim is closed the way its shape calls for. The shell is checked again for holes and open edges, then meshed. A rim that crosses itself is refused, not guessed.

Constructed geometry. The flat lid closes the box to its exact volume, 16.

Constructed benchmark geometry. Single-socket Xeon E5-2686 v4 @ 2.3 GHz.

Capabilities

What TesboMesh does

Available now. Dirty STL or CAD in, a mesh TesboFlow solves out, in one command.

Workflow

  • One commandSTL to volume mesh to report to export
  • CLI (one-shot or stepped) and GUI task tree

Geometry

  • STL health checkfatal defects refuse to continue
  • Hole cappingincluding non-convex and warped rims
  • Wrappingdirty assemblies and gaps, crease and corners rebuilt
  • Inspect an existing meshreport only, no remesh
  • CAD into the CFD workflowSTEP / BREP / IGES

Domain & layers

  • Internal / external domainpatches named automatically
  • Far fieldbox, cylinder or sphere
  • Prism layers turn convex edgessharper ridges get a fan of cells, corners a fill, and seam columns carry layers; narrow gaps still drop them. Planar inlets and outlets are layered up to their edge; the edge of a non-planar opening gets none yet
  • First-layer height computed from a target y+
  • Wall size, wall-distance refinement, boxes of interest

Quality & export

  • Quality gate is the exit codetangled faces turn it red
  • Straight into TesboFlowplus interchange formats
  • Multi-region meshfluid and solids in one mesh, interfaces named, wall layers on the fluid side. TesboFlow solves the conjugate heat transfer on it directly
  • y+ estimate checked against TesboFlow wall shearwithin a factor of two

In development

  • Far field + wall layers + hex core as one recipe
  • GUI task tree unlocked end to end

Planned

  • Solver-driven adapt write-back with TesboFlow

Send us the geometry.

You send the STL or CAD. We return the mesh, the quality report, and — if you want — a TesboFlow run on the same case.