pw_volume
Generate volume cells by running the unstructured solver's Initialize on a block, growing T-Rex layers and creating a block when none exists. Returns cell counts by type and T-Rex layers reached.
Instructions
Generate the volume cells: set interior options (Delaunay tets or Voxel hexes, decay, edge lengths) and run the unstructured solver's Initialize on the block, which grows the T-Rex layers set by pw_trex. Creates a block without layers if none exists. Returns cell counts by type and T-Rex layers reached. Can take minutes on big meshes.
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_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | Block name pattern when there are several. | |
| 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. | |
| farfield | No | How to create the block if none exists (no boundary layers). | |
| algorithm | No | Isotropic interior algorithm. | |
| boundary_decay | No | How far boundary spacing propagates into the interior. | |
| voxel_max_size | No | Voxel maximum edge (0 = automatic). | |
| voxel_min_size | No | Voxel minimum edge (0 = automatic). | |
| discard_unsaved | No | Live backend only: allow replacing a GUI session with unsaved changes. | |
| edge_max_length | No | Max interior edge length, or 'Boundary' to take it from the boundary. | |
| edge_min_length | No | Min interior edge length, or 'Boundary'. | |
| 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. | |
| allow_incomplete | No | Keep a partially initialized block instead of failing. | |
| background_spacing | No | Background spacing of the size field (0 = automatic). | |
| edge_max_growth_rate | No | Max interior edge growth rate (default 1.8). | |
| extra_block_attributes | No | Other block solver attributes. | |
| voxel_transition_layers | No | Equal-size voxel layers before each size jump. | |
| stop_when_full_layers_not_met | No | Fail if full_layers cannot be met. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||