Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Post processing result editing

    • filippobarbagelata07
      Subscriber

      Greetings to everyone,

      I'm recently sruggling with the MAPDL post processing commands, I included a command block in the result tab of the mechanical simulation tree executing commands after the /post1 apdl command.

      I'd like to modify the resulting stress value of nodes that exeed a certain value with the *DNSOL command but I can not extract the stress values from any node using the *GET command.

      How can I get the equivalent stress values at the nodes? I need it in order to select all the nodes with a greater stress value then a prescribed value and modify it

      Thanks to anyone who will reply

    • Deepak
      Ansys Employee

      Hi, 

      *GET - used to define scalar parameter

      *VGET - Retrieves values and stores them into an array parameter, the below code helps in extracting the equivalent stress values of all nodes and stores them in the VOM_STRESS parameter.

      *VGET, VOM_STRESS, NODE,0, S, EQV.

      Then you may use the *IF and *DO loop to extract the data from the VOM_STRESS array for the nodes whose stress value exceeds the prescribed value.

       

      Reference links: *VGET; *IF; *DO

       

      Thanks,

      Deepak

    • filippobarbagelata07
      Subscriber

      ok, thank you for your help, the code now works fine replacing the results i want to edit with the *VPUT command, now I have another problem. I need to update the equivalent stress plot to show the edited results to perform a fatigue analysis. Is there a command that can do such thing?

Viewing 2 reply threads
  • You must be logged in to reply to this topic.