compare_early_results
Compares a short LS-DYNA run's early-time scalar history against a reference CSV, returning relative error and tolerance verdict so you can validate the model before committing to a long run.
Instructions
Early-time gate: compare a scalar history of a short run with a reference CSV (time,value) before committing to the long run. quantity: 'glstat:kinetic_energy' (glstat, or the binout glstat) or '::' for matsum, rcforc, sleout, spcforc, rwforc, nodout (for example 'matsum:1:kinen', 'nodout:5:x_vel'). The reference is interpolated at the simulation's output times inside [t_min, t_max] and multiplied by reference_scale (unit conversion; times must already be in the model's unit). Returns points compared, max and RMS relative error (%), the worst point, the first time the error exceeds tolerance_pct and a verdict within_tolerance / exceeds. A mismatch means diagnose the model (audit_deck, compare_decks): never tune parameters to match an experiment. No solver is run. Args: working_dir, reference_csv, quantity, t_min, t_max, tolerance_pct, reference_scale
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t_max | No | ||
| t_min | No | ||
| quantity | Yes | ||
| working_dir | Yes | ||
| reference_csv | Yes | ||
| tolerance_pct | No | ||
| reference_scale | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |