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

[OpenFOAM] paraFoam problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2009, 03:54
Default paraFoam problem
  #1
New Member
 
Xinyuan FAN
Join Date: Sep 2009
Location: Beijing
Posts: 13
Rep Power: 17
autumn1012 is on a distinguished road
Has anybody else met the following problem of paraFoam. Here is a picture to show the problem.



Data can't be showed correctly. Is there any method to fix this? Thanks.
Attached Images
File Type: jpg 图片1.jpg (21.7 KB, 326 views)
autumn1012 is offline   Reply With Quote

Old   October 6, 2009, 00:29
Default
  #2
Member
 
Jitao Liu
Join Date: Mar 2009
Location: Jinan , China
Posts: 64
Rep Power: 17
awacs is on a distinguished road
Hi Xinyuan,

I got the same problem with you. I am using OpenFOAM-1.6.x with ParaView 3.6.1. There are some unwanted spots when viewing results with paraFoam, just as you list above. Have you resolved it yet?

Best Regards,
Jitao
awacs is offline   Reply With Quote

Old   October 6, 2009, 03:29
Default
  #3
Member
 
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17
preibie is on a distinguished road
Hallo,

I had also very small spots on the surface of the volume.
Try this: on display --> style --> interpolation --> standard is Gouraud switch to flat

I hope it help's

Preibie
preibie is offline   Reply With Quote

Old   October 7, 2009, 23:59
Default
  #4
Member
 
Jitao Liu
Join Date: Mar 2009
Location: Jinan , China
Posts: 64
Rep Power: 17
awacs is on a distinguished road
Quote:
Originally Posted by preibie View Post
Hallo,

I had also very small spots on the surface of the volume.
Try this: on display --> style --> interpolation --> standard is Gouraud switch to flat

I hope it help's

Preibie
Hi Preibie,

Thanks for your reply. The spots are still there by switching Gouraud to flat.
The picture is ok when viewing in Z or -Z direction:
sendpix0.jpg

Once the view is not along the axis direction, the spots will appear:
sendpix2.jpg

Regards,
Jitao
awacs is offline   Reply With Quote

Old   October 8, 2009, 04:32
Default
  #5
Member
 
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17
preibie is on a distinguished road
Hallo,

do you check the numerical values of the cells? When there are OK it must be an interpolation mistake. Also it seems that your grid is very poor, isn't it?
preibie is offline   Reply With Quote

Old   October 12, 2009, 00:22
Default
  #6
New Member
 
Xinyuan FAN
Join Date: Sep 2009
Location: Beijing
Posts: 13
Rep Power: 17
autumn1012 is on a distinguished road
Hello, Preibie!

Thanks for your reply. I've checked that my numerical values have no problems. When I changing interpolation mode from Gouraud to flat, there is no change in picture of paraFoam. But when I using foamToVTK and paraview to see the results, there is no problems.

Awacs, try

foamToVTK
paraview

Then open the corresponding .vtk files to see if the spots are still there.
autumn1012 is offline   Reply With Quote

Old   October 12, 2009, 04:56
Exclamation
  #7
Member
 
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 17
preibie is on a distinguished road
Since I use paraview I have problems with the foamReader to open foam files directly. I changed my QT version (from 4.4 --> 4.3.5) all was fine. After the installation of the new version 1.6 I don't want to change Qt again (it was very complicated). Now I take the same way like you transform all in vtk!

I find some more problems with paraview and qt. On Windows you can't use the glyph filter! The error message said qt is wrong!!
preibie is offline   Reply With Quote

Old   October 12, 2009, 12:35
Default Possible solution
  #8
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,

Have you got the same geometry displayed twice in the 'pipeline browser', cause that seems to cause spots, because paraview is trying to show coinciding geometries and the spots are probably the surface of the other geometry.

So just make sure that only one instance of the geometry is being viewed at a time i.e. click the 'eye symbol' off beside one of the geometries in the pipeline browser in the top left of the GUI.

I have attached pictures of one of my cases, with more than one display on (spots) and just one display on (no_spots). See the way two 'eye symbols' are on in 'spots' and only one is on in 'no_spots'.


Hopefully this was the source of your problem,
if not maybe at least it might help someone else.

Philip


EDIT: I just realised that I use foamToVTK and then paraview, so maybe my comment doesn't help paraFoam users...
Attached Images
File Type: jpg spots.jpg (15.5 KB, 34 views)
File Type: jpg no_spots.jpg (13.5 KB, 34 views)
bigphil is offline   Reply With Quote

Old   October 15, 2009, 06:39
Default
  #9
Member
 
Jitao Liu
Join Date: Mar 2009
Location: Jinan , China
Posts: 64
Rep Power: 17
awacs is on a distinguished road
Quote:
Originally Posted by autumn1012 View Post
Awacs, try

foamToVTK
paraview

Then open the corresponding .vtk files to see if the spots are still there.
Hi Xinyuan,

Thanks for your reply. The result is ok now.

Best wishes,
Jitao
Attached Images
File Type: jpg vtk.jpg (32.4 KB, 17 views)
awacs is offline   Reply With Quote

Old   October 21, 2009, 03:23
Default
  #10
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Dear OF users,

I use OpenFOAM-1.6.x and paraview3.6.1.

