Hide Table of Contents
AddFatigueEventForVariableAmplitude Method (ICWFatigueStudyOptions)

Adds a fatigue event to a linear dynamic variable amplitude study.

.NET Syntax

Visual Basic (Declaration) 
Function AddFatigueEventForVariableAmplitude( _
   ByVal SAssociatedStudyName As System.String, _
   ByVal DScale As System.Double, _
   ByVal NStep As System.Integer, _
   ByVal VarLHCurveXData As System.Object, _
   ByVal VarLHCurveYData As System.Object, _
   ByVal NLHCurveType As System.Integer, _
   ByVal DSamplingRate As System.Double, _
   ByRef ErrorCode As System.Integer _
) As CWFatigueEvent
Visual Basic (Usage) 
Dim instance As ICWFatigueStudyOptions
Dim SAssociatedStudyName As System.String
Dim DScale As System.Double
Dim NStep As System.Integer
Dim VarLHCurveXData As System.Object
Dim VarLHCurveYData As System.Object
Dim NLHCurveType As System.Integer
Dim DSamplingRate As System.Double
Dim ErrorCode As System.Integer
Dim value As CWFatigueEvent
 
value = instance.AddFatigueEventForVariableAmplitude(SAssociatedStudyName, DScale, NStep, VarLHCurveXData, VarLHCurveYData, NLHCurveType, DSamplingRate, ErrorCode)
C# 
CWFatigueEvent AddFatigueEventForVariableAmplitude( 
   System.string SAssociatedStudyName,
   System.double DScale,
   System.int NStep,
   System.object VarLHCurveXData,
   System.object VarLHCurveYData,
   System.int NLHCurveType,
   System.double DSamplingRate,
   out System.int ErrorCode
)
C++/CLI 
CWFatigueEvent^ AddFatigueEventForVariableAmplitude( 
&   System.String^ SAssociatedStudyName,
&   System.double DScale,
&   System.int NStep,
&   System.Object^ VarLHCurveXData,
&   System.Object^ VarLHCurveYData,
&   System.int NLHCurveType,
&   System.double DSamplingRate,
&   [Out] System.int ErrorCode
) 

Parameters

SAssociatedStudyName

Name of the reference study (see Remarks)

DScale
0.0 <= Factor by which to scale the result stresses of SAssociatedStudyName to produce fatigue <= 1.0E36
NStep
Solution step of SAssociatedStudyName; valid only for nonlinear or linear dynamic - time history studies
VarLHCurveXData
Array of times; valid only if NType = swsFatigueLoadHistoryCurveType_e.swsFatigueLoadHistoryCurveType_TimeAndAmplitude
VarLHCurveYData
Array of amplitudes
NLHCurveType
Type of curve as defined in swsFatigueLoadHistoryCurveType_e
DSamplingRate
Sampling rate in seconds; valid only if NType = swsFatigueLoadHistoryCurveType_e.swsFatigueLoadHistoryCurveType_SamplingRateAndAmplitude
ErrorCode
Error code as defined in swsFatigueEventEndEditError_e

Return Value

ICWFatigueEvent

Example

See the ICWFatigueStudyOptions examples.

Remarks

SAssociatedStudyName must be the name of a study of the following type:

  • Static
  • Nonlinear

 -or -

  • Linear dynamic time History

To set the options for this event, call ICWFatigueStudyOptions::SetVariableAmplitudeEventOptions.

To fully configure the variable amplitude fatigue study for this event, call:

 

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:   AddFatigueEventForVariableAmplitude Method (ICWFatigueStudyOptions)
*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) 2017 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.