Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rst file produces nan in node coordinates #766

Closed
3 tasks done
janvonrickenbach opened this issue Jan 24, 2023 · 3 comments
Closed
3 tasks done

Rst file produces nan in node coordinates #766

janvonrickenbach opened this issue Jan 24, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@janvonrickenbach
Copy link
Contributor

janvonrickenbach commented Jan 24, 2023

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

If the attached rst file is loaded, the first node has nan coordinates. Remove the txt ending and extract.
file.7z.txt

Steps To Reproduce


import ansys.dpf.core as dpf
import os

dpf.start_local_server(ansys_path=os.environ["AWP_ROOT231"])
# Remove txt file ending and extract the attached file below
result_file = r"file.rst"
model = dpf.Model(result_file)

mesh = model.metadata.meshed_region

# The first node has nan coordinates
mesh.nodes.coordinates_field.data[0]

Which Operating System are you using?

Windows

Which DPF/Ansys version are you using?

Ansys 2023 R1

Which Python version are you using?

3.10

Installed packages

ansys-dpf-composites 0.1.dev0
ansys-dpf-core 0.7.2
ansys-dpf-gate 0.3.0
ansys-dpf-gatebin 0.3.0
ansys-grpc-dpf 0.7.0
anyio 3.6.2
appdirs 1.4.4
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
arrow 1.2.3
asttokens 2.2.1
attrs 22.2.0
backcall 0.2.0
beautifulsoup4 4.11.1
bleach 5.0.1
cachetools 5.2.1
certifi 2022.12.7
cffi 1.15.1
charset-normalizer 3.0.1
colorama 0.4.6
comm 0.1.2
contourpy 1.0.7
cycler 0.11.0
debugpy 1.6.5
decorator 5.1.1
defusedxml 0.7.1
entrypoints 0.4
executing 1.2.0
fastjsonschema 2.16.2
fonttools 4.38.0
fqdn 1.5.1
google-api-core 2.11.0
google-api-python-client 2.73.0
google-auth 2.16.0
google-auth-httplib2 0.1.0
googleapis-common-protos 1.58.0
grpcio 1.51.1
httplib2 0.21.0
idna 3.4
imageio 2.24.0
ipykernel 6.20.2
ipython 8.8.0
ipython-genutils 0.2.0
ipywidgets 8.0.4
isoduration 20.11.0
jedi 0.18.2
Jinja2 3.1.2
jsonpointer 2.3
jsonschema 4.17.3
jupyter 1.0.0
jupyter_client 7.4.9
jupyter-console 6.4.4
jupyter_core 5.1.3
jupyter-events 0.6.3
jupyter_server 2.1.0
jupyter_server_terminals 0.4.4
jupyterlab-pygments 0.2.2
jupyterlab-widgets 3.0.5
kiwisolver 1.4.4
MarkupSafe 2.1.2
matplotlib 3.6.3
matplotlib-inline 0.1.6
mistune 2.0.4
nbclassic 0.4.8
nbclient 0.7.2
nbconvert 7.2.8
nbformat 5.7.3
nest-asyncio 1.5.6
notebook 6.5.2
notebook_shim 0.2.2
numpy 1.23.5
packaging 23.0
pandocfilters 1.5.0
parso 0.8.3
pickleshare 0.7.5
Pillow 9.4.0
pip 22.2.1
platformdirs 2.6.2
prometheus-client 0.15.0
prompt-toolkit 3.0.36
protobuf 4.21.12
psutil 5.9.4
pure-eval 0.2.2
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.21
Pygments 2.14.0
pyparsing 3.0.9
pyrsistent 0.19.3
python-dateutil 2.8.2
python-json-logger 2.0.4
pyvista 0.36.1
pywin32 305
pywinpty 2.0.10
PyYAML 6.0
pyzmq 25.0.0
qtconsole 5.4.0
QtPy 2.3.0
requests 2.28.2
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rsa 4.9
scooby 0.7.0
Send2Trash 1.8.0
setuptools 63.2.0
six 1.16.0
sniffio 1.3.0
soupsieve 2.3.2.post1
stack-data 0.6.2
terminado 0.17.1
tinycss2 1.2.1
tornado 6.2
tqdm 4.64.1
traitlets 5.8.1
uri-template 1.2.0
uritemplate 4.1.1
urllib3 1.26.14
vtk 9.2.5
wcwidth 0.2.6
webcolors 1.12
webencodings 0.5.1
websocket-client 1.4.2
widgetsnbextension 4.0.5

@rlagha
Copy link
Contributor

rlagha commented Apr 18, 2023

@janvonrickenbach , please could you provide the result file again, it looks like the link above is not working.

@janvonrickenbach
Copy link
Contributor Author

@rlagha I uploaded the file again.

This was referenced Apr 20, 2023
@janvonrickenbach
Copy link
Contributor Author

Verified that the issue is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants