ansys / ansys/pymapdl-reader

Displacement reading issue with nodal_displacement

Open
#110 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
60
Forks
32
Avg merge
5h 50m
Merged PRs (30d)
8

Description

Hi,
I am using pymapdl-reader to read an rst file from a simulation to analyse the displacement of a modal analysis.
There is no probleme when I take directly from the displacement list of the APDL gui, but when I am trying to read it with the method : result.nodal_displacement(mode), I have the following problem : all my displacement or either huge, either null :
[-1.00111706e+172 0.00000000e+000 0.00000000e+000]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
...
[0. 0. 0.]
[0.00000000e+00 0.00000000e+00 5.78486458e+15]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]

Also, I work on plane element so I should not have any displacement in the Z-axis. It seems to not be the case.

The link to the files used for the analysis : [link](https://drive.google.com/drive/folders/1YVcL-6dBbo5_qbCvADLk9WYx11fV98Hk?usp=sharing)

Thank you,
Raphaël

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported values with result.nodal_displacement(mode) using the analysis files in the linked Google Drive folder. Compare the returned displacement arrays with the APDL GUI values, including the unexpected Z-axis results. Done means the reader returns finite, correct modal displacements for this plane-element case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.