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   February 1, 2009, 07:53
Default That essentially means you're
  #121
Member
 
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17
mwild is on a distinguished road
That essentially means you're settings stored in ~/.config/ParaView are corrupt or just "strange". Is it possible to send your ~/.config/ParaView packed up to the Kitware people so they can investigate the problem? Because unless they can get hold of such "corrupt" settings, they won't be able to reproduce the problem easily. And not being able to reproduce a problem makes it virtually impossible to solve any non-trivial problem.
mwild is offline   Reply With Quote

Old   February 1, 2009, 16:03
Default Gentlemen: I am running par
  #122
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Gentlemen:

I am running paraview 3.3.0 on OpenSuse 11.0 w/o any problems to date.
Now when I try to save a screen shot of a wire frame of the tank in
the 2dtank sloshing problem, ParaView crashes and issues numerous
errors. I am including a snippet of it below:

X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0ec68
libxcb: WARNING! Program tries to lock an already locked connection,
which indicates a programming error.
There will be no further warnings about this issue.
libxcb: WARNING! Program tries to unlock a connection without having
acquired
a lock first, which indicates a programming error.
There will be no further warnings about this issue.
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x2e0001b
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)

Any thoughts, suggestions and prayers will be gratefully accepted. I noted some people talking about paraview 3.5.0. Would this take care of the problem? If yes, where can I download it from and is it compatible witb OpenFoam 1.5?

Musaddeque Hossein
musahossein is offline   Reply With Quote

Old   February 3, 2009, 15:04
Default There is paraview 3.4.0 availa
  #123
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
There is paraview 3.4.0 available for download at the paraview site. Can anyone tell me whether it is compatible with OpenFoam 1.5?

Thanks
Musaddeque Hossein
musahossein is offline   Reply With Quote

Old   February 3, 2009, 20:45
Default Hi Musaddeque Hossein, Do n
  #124
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
Hi Musaddeque Hossein,

Do not have a solution for your problem, but one of the followings might work:
1. search the forum with libxcb
2. refer to this thread
3. there has been instructions in this forum for installing and using ParaView 3.4.0
4. ParaView 3.5.0 is a development version available via CVS. You can see how to get it at the download page of the ParaView site.

Takuya
7islands is offline   Reply With Quote

Old   February 22, 2009, 22:37
Default Hi Takuya, just a quick que
  #125
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
Hi Takuya,

just a quick question / is the native reader compatible with Bernhar's new super groovyBC lib ?

Best regards,

PO
podallaire is offline   Reply With Quote

Old   February 23, 2009, 06:30
Default Hi Pierre-Olivier, If you m
  #126
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
Hi Pierre-Olivier,

If you mean that you get an error with the wobbler case
ERROR: In /Volumes/RAID0data/paraview/ParaView3/VTK/IO/vtkOpenFOAMReader.cxx, line 6290
vtkOpenFOAMReaderPrivate (0x20a93ec0): Error reading line 23 of /Users/ohshima/OpenFOAM/ohshima-1.5.x/src/groovyBC/Demos/wobbler/0/D: Unexpected token name

, can you try replacing ParaView3/VTK/IO/vtkOpenFOAMReader.cxx with the one that can be checked out with
svn co https://of-interfaces.svn.sourceforge.net/svnroot/of-interfaces/branches/vtkPOpe nFOAMReader-r23-VTKcontrib/BSD
and recompile ParaView. If you have other problems, please let me know the details.

p.s. Please also note that the reader only sees value entries for BCs.

Takuya
7islands is offline   Reply With Quote

Old   February 24, 2009, 09:13
Default Hi! I guess the problem is
  #127
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi!

I guess the problem is that the boundary condition introduces a sub-dictionary (which is not very common, but legal) and the parser of the native reader doesn't account for that. But I guess Takuya has already figured that out

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   February 24, 2009, 09:22
Default Yes, that's precisely what I'v
  #128
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
Yes, that's precisely what I've corrected with the revision in the SVN repository.

T
7islands is offline   Reply With Quote

Old   February 24, 2009, 09:31
Default Thanks guys ! What would be
  #129
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
Thanks guys !

What would be the best way to verify the BCs created from groovyBC with ParaView and the native reader ?

Thanks

PO
podallaire is offline   Reply With Quote

Old   February 24, 2009, 09:48
Default Hi PO, In other words: the re
  #130
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
Hi PO,
In other words: the reader does recognize value entries. As far as I understand groovyBC writes the value entries for calculated timesteps (timesteps other than the initial timestep), hence you can verify the boundary values as usual for such timesteps.

