Search Results for

    Show / Hide Table of Contents

    Interface IExplicitStressStrainCurve

    A type of IStressStrainCurve defined by a list of IStressStrainPoints.

    See Glossary

    Stress Strain (x1, y1) (x2, y2) (x3, y3) (x4, y4) (x, y)

    Inherited Members
    IStressStrainCurve.FailureStrain
    IStressStrainCurve.StressAt(Strain)
    Namespace: Oasys.AdSec.Materials.StressStrainCurves
    Assembly: AdSec_API_IDL.dll
    Syntax
    public interface IExplicitStressStrainCurve : IStressStrainCurve
    Examples
    • C#
    • Python
    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.

    import oasys.adsec
    from OasysUnits import Pressure, Strain
    from OasysUnits.Units import PressureUnit, StrainUnit
    from Oasys.AdSec.Materials import IConcrete
    from Oasys.AdSec.Materials.StressStrainCurves import (
    IExplicitStressStrainCurve,
    IStressStrainPoint,
    ITensionCompressionCurve,
    )
    # Create an explicit curve and add stress-strain points.
    explicitCurve = IExplicitStressStrainCurve.Create()
    explicitCurve.Points.Add(
    IStressStrainPoint.Create(
       Pressure(float(0), PressureUnit.Megapascal), Strain(float(0), StrainUnit.Ratio)
    )
    )
    explicitCurve.Points.Add(
    IStressStrainPoint.Create(
       Pressure(float(30), PressureUnit.Megapascal),
       Strain(float(0.001), StrainUnit.Ratio),
    )
    )
    explicitCurve.Points.Add(
    IStressStrainPoint.Create(
       Pressure(float(50), PressureUnit.Megapascal),
       Strain(float(0.003), StrainUnit.Ratio),
    )
    )
    
    # Create a custom concrete with the explicit curve.
    ulsCurve = ITensionCompressionCurve.Create(explicitCurve, explicitCurve)
    slsCurve = ITensionCompressionCurve.Create(explicitCurve, explicitCurve)
    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).

    In This Article
    Back to top Copyright ©Oasys Limited 2021
    8 Fitzroy Street, London, W1T 4BJ
    Oasys Limited is registered in England and Wales № 01454051