Plan mesh (dry run)
plan_meshDry run of an external octree mesh: send the create_mesh request (octree_prism.controls, no idempotency_key) and see the domain, sizes, boundary layer, refinement regions, predicted cells and the cores and memory it would get, without meshing. The mesher refuses what it cannot mesh, with numbers: a target too small for the sizes or first layer, a first layer thinner than the curved wall sags, or a target too large for meshing memory. Read feasible, then refusal or predicted_cells and notes, and tell the user before create_mesh when the prediction is far from target_cells. Internal fluid and CHT meshes, and requests with explicit domain and spacings, are not planned. Starts no compute and is not charged.
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": {
"surface_artifact_id": "<surface_artifact_id>",
"engine": "<engine>"
},
"name": "plan_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | structured = Cartesian; octree_prism = native octree/polyhedral with prism layers; openfoam = legacy engine identifier. Prefer configured octree_prism for generic unstructured requests; preserve explicit methods. Choose delivered file formats separately with export_formats. | |
| openfoam | No | ||
| project_id | No | ||
| structured | No | ||
| octree_prism | No | ||
| target_cells | No | ||
| export_formats | No | Delivered mesh formats, in preference order. Default cgns is Standard CGNS (NGON/NFACE) for ParaView. gd_cgns is GD CGNS for Fluxcore/Studio; fluent is a Fluent-format polyhedral .msh; openfoam is a polyMesh archive. Select formats independently of the meshing engine. The first format is the primary download. GD CGNS is also retained internally for simulation and viewing. Preserve an explicit user choice; do not ask for a format when none was specified. | |
| reviewed_job_id | No | Explicitly requested new attempt after reviewing this completed mesh job, including quality or resource failures. Use a fresh idempotency key; this records lineage and never restarts the prior execution. | |
| decision_context | No | ||
| surface_artifact_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||