geometry_pipe_oh
Create a straight internal pipe with square core and four curved blocks for structured hexahedral meshing, generating inlet, outlet, wall, and fluid groups.
Instructions
Build a straight internal pipe with square core and four curved blocks. The bore is centred at (0,0), extends from z=0 to length, and uses metres. Creates inlet/outlet (patch), wall (wall), and fluid automatically. First cell height controls spacing along radial block edges inward from the circular wall; it is not a guaranteed normal distance everywhere on a curved wall. circumferential_cells must be divisible by four. Requires an empty session, then mesh_generate; never falls back to tetrahedra. axial_heights optionally gives normalized cumulative axial layer endpoints.
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>",
"request_key": "<request_key>"
},
"name": "geometry_pipe_oh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| radius | No | ||
| session_id | Yes | ||
| axial_cells | No | ||
| request_key | Yes | ||
| radial_cells | No | ||
| axial_heights | No | ||
| core_fraction | No | ||
| expected_revision | Yes | ||
| first_cell_height | No | ||
| circumferential_cells | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||