Judge convergence
assess_convergenceJudge whether a finished simulation converged by the user's own standard. Unset fields keep the standard test: every reported residual (continuity, Ux, Uy, Uz, energy) at or below 1e-3 and none rising over the last 20% of iterations; forces count only when named in forces. Uses the run's full saved history: no compute, no charge, and the saved verdict is unchanged. Report the status, its reasons and the thresholds used. When the user states their standard before a run, pass it as run_simulation's convergence_criteria.
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": {
"job_id": "<job_id>"
},
"name": "assess_convergence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| forces | No | Force coefficients that must also settle, e.g. drag_coefficient, lift_coefficient; default none. | |
| job_id | Yes | ||
| residuals | No | Residuals to judge, e.g. continuity; default every one reported. | |
| window_fraction | No | Share of the iterations run, counted back from the last, that the test examines. | |
| force_band_floor | No | Spread always allowed, for coefficients near zero. | |
| window_iterations | No | Examine this many final iterations instead of window_fraction. | |
| force_band_percent | No | Largest max-min spread of each named force coefficient over the window, as a percentage of its mean. | |
| max_final_residual | No | Each final residual must be at or below this value (default 1e-3); null drops the limit. | |
| residual_rise_orders | No | A residual is rising when the window's later half is this many orders of magnitude above its earlier half. | |
| min_residual_orders_dropped | No | Also require each residual to have fallen this many orders of magnitude from its peak. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||