Description:
When I try to r
Description:
When I try to read surfaceFields_*.vtk files generated by foamToVTK -surfaceFields for 2D cases by ParaView it always fails with Generic Warning: In /Volumes/RAID0data/paraview/ParaView3/VTK/IO/vtkDataReader.cxx, line 1363 Error reading binary data! . Solver/Application: foamToVTK Source file: writeSurfFields.C Testcase: icoFoam/cavity or whatever Version: 1.5 Notes: Changing line 103 of writeSurfFields.C from if (isA<emptyfvpatchvectorfield>(pf)) to if (isA<emptyfvspatchvectorfield>(pf)) fixed the problem. Regards, Takuya |
Thanks - I put it in.
Thanks - I put it in.
|
Hi Mattijs,
happened to pul
Hi Mattijs,
happened to pull the latest git just now, and foamToVTK does not compile. The change on line 103 in writeSurfaceFields.C if (isA<emptyfvspatchvectorfield>(pf)) probably requires #include "emptyFvsPatchFields.H" best regards Niklas |
Thanks. Should be ok now.
Thanks. Should be ok now.
|
All times are GMT -4. The time now is 12:56. |