Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] - ww export to vtk not matching co-ordinates #120

Open
py1sl opened this issue Feb 18, 2025 · 1 comment
Open

[BUG] - ww export to vtk not matching co-ordinates #120

py1sl opened this issue Feb 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@py1sl
Copy link

py1sl commented Feb 18, 2025

Describe the bug
when doing
ww.export_as_vtk("wwinp.vts") as part of a gvr workflow the resulting vts file with the ww data has the wrong geometry co-ordinates

a meshtally file produced with the following fmesh
fmesh214:p geom=XYZ origin= -200 -250 -200
imesh -75 75 200
iints 3 30 3
jmesh -25 25 300
jints 10 10 10
kmesh -100 50 100
kints 5 30 5
produced a vts file that when viewed in visit had min x = -400 min y=-500 and min z = -400
this means the vts cannot be plotted with an stl of the geometry for example.

To Reproduce
Steps to reproduce the behavior:
for example:

  1. create a ww object adn export to a vt file using ww.export_as_vtk("wwinp.vts")
  2. plot in paraview or visit

Expected behavior
A clear and concise description of what you expected to happen.
the xyz co-ordinates in the vts file should match the wwinp file and/or the meshtally file used to geenrate them.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Desktop (please complete the following information):

  • OS: linux via WSL

Additional context
Add any other context about the problem here.

@py1sl py1sl added the bug Something isn't working label Feb 18, 2025
@dodu94
Copy link
Member

dodu94 commented Feb 18, 2025

Hi, can you please tell us the the version that you are using? If it is the latest release, if would be helpful if you could provide the input that you are using or a minimal representation of it.

Thanks for coming back to us with this!

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

No branches or pull requests

2 participants