Adds a variable amplitude fatigue event.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICWFatigueStudyOptions
Dim SAssociatedStudyName As String
Dim DScale As Double
Dim NStep As Integer
Dim VarLHCurveXData As Object
Dim VarLHCurveYData As Object
Dim NLHCurveType As Integer
Dim DSamplingRate As Double
Dim ErrorCode As Integer
Dim value As CWFatigueEvent
value = instance.AddFatigueEventForVariableAmplitude(SAssociatedStudyName, DScale, NStep, VarLHCurveXData, VarLHCurveYData, NLHCurveType, DSamplingRate, ErrorCode)
|
Parameters
- SAssociatedStudyName
Name of the reference static study
- DScale
- Scale factor to relate the amplitudes of the variable load history curve to the load in the SAssociatedStudyName study
- NStep
- Solution step whose stress result is used to calculate the alternating stress
- 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
Example
See Also
Availability
SolidWorks Simulation API 2012 SP0