Re: [deal.II] Reading mesh from vtk file

2019-08-05 Thread Andreas Rupp
Dear Luca, Thank you very much for your quick reply. However, I have to admit that I do not fully understand it. The vtk is created using GridOut grid_writer; std::ofstream output_file("./DealOutput.vtk"); grid_writer.write_vtk(triangulationSelf, output_file); Thus, I assume that

Re: [deal.II] Reading mesh from vtk file

2019-08-05 Thread Luca Heltai
Dear Andreas, You are trying to read a vtk file that was generated by DataOut. Try to write the file with GridOut::write_vtk. DataOut produces files that are split cell wise (to allow for some flexibility in discontinuos fields. Luca > Il giorno 5 ago 2019, alle ore 03:05, Andreas Rupp

[deal.II] Reading mesh from vtk file

2019-08-05 Thread Andreas Rupp
Dear all, I am trying to read a grid from a vtk file created by Paraview. Unfortunately, this does not work. Moreover, reading a vtk file that has been created using deal.ii also does not work for me. It seems to me that deal.ii reads the file but does not connect the faces to form a mesh.