Minimum Principal Stress for a Full harmonic Analysis

Stelios
Stelios Member, Employee Posts: 10
First Comment Ansys Employee First Anniversary
✭✭✭
edited November 2023 in Structures

How can I post-process the Minimum Principal Stress by Minimum Over Frequency in a full harmonic analysis and in the solution coordinate system?

Comments

  • Stelios
    Stelios Member, Employee Posts: 10
    First Comment Ansys Employee First Anniversary
    ✭✭✭
    edited November 2023
    harmonic_analysis = ExtAPI.DataModel.Project.Model.Analyses[0]
    harmonic_analysis_sol = harmonic_analysis.Solution 
    #Harmonic Analysis Solution
    all_spr = []
    
    spr = harmonic_analysis_sol.AddMinimumPrincipalStress()
    all_spr.append(spr)
    spr.Amplitude = True
    spr.By = SetDriverStyle.MinimumOverTime
    
    harmonic_analysis_sol.EvaluateAllResults()  # Evaluate all results
    
  • Stelios
    Stelios Member, Employee Posts: 10
    First Comment Ansys Employee First Anniversary
    ✭✭✭
    harmonic_analysis = ExtAPI.DataModel.Project.Model.Analyses[0]
    harmonic_analysis_sol = harmonic_analysis.Solution
    # Harmonic Analysis Solution
    all_spr = []
    
    spr = harmonic_analysis_sol.AddMinimumPrincipalStress()
    all_spr.append(spr)
    spr.Amplitude = True
    spr.By = SetDriverStyle.MinimumOverTime
    
    harmonic_analysis_sol.EvaluateAllResults()  # Evaluate all results
    
  • Stelios
    Stelios Member, Employee Posts: 10
    First Comment Ansys Employee First Anniversary
    ✭✭✭
    harmonic_analysis = ExtAPI.DataModel.Project.Model.Analyses[0]
    

    harmonic_analysis_sol = harmonic_analysis.Solution # Harmonic Analysis Solution

    all_spr = []

    spr = harmonic_analysis_sol.AddMinimumPrincipalStress()
    all_spr.append(spr)
    spr.Amplitude = True
    spr.By = SetDriverStyle.MinimumOverTime

    harmonic_analysis_sol.EvaluateAllResults() # Evaluate all results

  • Stelios
    Stelios Member, Employee Posts: 10
    First Comment Ansys Employee First Anniversary
    ✭✭✭

    harmonic_analysis = ExtAPI.DataModel.Project.Model.Analyses[0]
    harmonic_analysis_sol = harmonic_analysis.Solution # Harmonic Analysis Solution

    all_spr = []

    spr = harmonic_analysis_sol.AddMinimumPrincipalStress()
    all_spr.append(spr)
    spr.Amplitude = True
    spr.By = SetDriverStyle.MinimumOverTime

    harmonic_analysis_sol.EvaluateAllResults() # Evaluate all results

  • Stelios
    Stelios Member, Employee Posts: 10
    First Comment Ansys Employee First Anniversary
    ✭✭✭

    harmonic_analysis = ExtAPI.DataModel.Project.Model.Analyses[0]
    harmonic_analysis_sol = harmonic_analysis.Solution # Harmonic Analysis Solution

    all_spr = []

    spr = harmonic_analysis_sol.AddMinimumPrincipalStress()
    all_spr.append(spr)
    spr.Amplitude = True
    spr.By = SetDriverStyle.MinimumOverTime

    harmonic_analysis_sol.EvaluateAllResults() # Evaluate all results

  • Stelios
    Stelios Member, Employee Posts: 10
    First Comment Ansys Employee First Anniversary
    ✭✭✭
    harmonic_analysis = ExtAPI.DataModel.Project.Model.Analyses[0]
    harmonic_analysis_sol = harmonic_analysis.Solution  # Harmonic Analysis Solution
    
    all_spr = []
    
    spr = harmonic_analysis_sol.AddMinimumPrincipalStress()
    all_spr.append(spr)
    spr.Amplitude = True
    spr.By = SetDriverStyle.MinimumOverTime
    
    harmonic_analysis_sol.EvaluateAllResults()  # Evaluate all results
    
  • Stelios
    Stelios Member, Employee Posts: 10
    First Comment Ansys Employee First Anniversary
    ✭✭✭

    harmonic_analysis = ExtAPI.DataModel.Project.Model.Analyses[0]
    harmonic_analysis_sol = harmonic_analysis.Solution # Harmonic Analysis Solution

    all_spr = []

    spr = harmonic_analysis_sol.AddMinimumPrincipalStress()
    all_spr.append(spr)
    spr.Amplitude = True
    spr.By = SetDriverStyle.MinimumOverTime

    harmonic_analysis_sol.EvaluateAllResults() # Evaluate all results