Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

How to sort nodal stresses values within a given stress range in Ansys APDL?

    • Leon_2013
      Subscriber
      Hello, nI'm working in a static structural model, and I would like to have a APDL command that helps me to find all the nodal stresses values within a range (range that I can define). Do you have any suggestions?.
    • Govindan Nagappan
      Ansys Employee
      nYou can use NSEL command to select nodes based on stress valuenExample:nNSEL,S,S,EQV,100,200 ! select nodes with Equivalent stress between 100 and 200 unitsnCheck section for command at NSEL (ansys.com)nn
    • Govindan Nagappan
      Ansys Employee
      nFor sorting the nodes based on stress, check the NSORT commandnNSORT,S,EQV,1, !ascending ordernSee help section NSORT (ansys.com)nn
    • Leon_2013
      Subscriber
      Hi gnagapp,nFirst of all thank you for your answer. I have the following snippet:nn*DO,j,1,nnode,1n*GET,VM_stres(j,1),NODE,selnodes(j),s,eqvn!COPY THE NODES ID INTO THE VM_stres MATRIXn*MFUN,VM_stress(j,2),copy,selnodes(j)n*ENDDOnnwhere the VM_stress is a matrix which contains lets say 50 nodal Von Misses stress values and their Nodal ID. I would like to extract from this matrix the equivalent stresses and nodal IDs for a given stress range and print it in the output information. Can you help me with this?, and sorry I'm new in APDL .nnBest regards,n
Viewing 3 reply threads
  • The topic ‘How to sort nodal stresses values within a given stress range in Ansys APDL?’ is closed to new replies.
[bingo_chatbox]