Set Pre-Stress Enviorment

Erik Kostson
Erik Kostson Member, Moderator, Employee Posts: 276
50 Answers 100 Comments Second Anniversary 25 Likes
✭✭✭✭
edited October 2024 in Structures

In a prestress modal analysis, where the pre stress is given by a static analysis, how can we set the prestress environment to None (or to a static analysis)?

Best Answer

  • Erik Kostson
    Erik Kostson Member, Moderator, Employee Posts: 276
    50 Answers 100 Comments Second Anniversary 25 Likes
    ✭✭✭✭
    Answer ✓

    One way is a shown below (2 systems exist A is a static system, providing the pre stress to a B Modal system).

    model = ExtAPI.DataModel.Project.Model
    st=model.Analyses[0]
    mo=model.Analyses[1]
    prst=mo.InitialConditions[0]
    prst.PreStressICEnvironment=st # Set st to None if no prestress is needed
    
This discussion has been closed.