ansys / pydpf-post

Data Processing Framework - Post Processing Module
https://post.docs.pyansys.com
MIT License
43 stars 10 forks source link

01-static-analysis.py can not retrieve stress result #43

Open mcMunich opened 2 years ago

mcMunich commented 2 years ago

The Static analysis example 01-static-analysis.ipynb or the .py will fail at the line: stress.num_fields image https://postdocs.pyansys.com/examples/01-Different-analysis-types/01-static-analysis.html#sphx-glr-examples-01-different-analysis-types-01-static-analysis-py This will happen in jupyter notebooks or in an IDE.

my Spyder installation returns:

DPFServerException: S<-to_nodal_fc<-mapdl::rst::S<-mapdl::rst::S<-Unknown exception occured. Failed to read mapdl::rst::S from rst file., failed to read element nodal component stresses from rst file.

Expected result: number of fields, ability to plot or retrieve stresses.

jgd10 commented 2 years ago

What are your environment details? I was unable to reproduce this error just by running the example script.

mcMunich commented 2 years ago

image

python3.8

rlagha commented 2 years ago

this is an issue, on the server side, What is the Ansys install version you are using?

mcMunich commented 2 years ago

2021R2. At least that is what the other pyansys modules call.

rlagha commented 2 years ago

@mcMunich do you have this env var defined? CADOE_LIBDIR212

mcMunich commented 2 years ago

seems so: image

rlagha commented 2 years ago

Hi @mcMunich I'm working to find a way to reproduce this issue on our side, I'll keep you updated.