FEM Mesh Refinement
fem_mesh_refinementAdds a local refinement region to an existing FEM mesh, letting you specify faces or edges and a smaller characteristic length for targeted mesh density.
Instructions
Add a local mesh-refinement region to an existing FEM mesh.
mesh: handle of the FEM mesh. refs: list of {handle, face|edge|tag} dicts identifying the elements (faces/edges) to refine on. char_length: characteristic element length (mm) on those elements; should be smaller than the global mesh setting to actually refine.
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": {
"mesh": "<mesh>",
"refs": "<refs>",
"char_length": "<char_length>"
},
"name": "fem_mesh_refinement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mesh | Yes | ||
| name | No | MeshRegion | |
| refs | Yes | ||
| workspace | No | Run this call in this named workspace | |
| char_length | Yes |