|
[Sponsors] |
FoamToVTK surfaceFields generates invalid files for 2D case |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 2, 2008, 03:57 |
Description:
When I try to r
|
#1 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
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 |
|
September 2, 2008, 04:43 |
Thanks - I put it in.
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Thanks - I put it in.
|
|
September 2, 2008, 09:12 |
Hi Mattijs,
happened to pul
|
#3 |
Member
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17 |
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 |
|
September 2, 2008, 10:04 |
Thanks. Should be ok now.
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Thanks. Should be ok now.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help on case and solution files download | John Yang | FLUENT | 1 | December 4, 2007 12:20 |
Different case files activate ALE Eq. | kevin | FLUENT | 0 | November 2, 2006 14:39 |
Where case files are written | ereiss | FLUENT | 3 | July 9, 2004 03:24 |
Pb with writing the Case and Dat files | Sam | FLUENT | 2 | May 14, 2004 12:16 |
Are Case and Data files enough? | Zhengcai Ye | FLUENT | 6 | January 8, 2004 05:02 |