CHECKS FOR NORMAL TERMINATION

Inspects one or more solver output files from a completed simulation to determine whether it terminated normally. Scans the specified files for configurable error token patterns and returns a pass/fail status. Use this worker as a post-solve gate to prevent downstream workers from consuming results from a crashed or aborted run.

When to use

Tagged: d3hsp, error_detection, files, log_parsing, normal_termination, otf, simulation_validation, solver_check.

Inputs

Label ID Type Default Required Description
Simulation simulation_id remote_lookup Remote reference to the target simulation whose output files will be inspected; must resolve to a valid simulation record in the platform.
Files to Check files_to_check scalar solver.log,otf,d3hsp,LOG_ERR   Comma-separated list of solver output filenames or file-type tokens to scan (e.g. ‘solver.log,otf,d3hsp,LOG_ERR’); defaults cover the most common LS-DYNA termination artifacts.
Error Patterns error_tokens scalar E r r o r   Comma-separated list of text patterns whose presence in any checked file signals an abnormal termination (e.g. ‘E r r o r’); leave as default to catch standard LS-DYNA error strings.

Outputs

Label ID Type Description
Status status scalar Scalar pass/fail string indicating whether the simulation terminated normally (‘normal’) or an error token was detected (‘error’) in one of the checked files.

Disciplines

  • cae.postprocessing.extraction
  • cae.solver
  • platform.workflow

Auto-generated from platform schema. Worker id: simulation_check_for_normal_termination. Schema hash: 2031f079f18c. Hand-curated docs in workerexamples/ override this page when present.