Search Results for

    Show / Hide Table of Contents

    Interface IProfile

    Defines a cross-section's shape, size and orientation.

    See Glossary

    Namespace: Oasys.Profiles
    Assembly: AdSec_API_IDL.dll
    Syntax
    public interface IProfile
    Remarks

    IProfile is a base class for other profiles with specific shapes, e.g. ICircleProfile and IRectangleProfile.

    Examples
    • C#
    • Python
    using Oasys.AdSec;
    using Oasys.Profiles;
    using Oasys.AdSec.Materials;
    using Oasys.AdSec.StandardMaterials;
    using OasysUnits;
    // Create a rectangular profile with a depth of 800mm 
    // and a width of 500mm.
    Length depth = Length.FromMillimeters(800);
    Length width = Length.FromMillimeters(500);
    IRectangleProfile profile = IRectangleProfile.Create(depth, width);
    
    // Set the profile rotation to 30 degrees.
    profile.Rotation = Angle.FromDegrees(30);
    
    // Create a concrete section with the created profile.
    IConcrete material = Concrete.IS456.Edition_2000.M20;
    ISection section = ISection.Create(profile, material);

    Example creating a section with a rotated profile.

    import oasys.adsec
    from OasysUnits import Length, Angle
    from OasysUnits.Units import LengthUnit, AngleUnit
    from Oasys.AdSec import StandardMaterials, ISection
    from Oasys.Profiles import IRectangleProfile
    # Create a rectangular profile with a depth of 800mm
    # and a width of 500mm.
    depth = Length(float(800), LengthUnit.Millimeter)
    width = Length(float(500), LengthUnit.Millimeter)
    profile = IRectangleProfile.Create(depth, width)
    
    # Set the profile rotation to 30 degrees.
    profile.Rotation = Angle(float(30), AngleUnit.Degree)
    
    # Create a concrete section with the created profile.
    section = ISection.Create(profile, StandardMaterials.Concrete.IS456.Edition_2000.M20)

    Example creating a section with a rotated profile.

    Properties

    IsReflectedY

    Reflects the profile over the y-axis in the local coordinate system.

    Declaration
    bool IsReflectedY { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsReflectedZ

    Reflects the profile over the z-axis in the local coordinate system.

    Declaration
    bool IsReflectedZ { get; set; }
    Property Value
    Type Description
    System.Boolean

    Rotation

    The angle at which the profile is rotated. Positive rotation is anti-clockwise around the x-axis in the local coordinate system.

    Declaration
    Angle Rotation { get; set; }
    Property Value
    Type Description
    OasysUnits.Angle
    Exceptions
    Type Condition
    System.ArgumentException

    When the angle is not a finite value.

    Methods

    Area()

    Calculates the profile's area.

    Declaration
    Area Area()
    Returns
    Type Description
    OasysUnits.Area

    Description()

    Converts the profile's geometry into a string description.

    Declaration
    string Description()
    Returns
    Type Description
    System.String

    ElasticCentroid()

    Calculates the profile's elastic centroid.

    Declaration
    IPoint ElasticCentroid()
    Returns
    Type Description
    IPoint

    ElasticModulus()

    Calculates the profile's elastic section modulus.

    Declaration
    ISectionModulus ElasticModulus()
    Returns
    Type Description
    ISectionModulus

    LocalAxisSecondMomentOfArea()

    Calculates the profile's second moment of area about local axis.

    Declaration
    ILocalAxisSecondMomentOfArea LocalAxisSecondMomentOfArea()
    Returns
    Type Description
    ILocalAxisSecondMomentOfArea

    PlasticModulus()

    Calculates the profile's plastic section modulus.

    Declaration
    ISectionModulus PlasticModulus()
    Returns
    Type Description
    ISectionModulus

    PrincipalAxisSecondMomentOfArea()

    Calculates the profile's second moment of area about principal axis.

    Declaration
    IPrincipalAxisSecondMomentOfArea PrincipalAxisSecondMomentOfArea()
    Returns
    Type Description
    IPrincipalAxisSecondMomentOfArea

    RadiusOfGyration()

    Calculates the profile's radius of gyration.

    Declaration
    IRadiusOfGyration RadiusOfGyration()
    Returns
    Type Description
    IRadiusOfGyration

    ShearAreaFactor()

    Calculates the profile's shear area factor.

    Declaration
    IShearAreaFactor ShearAreaFactor()
    Returns
    Type Description
    IShearAreaFactor

    SurfaceAreaPerUnitLength()

    Calculates the profile's surface area per unit length. This does not include the surface area of a void in case of hollow sections.

    Declaration
    Length SurfaceAreaPerUnitLength()
    Returns
    Type Description
    OasysUnits.Length

    TorsionConstant()

    Calculates the profile's torsion constant.

    Declaration
    ITorsionConstant TorsionConstant()
    Returns
    Type Description
    ITorsionConstant

    Validate()

    Checks that the definition of the profile is consistent. A profile must be valid for its containing section to be analysed.

    Declaration
    IList<IWarning> Validate()
    Returns
    Type Description
    IList<IWarning>

    Warnings observed from the profile definition.

    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