*COMPUTE THE SLOPE OF THE CURVE AT A GIVEN POINT TO THE ORIGIN IE F(X) / X *

Enforces a zero or positive slope at the last segment of a curve by either adding a corrective point or removing trailing negative-slope entries. Use this worker to ensure that a curve does not end with a downward (negative) slope, which is commonly required for material stress-strain or force-displacement curves in CAE preprocessing.

When to use

Classification: process.

Tagged: curve, enforce, force_displacement, last_slope, positive_slope, slope, stress_strain, transformation.

Inputs

Label ID Type Default Required Description
Curve To Be Enforced Up curvetobeenforcedup vector   The input XY curve (vector of pairs) whose terminal slope is to be enforced to be zero or positive; typically a stress-strain or force-displacement curve.
Type type string add   Enforcement strategy: ‘add’ inserts a synthetic point to produce a zero or positive terminal slope, while ‘remove’ strips trailing data points that carry a negative slope; defaults to ‘add’.

Outputs

Label ID Type Description
curve_enforce_zeroorpositivelastslope_output_1 curve_enforce_zeroorpositivelastslope_output_1 vector The corrected XY curve whose last slope is guaranteed to be zero or positive, ready for downstream CAE or material-model use.

Disciplines

  • cae.preprocessing.setup
  • data.curve.transform
  • engineering.material.characterization

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_enforce_zeroorpositivelastslope


Auto-generated from transformation schema. Worker id: curve_enforce_zeroorpositivelastslope. Schema hash: 6303c9547e8d. Hand-curated docs in workerexamples/ override this page when present.