REPLACE CURVE BY ID

Replaces *DEFINE_CURVE entries in an LS-DYNA keyword text block by matching curve IDs, substituting the provided curve data in-place. Use this worker to patch or update specific load curves in a deck without rebuilding the full keyword file.

When to use

Classification: process.

Tagged: curve, deck_patch, define_curve, keyword, lsdyna, text_replace.

Inputs

Label ID Type Default Required Description
Original Text text textarea   Full LS-DYNA keyword text block (e.g. the contents of a .k or .inc file) containing one or more *DEFINE_CURVE entries to be replaced; pass null to skip and supply curves only.
Curves curves vector   Vector of replacement curve objects (x-y point data) whose content will be written back into the keyword text at the positions identified by curve_ids.
Curve Ids curve_ids scale   Comma-separated or array list of integer curve IDs (LCID) that identify which *DEFINE_CURVE blocks in the keyword text should be overwritten with the supplied curves.

Outputs

Label ID Type Description
Replaced LS-DYNA Keyword Text new_text text Modified LS-DYNA keyword text with the targeted *DEFINE_CURVE blocks replaced by the supplied curve data; all other keywords remain unchanged.

Disciplines

  • cae.preprocessing.deck_authoring
  • data.curve.transform

Auto-generated from transformation schema. Worker id: text_replace_lsdyna_curves_by_ids. Schema hash: 986ffbc8f10f. Hand-curated docs in workerexamples/ override this page when present.