Skip to content

Impossible to extract strain or stress on 1D elements? #2220

Open
@sachabfra

Description

@sachabfra

Before submitting the issue

  • I have checked for Compatibility issues
  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

Hi,

It seems that it is impossible to get strain or stress results on 1D elements using pydpf core or post. Is there a way to get any of these data on BEAM188, LINK180 or any other 1D element?

I tried using pydpf core operators (any rst with 1D elements for the example would fit) such as dpf.operators.result.stress() / dpf.operators.result.strain() / dpf.operators.result.stress_von_mises() , but none of it gives a result back even with the read_beams option set to True.

Here is an example of what I wrote :
Image

And the output I get :
Image

Thanks in advance for your help.

Steps To Reproduce

Get any ansys test case or any model that has 1D element and try to get the strain or stress on a node or an element using pydpf core or pydpf post.

Which Operating System causes the issue?

Windows

Which DPF/Ansys version are you using?

Ansys 2023 R2

Which Python version causes the issue?

3.12

Installed packages

aiohappyeyeballs 2.4.4
aiohttp 3.11.10
aiosignal 1.3.2
ansys-api-mapdl 0.5.1
ansys-api-platform-instancemanagement 1.1.0
ansys-dpf-core 0.9.0
ansys-dpf-gate 0.4.1
ansys-dpf-gatebin 0.4.1
ansys-dpf-post 0.9.0
ansys-grpc-dpf 0.3.0
ansys-mapdl-core 0.67.0
ansys-mapdl-reader 0.54.2
ansys-math-core 0.2.0
ansys-platform-instancemanagement 1.1.2
ansys-tools-path 0.7.0
ansys-tools-visualization-interface 0.6.2
appdirs 1.4.4
attrs 24.3.0
Bottleneck 1.3.7
cachetools 5.5.0
certifi 2024.12.14
chardet 5.2.0
charset-normalizer 3.4.0
click 8.1.7
colorama 0.4.6
contourpy 1.2.1
cycler 0.12.1
et-xmlfile 1.1.0
fonttools 4.53.0
frozenlist 1.5.0
geomdl 5.3.1
google-api-core 2.24.0
google-api-python-client 2.155.0
google-auth 2.37.0
google-auth-httplib2 0.2.0
googleapis-common-protos 1.66.0
grpcio 1.68.1
httplib2 0.22.0
idna 3.10
importlib_metadata 8.5.0
kiwisolver 1.4.5
lml 0.1.0
matplotlib 3.10.0
mkl-fft 1.3.8
mkl-random 1.2.4
mkl-service 2.4.0
more-itertools 10.5.0
msgpack 1.1.0
multidict 6.1.0
numexpr 2.8.7
numpy 1.26.4
openpyxl 3.1.2
packaging 24.2
pandas 2.2.2
pillow 11.0.0
pip 24.0
platformdirs 4.3.6
ply 3.11
pooch 1.8.2
propcache 0.2.1
proto-plus 1.25.0
protobuf 3.20.3
psutil 6.1.0
pyansys-tools-versioning 0.6.0
pyasn1 0.6.1
pyasn1_modules 0.4.1
pyexcel 0.7.0
pyexcel-io 0.6.6
pyexcel-xls 0.7.0
pyexcel-xlsx 0.6.0
pyiges 0.3.1
pyparsing 3.2.0
PyQt5 5.15.10
PyQt5-sip 12.13.0
python-dateutil 2.9.0.post0
pytz 2024.1
pyvista 0.44.2
pywin32 305.1
requests 2.32.3
rsa 4.9
scipy 1.14.1
scooby 0.10.0
setuptools 75.6.0
sigfig 1.3.3
sip 6.7.12
six 1.17.0
sortedcontainers 2.4.0
tabulate 0.9.0
texttable 1.7.0
tornado 6.4.1
tqdm 4.67.1
trame 3.7.1
trame-client 3.5.0
trame-server 3.2.3
trame-vtk 2.8.12
trame-vuetify 2.7.2
typing_extensions 4.12.2
tzdata 2023.3
unicodedata2 15.1.0
uritemplate 4.1.1
urllib3 2.2.3
vtk 9.3.1
websockets 14.1
wheel 0.43.0
wslink 2.2.1
xlrd 2.0.1
XlsxWriter 3.2.0
xlwings 0.31.4
xlwt 1.3.0
yarl 1.18.3
zipp 3.21.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions