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

Paraview cannot open ASTE output .vtu files #189

Open
MakisH opened this issue Jul 3, 2024 · 3 comments
Open

Paraview cannot open ASTE output .vtu files #189

MakisH opened this issue Jul 3, 2024 · 3 comments
Labels
good first issue Starter projects for newcomer

Comments

@MakisH
Copy link
Member

MakisH commented Jul 3, 2024

I switched the preCICE exports from .vtk to .vtu and I used precice-aste-run to compute the mapping, outputting to a third Propagator-Mesh-out.vtu file. If I try to open this Propagator-Mesh-out.vtu in ParaView, ParaView crashes (5.12 crashes, 5.11.2 tells me it does not have a reader).

The preCICE exports (also vtu) work normally on ParaView.

  • preCICE 3.1.2
  • ASTE from develop (bdc3fbb)
  • Python 3.10.12
  • VTK 7.1 installed from APT
  • Ubuntu 22.04

One difference is that the file is binary:
mesh.tar.gz

@MakisH
Copy link
Member Author

MakisH commented Jul 3, 2024

Renaming the file to .vtk seems to work. Not sure if this is a ParaView issue, or if the files ASTE writes (via its VTK dependency) are broken.

Note that the .vtu files that preCICE exports are ASCII, while the .vtu files that ASTE writes are binary.

@davidscn
Copy link
Member

davidscn commented Jul 3, 2024

Do you use a run script? Could you please provide the commands to use? The 'issue' here is that paraView selects a default reader according to the file prefix, which is wrong in our case.

@MakisH
Copy link
Member Author

MakisH commented Jul 3, 2024

Do you use a run script? Could you please provide the commands to use? The 'issue' here is that paraView selects a default reader according to the file prefix, which is wrong in our case.

I am just executing the steps of the training course. Task 3 of the MAP module:

    precice-aste-run -p B --mesh Propagator-Mesh --data "Color" -c ../precice-config.xml \
    --output Propagator-Mesh-out

@davidscn davidscn added the good first issue Starter projects for newcomer label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Starter projects for newcomer
Projects
None yet
Development

No branches or pull requests

2 participants