Hide Table of Contents
AddFatigueEventForHarmonic Method (ICWFatigueStudyOptions)

Adds a fatigue event to a linear dynamic harmonic study.

.NET Syntax

Visual Basic (Declaration) 
Function AddFatigueEventForHarmonic( _
   ByVal SAssociatedStudyName As System.String, _
   ByVal DFrequency As System.Double, _
   ByVal NPlotStep As System.Integer, _
   ByVal DCycles As System.Double, _
   ByVal DScale As System.Double, _
   ByRef ErrorCode As System.Integer _
) As CWFatigueEvent
Visual Basic (Usage) 
Dim instance As ICWFatigueStudyOptions
Dim SAssociatedStudyName As System.String
Dim DFrequency As System.Double
Dim NPlotStep As System.Integer
Dim DCycles As System.Double
Dim DScale As System.Double
Dim ErrorCode As System.Integer
Dim value As CWFatigueEvent
 
value = instance.AddFatigueEventForHarmonic(SAssociatedStudyName, DFrequency, NPlotStep, DCycles, DScale, ErrorCode)
C# 
CWFatigueEvent AddFatigueEventForHarmonic( 
   System.string SAssociatedStudyName,
   System.double DFrequency,
   System.int NPlotStep,
   System.double DCycles,
   System.double DScale,
   out System.int ErrorCode
)
C++/CLI 
CWFatigueEvent^ AddFatigueEventForHarmonic( 
&   System.String^ SAssociatedStudyName,
&   System.double DFrequency,
&   System.int NPlotStep,
&   System.double DCycles,
&   System.double DScale,
&   [Out] System.int ErrorCode
) 

Parameters

SAssociatedStudyName
Name of the reference linear dynamic harmonic study (see Remarks)
DFrequency
Frequency of SAssociatedStudyName; valid only if NPlotStep is 0
NPlotStep
Solution step number of SAssociatedStudyName; valid only if DFrequency is 0
DCycles
1.0 < Number of cycles associated with this event < 1.0E36
DScale
0.0 <= Factor by which to scale the result stresses of SAssociatedStudyName to produce fatigue <= 1.0E36
ErrorCode
Error code as defined in swsFatigueEventEndEditError_e

Return Value

ICWFatigueEvent

Example

Remarks

This method works only in SOLIDWORKS Simulation Premium.

Before running a fatigue harmonic study, apply material with defined fatigue S-N curves to the model parts of SAssociatedStudyName.

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

 

See Also

Availability

SOLIDWORKS Simulation API 2015 SP3


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:   AddFatigueEventForHarmonic 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.