I have problems when using paraFoam or foamToVtk and then paraview.

The 'Rescale to Data Range' button does not work !
Values remain fixed between 0 and 1, except for the velocity.

To modify the scale I have to play with the 2 buttons :
Edit Color Map and Rescale Range

Has somebody experienced the same problem ?

Regards,

Stephane.
openfoam_user is offline   Reply With Quote

Old   October 22, 2009, 11:46
Default
  #11
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Nobody has encountered this kind of problem ?

Stephane.
openfoam_user is offline   Reply With Quote

Old   October 22, 2009, 12:10
Default
  #12
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,

Sometimes if I find that paraview is showing the wrong values, it is because my values are wrong.

Are the values you are interested in actually varying more than 0 - 1, ie if you check the values in the time directories with emacs(or any text editor).

Philip
bigphil is offline   Reply With Quote

Old   October 22, 2009, 23:37
Default
  #13
New Member
 
Xinyuan FAN
Join Date: Sep 2009
Location: Beijing
Posts: 13
Rep Power: 17
autumn1012 is on a distinguished road
Hi, Stephane

I met this preoblem when I use paraFoam, but not in foamToVTK and then paraview.

Make sure that "Time" and "builtin" are chosen right, sometimes wrong operation causes these problems. Or as Philip said, check your data file with any editor.


Fan
autumn1012 is offline   Reply With Quote

Old   October 23, 2009, 02:58
Default
  #14
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Dear Philip,
dear Fan,

Only the velocities fields (x, y and z) works fine. Other fields, like p, nut, k, epsilon and omega do not work. The scale range remain fixed between 0 and 1.

I have to change it manually with the following 2 steps : Edit Color Map and rescale Range. But so I can not find min and max values !

I have also checked the results directories /1000 /2000 ... /5000. They are OK !

paraFoam or paraview with foamToVTK do not change anything !

I will try to run a tutorial with MRFSimpleFoam.

Regards,

Stephane
openfoam_user is offline   Reply With Quote

Old   October 23, 2009, 03:08
Default
  #15
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
I just computed the mixerVessel2D tutorial and I have the same problem.

Only the velocity field works well.

All other fields are fixed between 0 and 1

Need advices,

Stephane.
openfoam_user is offline   Reply With Quote

Old   October 23, 2009, 08:21
Default
  #16
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Stephane,

hmmnn... maybe there is just something wrong with your paraview, you could try download paraview again and reinstall it, from http://www.paraview.org/paraview/res.../software.html.
The binarys there seems to work fine for me (I use the linux, mac and windows versions). Then just use foamToVTK.

Philip
bigphil is offline   Reply With Quote

Old   November 17, 2009, 09:10
Default
  #17
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Hi,

my problem is still unsolved !

The autoscale works well only with the velocities values (X, Y and Z). For all other values (pressure, omega, k, ...) the scale remains blocked between 0 and 1.

Any advices ?

Stephane.
openfoam_user is offline   Reply With Quote

Old   November 17, 2009, 09:42
Default
  #18
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hello Stephane,

Wait, after almost a month, you haven't solved it yet? Have you tried using the Paraview binaries available online?
Try using this plugin instead of the original version, in case you've already tried.

Also, try checking the limits of the data, in the information tab in Paraview. Are you sure there aren't any infinite ou undefined values?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 19, 2009, 11:54
Default
  #19
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
openfoam_user is on a distinguished road
Hi,

I have discovered an interesting thing.

My problem disappears only if I use paraview version 3.4 : autoscale works fine.

When I use paraview version 3.6 the autoscale does not work proprely ! It remains blocked between 0 and 1.

Has someone already experienced this ?

I still want (and need) to solve this strange problem !

Regards,

Stephane.
openfoam_user is offline   Reply With Quote

Old   November 19, 2009, 12:34
Default
  #20
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi,

No, you aren't the only one... there is a similar report here.
But it was with version 3.5.0, and there is no reference on that thread, to it being fixed. It seems to be a problem with Paraview itself, and not the plugins. And to top it off, it is hard to replicate the problem! This bug report to the Paraview mail list starts here.

If you can post a small test case where you get the same problem, that would help a lot!
edit: just saw that you've already mentioned that the mixerVessel2D tutorial shows up the same bug.

Can you try building your Paraview version in another machine or virtual machine and another version of the OS you are using? There is also the slight possibility that the downloaded ThirdParty package was damaged!

Best Regards,
Bruno

Last edited by wyldckat; November 19, 2009 at 12:40. Reason: typo, and other ideas
wyldckat 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] Visualization problem on ParaFoam Rider ParaView 10 June 27, 2016 11:19
[blockMesh] Problem with arc edge, arc doesen't appear in ParaFoam A.A. OpenFOAM Meshing & Mesh Conversion 2 September 4, 2012 08:01
Problem with paraFoam Arenio OpenFOAM 0 April 12, 2011 06:41
Graphics problem in ParaFoam Tarak OpenFOAM 0 October 28, 2010 20:10
[blockMesh] Problem using paraFoam to view cavityGrade mesh file felik9 OpenFOAM Meshing & Mesh Conversion 1 September 27, 2009 16:31


All times are GMT -4. The time now is 08:20.