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.

Difficulty exporting mid-side nodes of quadratic elements using APDL

    • mikaelgmrs
      Subscriber

      Hello, everyone.

      I'm having a really hard time currently trying to export the results of mid-side nodes using APDL. As I understand it, the results are evaluated at the Gauss integration points, then interpolated at the corner nodes. The mid-side nodes are the average of the two corner nodes. When I probe, the result is there, but when I export, usually the corner node results are correct, and the mid-side nodes are empty.

      I have tried using AVRES, 1 and ERESX, YES, as well as PRNSOL, S, EQV

      The code has this base:

      /POST1
      SET, LAST
      ALLSEL, ALL
      /GRAPHICS, POWER
      /EFACET, 2
      AVRES, 1
      AVPRIN, 0, 1
      ERESX, YES
      CMSEL, S, Nodes
      *GET, n_count, NODE, 0, COUNT

      *DIM, node_ids, ARRAY, n_count
      *DIM, vm_stress, ARRAY, n_count
       
      curr_node = 0
      *DO, i, 1, n_count
          curr_node = NDNEXT(curr_node)
          node_ids(i) = curr_node
          *GET, vm_stress(i), NODE, curr_node, S, EQV
      *ENDDO
       
      I have tried a few different approaches, but I never manage to export the values at the mid-side nodes, which I know exist due to the probe tool returning me results. I wanted to avoid having to "manually" calculate the average between two corner nodes. Does anyone know if it's actually possible, and if so, how to export these results? Otherwise I think I might just use only corner nodes instead. 

      Thanks for reading
Viewing 0 reply threads
  • You must be logged in to reply to this topic.
[bingo_chatbox]