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

[OpenFOAM] why can't see phi in paraview?

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

Like Tree6Likes
  • 4 Post By wyldckat
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread 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,208
Rep Power: 26
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 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, 387 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,208
Rep Power: 26
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, 361 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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
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 and openfoam_aero like this.
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


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 05:48
[OpenFOAM] Display SurfaceScalarField phi for faceZone in ParaView Kojote ParaView 0 August 26, 2014 05:04
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
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


All times are GMT -4. The time now is 03:55.