EVALUATES THE SLOPE TO DETERMINE IF MESH-REGULARIZATION IS REQUIRED¶
Evaluates a stress-strain (or similar) curve to determine whether mesh regularization is required by analysing the ending slope or its intersection with the derivative. Use this worker upstream of material calibration workflows to flag curves that exhibit localisation behaviour before fitting.
When to use¶
Classification: process.
Tagged: curve_analysis, localization, material, mesh_regularization, slope, stress_strain.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve 1 | curve1 | vector | — | Input stress-strain (or equivalent) curve to be evaluated; accepts a 2-column vector (e.g. strain vs. stress) — leave empty only if the curve is injected programmatically by an upstream worker. | |
| Factor to use while computing the end value | end_r | scale | 0.2 | Fractional factor (0–1) defining the tail region used to compute the ending slope; default 0.2 means the last 20 % of the maximum x-value is used for the slope calculation. | |
| Threshold | threshold | scale | 0.05 | Dimensionless threshold ratio; if the computed ending slope is less than this value multiplied by the average slope of the curve, the curve is flagged as requiring mesh regularization — default 0.05. | |
| Method | method | scalar | slope | Detection algorithm: ‘slope’ (default) evaluates the ending slope against the average slope; ‘intersection’ detects the point where the curve intersects its own derivative to identify onset of localisation. | |
| Failure Strain | failure_strain | scale | 0.0 | Optional explicit failure strain value (engineering strain, dimensionless); when non-zero, overrides the automatically detected end point for slope computation — leave at default 0.0 to use automatic detection. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| Needs Mesh Regularization | curve_req_regularize | scalar | Boolean-like scalar flag (‘true’/’false’ or 1/0) indicating whether the input curve requires mesh regularization based on the selected method and threshold criteria. |
Disciplines¶
- data.curve.transform
- engineering.material.calibration
- 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_requires_mesh_regularization
Auto-generated from transformation schema. Worker id: curve_requires_mesh_regularization. Schema hash: 1b01ed72d3f8. Hand-curated docs in workerexamples/ override this page when present.