CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

why can't see phi in paraview?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   August 24, 2013, 01:58
Default why can't see phi in paraview?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
in paraview how is it possible to see phi field?
I have phi field in time folders but can't be seen in paraview and isn't in fields list,why it's so?can have it to see?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 24, 2013, 13:00
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Ehsan,

"phi" is a surface field, which is usually not available to be visible with the conventional readers.

There are at least 2 ways to see this field:
  1. Rely on foamToVTK to get you the "phi" field in VTK file format:
    Code:
    foamToVTK -surfaceFields -fields '(phi)'
    The files will be in the folder "VTK/surfaceFields" folder, so you'll have to open them manually in ParaView.
    • The other problem then arises, is that you have to the "Glyph" filter and choose the "Sphere" for the "Glyph" option. It's shown in attachment.
  2. Or you can build the latest "vtkPOFFReader" for ParaView, which is a more advanced version of the built-in reader in ParaView: http://openfoamwiki.net/index.php/Co...r_for_ParaView
    If I'm not mistaken, somewhere here in the forum is explained how this plug-in can be built into ParaView. Problem is that this requires building ParaView from source code.
Best regards,
Bruno
Attached Images
File Type: jpg Screenshot from 2013-08-24 17:51:05.jpg (46.5 KB, 44 views)
wyldckat is offline   Reply With Quote

Old   August 24, 2013, 16:52
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
Hi
I did the 1st way,its the result,how can improve its appearance?
Attached Images
File Type: jpg phi.jpg (17.4 KB, 40 views)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 24, 2013, 16:59
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
I've never needed it much, so I never needed to figure it out. But:
  • One detail is that you can turn off the "Mask Points" option.
  • Another detail is that you can change the scale mode to off, so that the sizes are all identical, therefore making it easier to see the smaller values.
  • And to colour by the field "phi".
Beyond this, you'll have to try out the options that the "Glyph" filter gives you.
immortality likes this.
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) chrisb2244 OpenFOAM Installation 2 August 21, 2013 13:24
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 03:32
Paraview not found fusij OpenFOAM Installation 2 January 1, 2011 21:44
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 19:40.