ALTADataSet.AddStressProfile

From ReliaWiki
Jump to navigation Jump to search


Makes an existing time-varying stress profile available for use in the analysis. Stress profiles can be used only when the cumulative damage model is selected.

Syntax

Parameters

Profile: A defined stress profile, as an instance of the ALTAStressProfile class.

Usage Example

 'Declare a new ALTADataSet object. See ALTADataSet. 
 Dim ALTADS as New ALTADataSet
 
 Declare a new stress profile. See ALTAStressProfile. 
 Dim sp = New ALTAStressProfile("Profile1")
 sp.RepeatCycle = True
 sp.AddSegment(1, 250)
 sp.AddSegment(2, 300)
 sp.AddSegment(3, 400)
 
 Add the stress profile to the data set. 
 ALTADS.AddStressProfile(sp)
 
 Add a failure time to the data set. See AddFailure. 
 ALTADS.AddFailure(100, 1, sp)