mesh_quality
Evaluate volume-cell quality in a Gmsh mesh using minSICN or minDetJac, returning statistics, histogram, and a bounded failure list below a chosen threshold.
Instructions
Evaluate all volume cells, return quality statistics/histogram and worst failures. minSICN is dimensionless; minDetJac is a dimensional determinant, so choose its threshold for the model scale. This is Gmsh quality, not OpenFOAM checkMesh. Cells at or below threshold fail. The failure list is bounded; counts and coverage describe the complete mesh.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"expected_revision": "<expected_revision>"
},
"name": "mesh_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | minSICN | |
| threshold | No | ||
| session_id | Yes | ||
| failing_limit | No | ||
| histogram_bins | No | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||