create_mesh_with_hypotheses
Generate a mesh for a shape by choosing an algorithm and defining hypotheses. Set element size, fineness, growth rate, and options such as second-order elements or surface curvature adaptation.
Instructions
Create mesh with explicit algorithm and detailed hypotheses.
Supported algorithm values:
netgen_1d2d3d | netgen_2d3d | netgen_1d2d | netgen_2d
tetrahedron | hexahedron | triangle | quadrangle
Common hypotheses keys:
segment_count
fineness (very_coarse/coarse/moderate/fine/very_fine/user_defined)
max_size, min_size, growth_rate
nb_seg_per_edge, nb_seg_per_radius
second_order, optimize, use_surface_curvature, fuse_edges, quad_allowed
max_element_area, max_element_volume
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": {
"shape_ref": "<shape_ref>"
},
"name": "create_mesh_with_hypotheses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compute | No | ||
| algorithm | No | netgen_1d2d3d | |
| mesh_name | No | Mesh | |
| shape_ref | Yes | ||
| hypotheses | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |