ansys / pydpf-post

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

Empty stress DPFArray for CPT212 element #197

Open Artyom-K opened 1 year ago

Artyom-K commented 1 year ago

Before submitting the issue

Description of the bug

When I use CPT212 elements the stress and strain arrays are empty. When I repeat the same steps with a simulation using plane182 elements everything works as expected.

Steps To Reproduce

Perform an analysis with CPT212 element and save the results to file.rst from ansys.dpf import post sol = post.load_solution('file.rst') s = sol.stress() s.xx[0].data

DPFArray([], dtype=float64)

Which Operating System are you using?

Windows

Which Python version are you using?

3.7

Installed packages

aiohttp==3.8.3 aiosignal==1.2.0 alabaster==0.7.12 ansys-api-mapdl==0.5.1 ansys-api-platform-instancemanagement==1.0.0b3 ansys-corba==0.1.0 ansys-dpf-core==0.6.2 ansys-dpf-gate==0.2.3 ansys-dpf-gatebin==0.2.3 ansys-dpf-post==0.2.5 ansys-grpc-dpf==0.6.1 ansys-mapdl-core==0.63.3 ansys-mapdl-reader==0.52.2 ansys-platform-instancemanagement==1.0.2 anyio @ file:///C:/ci/anyio_1644463705902/work/dist appdirs==1.4.4 argon2-cffi @ file:///opt/conda/conda-bld/argon2-cffi_1645000214183/work argon2-cffi-bindings @ file:///C:/ci/argon2-cffi-bindings_1644569848815/work arrow @ file:///opt/conda/conda-bld/arrow_1649166651673/work astroid @ file:///C:/Windows/TEMP/abs_b0dtxgpicv/croots/recipe/astroid_1659023126745/work async-timeout==4.0.2 asynctest==0.13.0 atomicwrites==1.4.0 attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work autopep8 @ file:///opt/conda/conda-bld/autopep8_1650463822033/work Babel @ file:///tmp/build/80754af9/babel_1620871417480/work backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work bcrypt @ file:///C:/Windows/Temp/abs_36kl66t_aw/croots/recipe/bcrypt_1659554334050/work beautifulsoup4 @ file:///C:/ci/beautifulsoup4_1650292996413/work binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work black @ file:///C:/ci/black_1660239917055/work bleach @ file:///opt/conda/conda-bld/bleach_1641577558959/work brotlipy==0.7.0 cachetools==5.2.0 certifi @ file:///C:/b/abs_ac29jvt43w/croot/certifi_1665076682579/work/certifi cffi @ file:///C:/Windows/Temp/abs_6808y9x40v/croots/recipe/cffi_1659598653989/work chardet @ file:///C:/ci/chardet_1607706910910/work charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work click @ file:///C:/ci/click_1646038601470/work cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work colorama @ file:///C:/Windows/TEMP/abs_9439aeb1-0254-449a-96f7-33ab5eb17fc8apleb4yn/croots/recipe/colorama_1657009099097/work cookiecutter @ file:///opt/conda/conda-bld/cookiecutter_1649151442564/work cryptography @ file:///C:/ci/cryptography_1652101770956/work cycler==0.11.0 debugpy @ file:///C:/ci/debugpy_1637091911212/work decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work dill @ file:///tmp/build/80754af9/dill_1623919422540/work docutils @ file:///C:/ci/docutils_1620828194019/work entrypoints @ file:///C:/ci/entrypoints_1649926659561/work fastjsonschema @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_ebruxzvd08/croots/recipe/python-fastjsonschema_1661376484940/work flake8 @ file:///opt/conda/conda-bld/flake8_1648129545443/work fonttools==4.37.4 frozenlist==1.3.1 geomdl==5.3.1 google-api-core==2.10.2 google-api-python-client==2.65.0 google-auth==2.14.1 google-auth-httplib2==0.1.0 googleapis-common-protos==1.56.4 grpcio==1.49.1 httplib2==0.21.0 idna @ file:///tmp/build/80754af9/idna_1637925883363/work imageio==2.22.2 imagesize @ file:///C:/Windows/TEMP/abs_3cecd249-3fc4-4bfc-b80b-bb227b0d701en12vqzot/croots/recipe/imagesize_1657179501304/work importlib-metadata==5.0.0 importlib-resources @ file:///tmp/build/80754af9/importlib_resources_1625135880749/work inflection==0.5.1 intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work ipycanvas==0.13.1 ipyevents==2.0.1 ipykernel @ file:///C:/b/abs21ykzkm7y/croots/recipe/ipykernel_1662361803478/work ipython @ file:///C:/Windows/TEMP/abs_45b5zb1l7q/croots/recipe/ipython_1659529855872/work ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work ipyvtklink==0.2.3 ipywidgets==7.7.2 isort @ file:///tmp/build/80754af9/isort_1628603791788/work jedi @ file:///C:/ci/jedi_1644297241925/work jellyfish @ file:///C:/ci/jellyfish_1647962768748/work Jinja2 @ file:///opt/conda/conda-bld/jinja2_1647436528585/work jinja2-time @ file:///opt/conda/conda-bld/jinja2-time_1649251842261/work json5 @ file:///tmp/build/80754af9/json5_1624432770122/work jsonschema @ file:///C:/b/abs_59eyhnbyej/croots/recipe/jsonschema_1663375476535/work jupyter-server @ file:///C:/Windows/TEMP/abs_d3c42c59-765d-4f9b-9fa3-ad5b1369485611i_yual/croots/recipe/jupyter_server_1658754493238/work jupyter_client @ file:///C:/b/abs8fbm7986b/croots/recipe/jupyter_client_1662504374117/work jupyter_core @ file:///C:/b/abs_a9330r1z_i/croots/recipe/jupyter_core_1664917313457/work jupyterlab @ file:///C:/ci/jupyterlab_1658909377220/work jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work jupyterlab-widgets==1.1.1 jupyterlab_server @ file:///C:/ci/jupyterlab_server_1664911417714/work keyring @ file:///C:/ci/keyring_1638531658822/work kiwisolver==1.4.4 lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529290879/work MarkupSafe @ file:///C:/ci/markupsafe_1654508076077/work matplotlib==3.5.3 matplotlib-inline @ file:///C:/ci/matplotlib-inline_1661934089728/work mccabe @ file:///opt/conda/conda-bld/mccabe_1644221741721/work mistune @ file:///C:/ci/mistune_1594373272338/work multidict==6.0.2 mypy-extensions==0.4.3 nbclassic @ file:///opt/conda/conda-bld/nbclassic_1644943264176/work nbclient @ file:///C:/ci/nbclient_1650308542913/work nbconvert @ file:///C:/ci/nbconvert_1649759177374/work nbformat @ file:///C:/b/abs_1dw90o2uqb/croots/recipe/nbformat_1663744957967/work nest-asyncio @ file:///C:/ci/nest-asyncio_1649848126026/work notebook @ file:///C:/Windows/TEMP/abs_79abr1_60s/croots/recipe/notebook_1659083661851/work numpy==1.21.6 numpydoc @ file:///C:/Windows/TEMP/abs_30799058-86dd-4401-b621-d172137a4d87_ra3twm7/croots/recipe/numpydoc_1657529873713/work packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work pandocfilters @ file:///opt/conda/conda-bld/pandocfilters_1643405455980/work paramiko @ file:///opt/conda/conda-bld/paramiko_1640109032755/work parso @ file:///opt/conda/conda-bld/parso_1641458642106/work pathspec @ file:///C:/Windows/TEMP/abs_581d0u45mh/croots/recipe/pathspec_1659627132171/work pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work Pillow==9.2.0 pkgutil_resolve_name @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_81wm45v3kb/croots/recipe/pkgutil-resolve-name_1661463352381/work platformdirs @ file:///C:/b/abs_73cc5cz_1u/croots/recipe/platformdirs_1662711386458/work pluggy @ file:///C:/ci/pluggy_1648042781630/work ply==3.11 poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work progressbar2==4.2.0 prometheus-client @ file:///C:/Windows/TEMP/abs_ab9nx8qb08/croots/recipe/prometheus_client_1659455104602/work prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work protobuf==3.20.3 protoc-gen-swagger==0.1.0 psutil @ file:///C:/Windows/Temp/abs_b2c2fd7f-9fd5-4756-95ea-8aed74d0039flsd9qufz/croots/recipe/psutil_1656431277748/work ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl pyasn1==0.4.8 pyasn1-modules==0.2.8 pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1636635402688/work pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work pyflakes @ file:///tmp/build/80754af9/pyflakes_1636644436481/work Pygments @ file:///opt/conda/conda-bld/pygments_1644249106324/work pyiges==0.2.1 pylint @ file:///C:/Windows/TEMP/abs_518eqlbmoo/croots/recipe/pylint_1659110354241/work pyls-spyder==0.4.0 PyNaCl @ file:///C:/Windows/Temp/abs_d5c3ajcm87/croots/recipe/pynacl_1659620667490/work pyOpenSSL @ file:///opt/conda/conda-bld/pyopenssl_1643788558760/work pyparsing @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_7f_7lba6rl/croots/recipe/pyparsing_1661452540662/work PyQt5==5.15.7 PyQt5-sip @ file:///C:/Windows/Temp/abs_d7gmd2jg8i/croots/recipe/pyqt-split_1659273064801/work/pyqt_sip PyQtWebEngine==5.15.4 pyrsistent @ file:///C:/ci/pyrsistent_1636093257833/work PySocks @ file:///C:/ci/pysocks_1594394709107/work python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work python-lsp-black @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_dddk9lhpp1/croots/recipe/python-lsp-black_1661852041405/work python-lsp-jsonrpc==1.0.0 python-lsp-server @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_d03ou8px8s/croots/recipe/python-lsp-server_1661813818824/work python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work python-utils==3.4.5 pytz @ file:///C:/Windows/TEMP/abs_90eacd4e-8eff-491e-b26e-f707eba2cbe1ujvbhqz1/croots/recipe/pytz_1654762631027/work pyvista==0.36.1 pywin32==302 pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1594392691209/work pywinpty @ file:///C:/ci_310/pywinpty_1644230983541/work/target/wheels/pywinpty-2.0.2-cp37-none-win_amd64.whl PyYAML==6.0 pyzmq @ file:///C:/ci/pyzmq_1657597757589/work QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl QtAwesome @ file:///tmp/build/80754af9/qtawesome_1637160816833/work qtconsole @ file:///C:/ci/qtconsole_1662000803331/work QtPy @ file:///C:/ci/qtpy_1662015131946/work requests @ file:///C:/ci/requests_1657735288441/work rope @ file:///opt/conda/conda-bld/rope_1643788605236/work rsa==4.9 Rtree @ file:///C:/ci/rtree_1618421019532/work scipy==1.7.3 scooby==0.6.0 Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work sip @ file:///C:/Windows/Temp/abs_b8fxd17m2u/croots/recipe/sip_1659012372737/work six @ file:///tmp/build/80754af9/six_1644875935023/work sniffio @ file:///C:/ci/sniffio_1614030522573/work snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1637937080595/work sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work soupsieve @ file:///tmp/build/80754af9/soupsieve_1636706018808/work Sphinx==4.2.0 sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work spyder @ file:///C:/b/abs_8b9xyq0tgd/croots/recipe/spyder_1663056826743/work spyder-kernels @ file:///C:/b/abs_bcwwacv768/croots/recipe/spyder-kernels_1662457887005/work terminado @ file:///C:/ci/terminado_1644322782754/work testpath @ file:///C:/Windows/TEMP/abs_23c7fa33-cbb9-46dc-b7c5-590c38e2de3d4bmbngal/croots/recipe/testpath_1655908553202/work text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work toml @ file:///tmp/build/80754af9/toml_1616166611790/work tomli @ file:///C:/Windows/TEMP/abs_ac109f85-a7b3-4b4d-bcfd-52622eceddf0hy332ojo/croots/recipe/tomli_1657175513137/work tomlkit @ file:///C:/Windows/TEMP/abs_3296qo9v6b/croots/recipe/tomlkit_1658946894808/work tornado @ file:///C:/ci/tornado_1662476933490/work tqdm==4.64.1 traitlets @ file:///tmp/build/80754af9/traitlets_1636710298902/work typed-ast @ file:///C:/ci/typed-ast_1624953789477/work typing_extensions @ file:///C:/Windows/TEMP/abs_dd2d0moa85/croots/recipe/typing_extensions_1659638831135/work ujson @ file:///C:/ci/ujson_1657507700248/work Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work uritemplate==4.1.1 urllib3 @ file:///C:/Windows/TEMP/abs_65ynz4fdmi/croots/recipe/urllib3_1659110473919/work vtk==9.2.2 watchdog @ file:///C:/ci/watchdog_1638367455435/work wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work webencodings==0.5.1 websocket-client @ file:///C:/ci/websocket-client_1614804293275/work whatthepatch @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_e7bihs8grh/croots/recipe/whatthepatch_1661796085215/work widgetsnbextension==3.6.1 win-inet-pton @ file:///C:/ci/win_inet_pton_1605306165655/work wincertstore==0.2 wrapt @ file:///C:/Windows/Temp/abs_7c3dd407-1390-477a-b542-fd15df6a24085_diwiza/croots/recipe/wrapt_1657814452175/work wslink==1.8.4 yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work yarl==1.8.1 zipp @ file:///C:/ci/zipp_1652274072582/work

Artyom-K commented 1 year ago

As I think the support for CPT elements is not implemented yet, what is the best way to postprocess results? I don't understand if using mapdl.post_processing is also impossible for these elements or if I'm doing something wrong. Right now, I just need to access pressure DOF between load steps for certain nodes. I can get do it using mapdl.get but it's slow.