CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Native ParaView Reader Bugs

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2009, 05:26
Default Can you make sure the plugins
  #141
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Can you make sure the plugins are loaded? (Check if libPOpenFOAMPanel.so and libPOpenFOAMReaderSMPlugin.so are listed in Tools->Manage Plugin/Extensions...->Local Plugins)

Takuya
7islands is offline   Reply With Quote

Old   March 3, 2009, 06:08
Default Takuya, if I run paraview f
  #142
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Takuya,

if I run paraview from my OpenFOAM shell they are listed. However if I run pvFoam I get the error listed above.

Regards.
bastil is offline   Reply With Quote

Old   March 3, 2009, 06:44
Default Takuya, after rebuilding Pa
  #143
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Takuya,

after rebuilding Paraview I had to rebuild the parallel reader and re-copy the libs. Those were stored in my Paraview Plugin-Directory. Now pvFoam works, but I still get the same errors...'('

Regards
bastil is offline   Reply With Quote

Old   March 3, 2009, 07:08
Default This is the same error that I'
  #144
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
This is the same error that I've been struggling to solve on OSX. However, when the parallel plugins are loaded (libPOpenFOAMPanel.dylib and libPopenFOAMReaderSMPlugin.dylib), I get a segmentation fault. If I remove these, I get the same error as BastiL,

pvFoam
ERROR: In /Users/egp/softwareProjects/ParaView-3.5/Servers/Common/vtkProcessModule.cxx, line 1046
vtkProcessModule (0x645dfb0): Object type: vtkOpenFOAMReader, could not find requested method: "SetTimeStep"
or the method was called with incorrect arguments.

while processing
Message 0 = Invoke
Argument 0 = id_value {78}
Argument 1 = string_value {SetTimeStep}
Argument 2 = int32_value {0}



ERROR: In /Users/egp/softwareProjects/ParaView-3.5/Servers/Common/vtkProcessModule.cxx, line 1047
vtkProcessModule (0x645dfb0): Aborting execution for debugging purposes.
egp is offline   Reply With Quote

Old   March 3, 2009, 07:11
Default This is the same error that I'
  #145
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 197
Blog Entries: 1
Rep Power: 18
egp is on a distinguished road
This is the same error that I've been struggling to solve on OSX. However, when the parallel plugins are loaded (libPOpenFOAMPanel.dylib and libPopenFOAMReaderSMPlugin.dylib), I get a segmentation fault. If I remove these, I get the same error as BastiL,

pvFoam
ERROR: In /Users/egp/softwareProjects/ParaView-3.5/Servers/Common/vtkProcessModule.cxx, line 1046
vtkProcessModule (0x645dfb0): Object type: vtkOpenFOAMReader, could not find requested method: "SetTimeStep"
or the method was called with incorrect arguments.

while processing
Message 0 = Invoke
Argument 0 = id_value {78}
Argument 1 = string_value {SetTimeStep}
Argument 2 = int32_value {0}



ERROR: In /Users/egp/softwareProjects/ParaView-3.5/Servers/Common/vtkProcessModule.cxx, line 1047
vtkProcessModule (0x645dfb0): Aborting execution for debugging purposes.
egp is offline   Reply With Quote

Old   March 3, 2009, 07:20
Default BastiL, Can you run the interF
  #146
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
BastiL, Can you run the interFoam/damBreakFine case with writeFormat changed to binary and try loading it? As my parallel cases in handy are all in ascii, I used it as a reproducing and test case.

If that works, this time I indeed need one of your problematic files. If not, it's likely that you messed up something and in fact are using the old version of the reader.

Takuya
7islands is offline   Reply With Quote

Old   March 3, 2009, 07:28
Default Eric, did you try fixupBundle.
  #147
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Eric, did you try fixupBundle.cmake?

T
7islands is offline   Reply With Quote

Old   March 3, 2009, 08:35
Default Eric, this is because not l
  #148
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Eric,

this is because not loaded libs. For me it works afer I loaded them. Now I am struggling while reading decomposed cases.

