ALTADataSet.StressRelation

From ReliaWiki
Jump to navigation Jump to search


Sets or gets the stress transformation of a particular stress, using the specified stress index.

Syntax

  • StressRelation( Index As Integer )

Parameters

Index: The index of the stress (0 = first stress).

Value

Type: ALTASolverLSR

Usage Example

This example demonstrates how to add a stress and set its stress transformation.

 'Declare the ALTADataSet. See ALTADataSet. 
 Dim ALTADS as New ALTADataSet
 
 'Add a new stress. 
 ALTADS.AddStressDefinition("Stress1")
 
 'Set the stress transformation for the first stress. See ALTASolverLSR. 
 ALTADS.StressRelation(0) = ALTASolverLSR.Arrhenius