Hide Table of Contents
GetLinearizedStressValues Method (ICWResults)

Obsolete. Superseded by ICWPlot::GetLinearizedStressValuesAlongSCL.

.NET Syntax

Visual Basic (Declaration) 
Function GetLinearizedStressValues( _
   ByVal NComponent As System.Integer, _
   ByVal DPoint1X As System.Double, _
   ByVal DPoint1Y As System.Double, _
   ByVal DPoint1Z As System.Double, _
   ByVal DPoint2X As System.Double, _
   ByVal DPoint2Y As System.Double, _
   ByVal DPoint2Z As System.Double, _
   ByVal NIntermPoints As System.Integer, _
   ByVal NUnits As System.Integer, _
   ByRef ErrorCode As System.Integer _
) As System.Object
Visual Basic (Usage) 
Dim instance As ICWResults
Dim NComponent As System.Integer
Dim DPoint1X As System.Double
Dim DPoint1Y As System.Double
Dim DPoint1Z As System.Double
Dim DPoint2X As System.Double
Dim DPoint2Y As System.Double
Dim DPoint2Z As System.Double
Dim NIntermPoints As System.Integer
Dim NUnits As System.Integer
Dim ErrorCode As System.Integer
Dim value As System.Object
 
value = instance.GetLinearizedStressValues(NComponent, DPoint1X, DPoint1Y, DPoint1Z, DPoint2X, DPoint2Y, DPoint2Z, NIntermPoints, NUnits, ErrorCode)
C# 
System.object GetLinearizedStressValues( 
   System.int NComponent,
   System.double DPoint1X,
   System.double DPoint1Y,
   System.double DPoint1Z,
   System.double DPoint2X,
   System.double DPoint2Y,
   System.double DPoint2Z,
   System.int NIntermPoints,
   System.int NUnits,
   out System.int ErrorCode
)
C++/CLI 
System.Object^ GetLinearizedStressValues( 
&   System.int NComponent,
&   System.double DPoint1X,
&   System.double DPoint1Y,
&   System.double DPoint1Z,
&   System.double DPoint2X,
&   System.double DPoint2Y,
&   System.double DPoint2Z,
&   System.int NIntermPoints,
&   System.int NUnits,
&   [Out] System.int ErrorCode
) 

Parameters

NComponent

Stress component for which to get linearized values (see Remarks)

DPoint1X

X coordinate of first point on the section view (see Remarks)

DPoint1Y

Y coordinate of first point on the section view (see Remarks)

DPoint1Z

Z coordinate of first point on the section view (see Remarks)

DPoint2X

X coordinate of second point on the section view (see Remarks)

DPoint2Y

Y coordinate of second point on the section view (see Remarks)

DPoint2Z

Z coordinate of second point on the section view (see Remarks)

NIntermPoints
Number of intermediate points between the points specified by DPoint1X, DPoint1Y, DPoint1Z, DPoint2X, DPoint2Y, and DPoint2Z to define the resolution of the line
NUnits

Units as defined in swsStrengthUnit_e (see Remarks)

ErrorCode

Error as defined in swsResultsError_e

Return Value

Array of seven linearized membrane and bending stress values for the specified NComponent (see Remarks)

Remarks

Before calling this method:

  1. Create a pressure vessel study using the results of two static studies.
  2. Analyse the pressure vessel study to generate a stress results plot.
  3. Create a planar section view of the stress results plot.
    1. Right-click the stress results plot and click Section Clipping to open the Section PropertyManager.
    2. In Section 1, click Plane.
    3. In Options, click Union and select Show mesh on section plane and Plot on section only.
    4. Click OK.
  4. Specify DPoint1X, DPoint1Y, DPoint1Z, DPoint2X, DPoint2Y, DPoint2Z with the coordinates of two points on the planar section view you created in step 3.
  5. Specify NComponent with one of the following values:
  • 0   = Normal stress in X-direction
  • 1   = Normal stress in Y-direction
  • 2   = Normal stress in Z-direction
  • 3   = Shear stress in the Y direction acting in the YZ plane
  • 4   = Shear stress in the Z direction acting in the YZ plane
  • 5   = Shear stress in the Z direction acting in the XZ plane
  • 6   = Von Mises stress
  • 7   = Stress intensity (P1 - P3)
  • 8   = Normal stress in the first principal direction (P1)
  • 9   = Normal stress in the second principal direction (P2)
  • 10 = Normal stress in the third principal direction (P3)

The returned array contains the following seven values in the specified NUnits for the specified NComponent:

{ membrane_stress, bending_point_1, (membrane_stress + bending_point_1), bending_point_2, (membrane_stress + bending_point_2), peak_point_1peak_point_2 }

NOTE: This method is valid only for solid meshes.

 

See Also

Availability

SOLIDWORKS Simulation API 2012 SP0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   GetLinearizedStressValues Method (ICWResults)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2019 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.