Regards
bastil is offline   Reply With Quote

Old   March 3, 2009, 10:50
Default Eric, this is because not l
  #149
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Eric,

this is because not loaded libs. For me it works afer I loaded them. Now I am struggling while reading decomposed cases.

Regards
bastil is offline   Reply With Quote

Old   March 4, 2009, 06:04
Default Takuya, I only have one dam
  #150
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Takuya,

I only have one damBreak case in /tutorials/interfoam, where is the case?

Regards BastiL
bastil is offline   Reply With Quote

Old   March 4, 2009, 07:35
Default Ah, you have to run ./Allrun o
  #151
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Ah, you have to run ./Allrun once under tutorials/interFoam. Then the damBreakFine case will appear.

T
7islands is offline   Reply With Quote

Old   March 4, 2009, 09:16
Default Ok thanks for you great help T
  #152
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Ok thanks for you great help Takuya,

I can laod the tutorial after running in parallel but I get the errors when switchin from time=0 to time=0.4, Is this the same for you? If it runs for you at time=0.4 I have to check my installation.

Regards
bastil is offline   Reply With Quote

Old   March 4, 2009, 10:51
Default BastiL, I believe I ran throu
  #153
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
BastiL,
I believe I ran through/stepped/switched/whatever from t = 0 to 0.4 many times and made sure the reader did not issue an error, but I'll re-check tomorrow when I'm back in my office.

T
7islands is offline   Reply With Quote

Old   March 4, 2009, 11:19
Default Thanks once more Takuya, I
  #154
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Thanks once more Takuya,

I will check my installation. What might have gone wrong while updating?

Regards
bastil is offline   Reply With Quote

Old   March 4, 2009, 11:37
Default Too many possible causes. Putt
  #155
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Too many possible causes. Putting the issue asaide a day or two and trying cooling down may be an idea :-)

T
7islands is offline   Reply With Quote

Old   March 5, 2009, 00:42
Default BastiL, I re-checked and did n
  #156
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
BastiL, I re-checked and did not get an error switching from t=0 to 0.4. What is strange is that you get the errors only when t = 0.4, whereas you should get them in every timestep if your installation is really old. Honestly, I am running out of suggestions.

T
7islands is offline   Reply With Quote

Old   March 5, 2009, 03:43
Default Thanks Takuya once more, I
  #157
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Thanks Takuya once more,

I will do a re-installation of the reader and check once more. I will get bakc to you.

Regards.
bastil is offline   Reply With Quote

Old   March 6, 2009, 08:08
Default Takuya, after re-installati
  #158
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Takuya,

after re-installation of the svn-Version I still get the same error for my data.
The same still happens for damBreakfine. I can open this but I get errors switching to time 0.4.
Does it matter I use OF1.5.x? I will try with 1.5

Regards
bastil is offline   Reply With Quote

Old   March 6, 2009, 08:19
Default Ok, so same for 1.5. I get the
  #159
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Ok, so same for 1.5. I get the error as soon as I switch output to "binary", ASCII works fine. May it be a Problem related to "endianess"? I use linux so should be little endian for me.

Regards.
bastil is offline   Reply With Quote

Old   March 6, 2009, 09:02
Default The reader simply treats endia
  #160
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
The reader simply treats endianness as is. Do you happen to be using single precision binary, by any chance? That's the only possibility that occurs to me.
7islands is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Extract Block with paraview native reader kandelabr ParaView 4 August 30, 2021 03:28
[OpenFOAM] Decomposed multiregion cases in Paraview with native reader Yann ParaView 2 January 16, 2019 06:48
Updated native OpenFOAM reader for ParaView 5.3 opencfd OpenFOAM Announcements from ESI-OpenCFD 4 July 13, 2017 11:14
[OpenFOAM] Native VisIt Reader Bugs tj22 ParaView 8 November 8, 2013 05:21
[OpenFOAM] Paraview Windows VTK Reader trex930 ParaView 0 November 3, 2010 20:31


All times are GMT -4. The time now is 16:28.