INSERT TEXT IN THE MAIN INPUT FILE¶
Inserts a user-supplied text block at either the top or bottom of a simulation’s main input file (e.g., an LS-DYNA keyword deck). Use this worker to programmatically prepend or append keyword cards, comments, or control blocks to an existing simulation input before job submission.
When to use¶
Tagged: deck_edit, input_file, job_prep, keyword, simulation_update, text_insert.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Simulation | simulation_id | remote_lookup | — | ✓ | The target simulation whose main input file will be modified; select or look up the simulation by name from the platform registry — required, no default. |
| DTBI | data_text | textarea | — | ✓ | The raw text block (e.g., LS-DYNA keyword cards, comment lines, or control parameters) to be inserted into the input file; plain text, no default. |
| Location | location | select | bottom | ✓ | Position in the input file where the text block is inserted: ‘top’ prepends it before all existing content, ‘bottom’ appends it after all existing content; defaults to ‘bottom’. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Simulation Id | simulation_id | integer | Integer identifier of the simulation whose input file was updated; can be passed downstream to a solver or further preprocessing workers. |
Disciplines¶
- cae.preprocessing.deck_authoring
- platform.job_submission
Auto-generated from platform schema. Worker id: simulation_update_input. Schema hash: 443e9348bf3a. Hand-curated docs in workerexamples/ override this page when present.