For the initial timestep, I haven't tried by myself, but e.g. running foamFormatConvert (so that the calculated values are written in the value entries) may be a workaround.

Takuya
7islands is offline   Reply With Quote

Old   March 2, 2009, 05:43
Default Hi Takuya, When running the
  #131
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Hi Takuya,

When running the current stable reader with OF1.5 (paraview 3.3-dev) i get the following error reported by Stefan Gerber some time ago.

Expected punctuation token ')', found ;

This only happens for decomposed but not for reconstructed cases.

Regards BastiL
bastil is offline   Reply With Quote

Old   March 2, 2009, 06:18
Default Hi BastiL, I appreciate if yo
  #132
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
Hi BastiL,
I appreciate if you send the problematic file to me (the address in my profile). You don't have to send all of your case, but just the problematic file should be fine.

Takuya
7islands is offline   Reply With Quote

Old   March 2, 2009, 06:50
Default Takuya, case is large - jus
  #133
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Takuya,

case is large - just the problematic data-file? I have these problems for all the scalar values (eg. p, k, epsilon...) on each processor? directory.

Regards
bastil is offline   Reply With Quote

Old   March 2, 2009, 09:01
Default So I think I can do with just
  #134
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
So I think I can do with just one of those files. If even each one is too large to be sent, and if it's in ascii format, you can cut the file at few lines below the problematic line (you should be seeing the problematic line number in the error message) and send the part until there. Anyway, there's nothing I can do if I cannot have a reproducing data.

T
7islands is offline   Reply With Quote

Old   March 2, 2009, 09:52
Default Ok, so I got e.g.: Error r
  #135
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Ok, so I got e.g.:

Error reading line 365 of /path/to/parallel/processor1/0/R: Expected punctuation token '(', found ;

## SNIP ## LINE 360 to line 368
360 inlet
361 {
362 type fixedValue;
363 value uniform (0 0 0 0 0 0);
364 }
365 outlet
366 {
367 type zeroGradient;
368 }

Hope this helps. Regards
bastil is offline   Reply With Quote

Old   March 2, 2009, 09:56
Default Sorry, wrong file. It looks li
  #136
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Sorry, wrong file. It looks like this... (Not very nice but OF1.5.x decomposes it that way)

360 inlet
361 {
362 type fixedValue;
363 value nonuniform
364 0
365 ;
366 }
bastil is offline   Reply With Quote

Old   March 2, 2009, 10:08
Default Ah OK I think I can fix the "E
  #137
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 OK I think I can fix the "Expected punctuation token '(', found ;" error.

Can you identify the suspicious part of the other error "Expected punctuation token ')', found ;" in your 02:43 post? (which expects a closing parenthesis, as opposed to an opening parenthesis)

T
7islands is offline   Reply With Quote

Old   March 3, 2009, 00:38
Default BastiL, Fixed the "Expected '
  #138
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,
Fixed the "Expected '('" problem, assuming the files are in binary format. Can you try replacing ParaView-(version)/VTK/IO/vtkOpenFOAMReader.cxx with the one that can be checked out with
svn co https://of-interfaces.svn.sourceforge.net/svnroot/of-interfaces/branches/vtkPOpe nFOAMReader-r23-VTKcontrib/BSD
and recompiling ParaView. Please let me know if there are still problems.

Takuya
7islands is offline   Reply With Quote

Old   March 3, 2009, 04:37
Default Takuya, I will try. Files a
  #139
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Takuya,

I will try. Files are Binary, this is all right. The other problem ("Expected punctuation token ')', found ;") can not be reproduced at the moment. I will try the cvs-reader and see wht happens.

Regards BastiL
bastil is offline   Reply With Quote

Old   March 3, 2009, 05:10
Default I can not get pvFoam to run wi
  #140
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
I can not get pvFoam to run with the new version:

ERROR: In /opt/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkProcessModule.cxx, line 1010
vtkProcessModule (0x61cad0): 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 {336}
Argument 1 = string_value {SetTimeStep}
Argument 2 = int32_value {0}



ERROR: In /opt/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkProcessModule.cxx, line 1011
vtkProcessModule (0x61cad0): Aborting execution for debugging purposes.


/opt/OpenFOAM/OpenFOAM-1.5.x/bin/pvFoam: line 76: 6833 Aborted "${paraviewPath}" --data="${PWD}/system/controlDict.${ext}"

Maybe it is not sufficiant to change only thsifile but using all the other files from the current stable version?

Regards
bastil 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:20.