field_stats
Compute min, max, and mean values for an OpenFOAM field at a chosen time, including internal and per-patch statistics read from ASCII field files.
Instructions
Min/max/mean of a field (internal and per patch) at a time, read directly from ASCII field files.
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": {
"case": "<case>",
"field": "<field>"
},
"name": "field_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | Yes | Case name in the workspace (e.g. 'pitzDaily') or an absolute path inside an allowed root. | |
| time | No | 'latest', 'first' or a time directory name. | latest |
| field | Yes | Field name, e.g. 'U', 'p', 'k', 'alpha.water'. | |
| region | No |