Interface IExplicitStressStrainCurve
Namespace: Oasys.AdSec.Materials.StressStrainCurves
Assembly: AdSec_API_IDL.dll
Syntax
public interface IExplicitStressStrainCurve : IStressStrainCurve
Examples
using Oasys.AdSec.Materials;
using Oasys.AdSec.Materials.StressStrainCurves;
using OasysUnits;
// Create an explicit curve and add stress-strain points.
IExplicitStressStrainCurve explicitCurve = IExplicitStressStrainCurve.Create();
explicitCurve.Points.Add(IStressStrainPoint.Create(Pressure.FromMegapascals(0.0), Strain.FromRatio(0.0)));
explicitCurve.Points.Add(IStressStrainPoint.Create(Pressure.FromMegapascals(30.0), Strain.FromRatio(0.001)));
explicitCurve.Points.Add(IStressStrainPoint.Create(Pressure.FromMegapascals(50.0), Strain.FromRatio(0.003)));
// Create a custom concrete with the explicit curve.
ITensionCompressionCurve ulsCurve = ITensionCompressionCurve.Create(explicitCurve, explicitCurve);
ITensionCompressionCurve slsCurve = ITensionCompressionCurve.Create(explicitCurve, explicitCurve);
IConcrete concrete = IConcrete.Create(ulsCurve, slsCurve);
Example creating a material with explicit curves.
Properties
Points
The stress-strain points.
Declaration
IList<IStressStrainPoint> Points { get; set; }
Property Value
Type | Description |
---|---|
IList<IStressStrainPoint> |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | When the first point in the stress-strain points list is not a zero stress and zero strain point. |
System.ArgumentException | When the points in the stress-strain points list are not in the ascending order of the strains. |
System.ArgumentException | When the stress-strain points list has fewer than two points. |
System.ArgumentException | When any of the stress-strain inputs is negative or infinite. |
Methods
Create()
Creates a new IExplicitStressStrainCurve.
Declaration
static IExplicitStressStrainCurve Create()
Returns
Type | Description |
---|---|
IExplicitStressStrainCurve | Explicit curve with empty list of stress-strain points (Points). |