Thermal_Mechanical Stress in PyMechanical

I have a pymechanical script that performs Steady-State Thermal.
Now I would like to import the output of the steady-state thermal in static structural analysis.

Can someone help me with this?

Best Answer

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

    Hi

    One way and probably one of the easiest would be to create a new static system (analysis = Model.AddStaticStructuralAnalysis()) - so after thermal is done create new static system.

    • then in the static system, import thermal result/.rth files (AddImportedLoadMAPDLResultsFile())
    • add imported temperature on body (AddImportedBodyTemperature()),
      and finally solve.

    All the best
    Erik