KratosMultiphysics / Kratos

Kratos Multiphysics (A.K.A Kratos) is a framework for building parallel multi-disciplinary simulation software. Modularity, extensibility and HPC are the main objectives. Kratos has BSD license and is written in C++ with extensive Python interface.
https://kratosmultiphysics.github.io/Kratos/
Other
1.01k stars 244 forks source link

Issue with vtk results in Paraview #8640

Open TommasoBarbiero opened 3 years ago

TommasoBarbiero commented 3 years ago

Description Error while loading Vtk result file of a 3D CFD model in Paraview error: Generic Warning: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\IO\Legacy\vtkDataReader.cxx, line 1506 Error reading ascii data. Possible mismatch of datasize with declaration.

ERROR: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\IO\Legacy\vtkDataReader.cxx, line 2025 vtkUnstructuredGridReader (000002DD3BA4D4B0): Unsupported data type:

Generic Warning: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\IO\Legacy\vtkDataReader.cxx, line 1506 Error reading ascii data. Possible mismatch of datasize with declaration.

Scope Analize vtk result with Paraview

To Reproduce Load vtk file in Paraview, visualize parameters on different time Steps

Expected behavior correct visualization with no error

Environment

paraview kratos error Paraview Kratos Error.txt

adityaghantasala commented 3 years ago

Hi this can happen when the simulation diverges.

TommasoBarbiero commented 3 years ago

@adityaghantasala @philbucher

the terminal gives this output: "VtkOutput: Modelpart "fluid_computational_model_part" has both elements and conditions. Giving precedence to elements and writing only elements!"

Could this be the problem?

error

adityaghantasala commented 3 years ago

No that is not a problem.

philbucher commented 3 years ago

Hi this can happen when the simulation diverges.

@adityaghantasala really? Paraview cannot visualize the results any more?

@TommasoBarbiero regarding the warning, Paraview cannot display overlapping entities (e.g. volume elements and sufaceBCs). Usually in Kratos we are interested in the elements hence we decided to prioritize them

adityaghantasala commented 3 years ago

@philbucher yes. I saw this sometimes before.

adityaghantasala commented 3 years ago

@TommasoBarbiero Could you solve this issue ?

adityaghantasala commented 3 years ago

Also I see you are using 5.9 - RC version of paraview , can you try using a stable release ?

philbucher commented 3 years ago

@TommasoBarbiero could you provide the file that gives the problem? I would like to take a look at it

TommasoBarbiero commented 3 years ago

@adityaghantasala I have tried now with a 5.9.0 stable ad the error is still there, how can i try so solve a possible divergence problem? I know it's difficult to help me not having the model.

meier GID

I've a great number of elements, around 2M, so each VTK file is quite heavy, @philbucher I will try to upload in wetransfer and to send it by email.

Let me know if there are more informations you need that could help to understand the problem.

Thank you anyway!

philbucher commented 3 years ago

I could open the file without issues in v5.8.1 (on linux though) could you please try with this version?

philbucher commented 3 years ago

btw you could also try with binary

TommasoBarbiero commented 3 years ago

It doesn't work with v5.8.1 on Windows neither but it does with the same version in Linux. Thank you!

philbucher commented 3 years ago

this is strange I will try myself in Win one of these days

have you tried with binary mode?

TommasoBarbiero commented 3 years ago

No, but I can try tomorrow to check if it works

philbucher commented 3 years ago

did you get to try it @TommasoBarbiero ?