starccm_session_info
Retrieves details of the open STAR-CCM+ simulation—name, path, iteration, regions, physics, parameters, reports, and scenes—to confirm the active session before running other macros.
Instructions
Runs a built-in read-only macro on the server at localhost: and returns the simulation name and path, workers, current iteration, regions and boundaries with types, continua and models, global parameters (definition, value, units), reports, monitors and scenes. It takes some seconds because a batch client has to start. Use it to confirm which simulation is open before running any other macro.
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": {
"port": "<port>"
},
"name": "starccm_session_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Server port from starccm_session_list | |
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |