question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

order of nodes in nodal_time_history of rst.Result

See original GitHub issue

Hello Alex,

i encountered a strange behavior when reading data from an RST file, that i believe might be a bug. Here’s my description: Within a larger project i use code like the following to read nodal data from an rst file via pyansys:

import pyansys
rstData = pyansys.read_binary('Panel.rst')
# method-A
nodeIDsA, nodalDisplA = rstData.nodal_displacement(rstData.nsets-1)

# method-B
nodeIDsB, nodalDisplBAll = rstData.nodal_time_history(solution_type='NSL')
nodalDisplB = nodalDisplBAll[rstData.nsets-1]

The order of the data in nodalDisplA is then differing from that in nodalDisplB, the node numbers in nodeIDsA and nodeIDsB however are identical. I sorted out a way to rearrange the data retrieved by the method nodal_time_history via a lookup table. By that i could verify that the data is indeed identical, except for the ordering. However i would expect the data to be an exact copy, or to be consistent to the nodal numbers returned by either function (method-A / method-B). I tried to fiddle out the way the data is read in the corresponding binary reader functions, but had no success.

This popped up when i tried to use the method nodal_time_history to read velocity and acceleration data which are ordered in the same manner the displacement data is. If this might be a problem specifically related to my testcase-data, i could provide any files needed for investigation.

Some version info: pyansys: 0.44.2 python: 3.7.7 Ansys: 19.3 (transient structural)

By the way, I highly appreciate your excellent work on this project and especially publishing it licensed open-source. In the moment i use it as a basis for Ansys data-IO in a flow-structure-interaction simulation framework. Best regards, Sebastian

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JackGuyvercommented, Sep 28, 2020

Great work, i can confirm that the order is now the same and results look good now. Thanks a lot for the very fast fix!

0reactions
akaszynskicommented, Sep 26, 2020

Fixed in #281. Upgrade to pyansys==0.44.4 and you should be good to go.

Thanks again for the example file, and please let me know if you encounter any more issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AcuTrans - Altair
The results of AcuSolve are stored using an internal format in a number of files ... The list of variables is sorted in...
Read more >
Introduction to Explicit Analysis using RADIOSS - DesignGyan
This study guide aims to provide a basic introduction into the exciting and challenging world of explicit Finite Element Analysis.
Read more >
Version 02 Jean H. Prévost - Princeton University
is a finite element analysis program for the static and transient response of linear and nonlinear two- and three-dimensional systems.
Read more >
Congruence and Transformations Flashcards - Quizlet
The change in order will result in the transformed images having vertices in the same location, ... Jason states that triangle ABC is...
Read more >
DO NOT MICROFILM COVER' - OSTI.gov
use or the results of such use of any information, apparatus, ... in order to match one time step for the fluid calculation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found