pw_surface_mesh
Mesh CAD surfaces with Pointwise Automatic Surface Mesh, controlling edge spacing, curvature, feature angles, quilt spacing, and edge refinement. Existing grid entities are deleted for reruns.
Instructions
Mesh the CAD surfaces with Pointwise's Automatic Surface Mesh (pw::DatabaseMesher). Controls global min/max edge length, curvature resolution, growth from edges, feature (hard) angle, per-quilt max spacing and edge refinement filters. Domains are named -dom. By default it first deletes existing grid entities so it can be rerun.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pw_surface_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | No | Model name patterns to mesh (default all). | |
| backend | No | 'batch' (default): a headless tclsh run per call, state passed through .pw files. 'live': send the step to a running Pointwise GUI through its Glyph Server (port 2807). | |
| project | No | Input Fidelity Pointwise project (.pw). Required with the batch backend. With the live backend omit it to work on the session open in the GUI; giving it loads that file first. | |
| save_as | No | Where to write the resulting .pw. Batch default: replace `project` in place, but only after the step succeeded. Live default: do not save. | |
| quilt_spacing | No | Per-quilt maximum edge spacing filters. | |
| discard_unsaved | No | Live backend only: allow replacing a GUI session with unsaved changes. | |
| edge_refinement | No | Boundary filters that refine along the edges of matching quilts (e.g. wing trailing edges). | |
| timeout_seconds | No | Seconds before the Pointwise run is stopped with kind=timeout (default 1800). Counts time the computer is awake; sleep or hibernation does not count. | |
| domain_algorithm | No | Surface cell type/algorithm. | |
| max_aspect_ratio | No | Max surface-cell aspect ratio (default 10). | |
| max_edge_spacing | No | Largest surface edge length (model units). | |
| min_edge_spacing | No | Smallest surface edge length. | |
| replace_existing | No | Delete existing connectors/domains/blocks first. | |
| refinement_factor | No | Global refinement multiplier (default 1). | |
| boundary_hard_angle | No | Feature angle (deg): edges sharper than this keep their own spacing (default 45). | |
| boundary_group_angle | No | Angle (deg) for grouping boundary edges (default 40). | |
| boundary_growth_rate | No | Growth of surface cells away from edges (default 1.2). | |
| curvature_resolution_angle | No | Max turning angle per edge on curved surfaces, degrees (Pointwise default 15). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||