time_step_from_cfl
Calculate the maximum transient time step from a target Courant number, velocity, and cell size to ensure stable OpenFOAM simulations.
Instructions
Maximum/target transient time step from a target Courant number (dt = Co * dx / U).
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": {
"velocity": "<velocity>",
"cell_size": "<cell_size>"
},
"name": "time_step_from_cfl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| velocity | Yes | ||
| cell_size | Yes | ||
| target_courant | No |