presolve_check
Run a read-only pre-solve check that reports memory and disk availability, overwrite risks, CPU/core fit, and deck audit findings, then returns an ok, warn, or stop verdict with reasons.
Instructions
Check before a solve, read-only (nothing is deleted or started). Reports free RAM and free
disk, a memory estimate (the solver's own 'Memory required' report in a previous d3hsp of the
folder when there is one; otherwise a rough heuristic from the node and element counts of the
deck, uncertain by a factor of about 3 either way), the LS-DYNA result files in the folder that
a new run would overwrite (names only), ncpu against the physical and logical cores, and the
unit-system hint and error findings of audit_deck. verdict: ok, warn or stop, with reasons.
Give working_dir (the newest .k in it is used) and/or deck_path.
Args: working_dir, deck_path, ncpu (0 = not given), memory (words as for the solver, e.g. 200m)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ncpu | No | ||
| memory | No | ||
| deck_path | No | ||
| working_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |