All posts

TesboCFD

From dirty geometry to a mesh the solver accepts

A million dirty triangles wrapped in 56 s, the volume right to six decimals, 51% of it in hexahedra, and a quality gate that is the process exit code. What TesboMesh measures and why.

Most CFD time is not spent solving. It is spent getting from the geometry someone sent to a mesh the solver will accept: closing gaps, removing overlaps, fixing the faces that point the wrong way, and checking that nothing broke along the way.

TesboMesh is the mesher that feeds TesboFlow. This post goes through the numbers on the TesboMesh page and what each one is meant to show. All of them come from constructed geometry, built to test one thing at a time, on one machine with a single-socket Xeon E5-2686 v4 at 2.3 GHz. None of them is a comparison with another mesher.

A million dirty triangles in 56 seconds

A surface of about a million triangles, with the defects that real exports have, is wrapped into a clean, watertight surface in 56 s on 8 threads.

Wrapping is the step that makes dirty geometry usable. It does not try to repair every triangle in place. It builds a new closed surface around the part, at the resolution you ask for.

The volume, to six decimals

A wrap that looks right can still be wrong. So we check it against something exact. On constructed parts, including overlapping boxes where one passes into another, the wrapped volume matches the analytic union to six decimal places.

The same rule holds for gaps. A gap the cells can bridge is sealed exactly. An opening they cannot bridge is reported, and never silently closed.

51% of the volume in hexahedra

A hex core is a claim about proportion, and proportion is what a solver's cost follows. On the unit-cube test, 213,489 cells, 51% of the domain volume is in hexahedra, with prism layers on every wall, no negative cells and no tangled faces.

End to end, from surface to volume mesh, quality report and export, a tetrahedral unit cube of about 950,000 cells takes 6.9 s on 1 thread and 3.4 s on 8.

The exit code is the verdict

Every run writes a quality report: skewness, orthogonal quality, aspect ratio, inverted cells, tangled faces. The verdict is green, yellow or red, and it is the process exit code.

That matters for automation. A script that meshes a hundred variants does not need a person to read a hundred reports. It checks the exit code. Red means the mesh cannot go to a solver; yellow means a metric is flagged, and the report says which one and by how much.

Does TesboFlow converge on it?

A mesh is good if the solver converges on it. On the regression cases, TesboFlow runs 500 steady steps on TesboMesh output and reaches residuals of 3.7e-7 on the cavity and 4.9e-6 on the channel.

Try it on your geometry

TesboMesh is its own product. If you have geometry that takes days to clean, send it to us and we will tell you what comes out, with the quality report.