Hi all
I am having an issue when opening a .vtk file containing some thermal data from a simulator tool I built. The output .vtk file is generated from a library function (dolfinx.io VTKFile) and when opening it in Notepad++ it seems that it is written in XML format. When attempting to open this .vtk file in ParaView, it prompts me to select a Reader. Each reader I select leads to ParaView crashing when clicking on the “Apply” button.
Any help? I have included all relevant files here.
I’m building an IC Transient thermal analysis tool. Essentially, the tool reads in the geometry of an IC layout and where the resistors are (only looking at 2D for now) and then calculates the heat dissipation from those resistors using FEM. So the output file should contain the temperatures at every point on the mesh for different time steps. As an example of very basic output, I have attached a screenshot from an example file (aka not a file currently created through my tool).
What I am unsure about is why ParaView crashes when opening a .vtk file.
From what I gather (the following is a ChatGPT response):
The .pvtu file** serves as a wrapper that collects the data from multiple .vtu files. It allows ParaView to reconstruct the full simulation result from data written by different processors.
The .vtu files store the data for individual partitions of the mesh (in parallel processing). Each .vtu file contains data such as mesh coordinates, temperature values, and other fields for a subset of the computational domain.
I managed to switch it to output in legacy .vtk format which works much better. It now stores the output temperature in a format that matches the example one shown earlier. Assuming ParaView crashes because of the .vtk file being in XML syntax not being supported?