|
[Sponsors] |
May 17, 2008, 12:25 |
Paraview 330dev
|
#1 |
Senior Member
|
Hi everyone,
I'm using the latest snapshot of Paraview 3.3.0 on OSX 10.5.2 with the pyFoam script from Takuya. Paraview launches from the command line (pyFoam . case) and successfully grabs system/controlDict, reads time-level 0 data, and allows visualization of time-level 0 data. However, I can't get paraview to read any of the timesteps beyond 0. Is this an issue with the built-in OpenFOAM reader, with 3.3.0, or with me (most likely!)? Eric |
|
May 17, 2008, 20:46 |
Hi Eric,
The reader tries to
|
#2 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Eric,
The reader tries to list time directories according to the description in controlDict whenever possible (an inherited feature from Terry's original code which I found sometimes useful). However it may be causing the problem in your case. Could you comment out (add // to) lines 3651-3663 of vtkOpenFOAMReader.cxx except line 3662 as follows<pre> 3651 // if(((adjustTimeStep == "off" || adjustTimeStep == "no" 3652 // || adjustTimeStep == "n" || adjustTimeStep == "false" 3653 // || adjustTimeStep == "") && writeControl == "timeStep") 3654 // || ((adjustTimeStep == "on" || adjustTimeStep == "yes" 3655 // || adjustTimeStep == "y" || adjustTimeStep == "true") 3656 // && writeControl == "adjustableRunTime")) 3657 // { 3658 // return this->ListTimeDirectoriesByControlDict(&dict); 3659 // } 3660 // else 3661 // { 3662 return this->ListTimeDirectoriesByInstances(&dict); 3663 // }</pre>, recompile (go to [your build directory]/VTK/IO and run make) and see if it works? Takuya |
|
May 17, 2008, 20:52 |
Hello Takuya,
A Good day to
|
#3 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello Takuya,
A Good day to you... and long time no see :-)! I was thinking of the same thing... I am quite sure the issue lies within that snippet of code... Maybe we should consider shifting to time step extraction via instances, but keep the controlDict extraction method as an option which can be enabled or disabled from the reader GUI within ParaView as discussed hmmmm.... couple of months ago :-)! What say ? Philippose |
|
May 17, 2008, 21:16 |
Hi Philippose,
You are probab
|
#4 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Philippose,
You are probably right, I'm inclined to make the feature optional in the next release (if any). Takuya p.s. Do you still see the cell-to-point filter problem? I'm always interested in fixing it (if it's confirmed to be a problem). |
|
May 21, 2008, 04:14 |
I would favour dropping the co
|
#5 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
I would favour dropping the controlDict parsing entirely since it can incorrectly ignore existing solutions. For example, when a steady-state solver uses the Time::writeAndEnd() method after reaching convergence.
|
|
May 21, 2008, 16:16 |
Hi Takuya,
I have not trie
|
#7 |
Senior Member
|
Hi Takuya,
I have not tried to compile version 3.3.0. I am using the binary downloaded from paraview.org. I'll try to download the 3.3.0 source and compile the code with your recommended changes to lines 3651-3663. Eric |
|
May 21, 2008, 22:12 |
Hi Eric,
Now I got it: the re
|
#8 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Eric,
Now I got it: the reader enabled in version 3.3 by default is Terry's code, which doesn't support VCR Play/Stop/etc. buttons. You could also try (warning: advertising own stuff) the reader posted to another thread on 26/Mar/2008 [1]. [1] http://www.cfd-online.com/cgi-bin/Op...1231#POST21231 Takuya |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Two different versions of ParaView with same OpenFOAM release | FJSJ | OpenFOAM Installation | 2 | July 23, 2017 06:48 |
[OpenFOAM] Paraview client/server does not work with ParaView 5.0.1 | snak | ParaView | 0 | October 17, 2016 11:22 |
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) | chrisb2244 | OpenFOAM Installation | 2 | August 21, 2013 14:24 |
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? | lentschi | OpenFOAM Installation | 1 | March 9, 2011 03:32 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |