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

[OpenFOAM] No point values for U in Paraview?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By dancfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2014, 22:27
Default No point values for U in Paraview?
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 16
dancfd is on a distinguished road
Hello foamers,

I am trying to plot streaklines in ParaFoam, and I am running into problems each of two ways:
- Using paraFoam in OF 2.1.1 (paraView 3.12), Streaklines is not available as an option
- Using paraView 3.98RC which I compiled from source (to allow python functions), Streaklines will not plot U because it is not available as a point value - though it is available as a cell value.

Strangely, U does appear as a point value if I run paraFoam, vs opening paraView 3.98 and then loading the case by first running "touch case.foam" in the case directory. Please see attached screenshots that illustrate the difference.

Can anyone suggest how I might get around these issues to plot streaklines?

Thanks in advance,

Daniel
Attached Images
File Type: jpg no_point.jpg (87.7 KB, 27 views)
File Type: jpg with_point.jpg (91.1 KB, 17 views)
dancfd is offline   Reply With Quote

Old   April 6, 2014, 14:05
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Greetings Daniel,

That's very very strange... namely that the U field is not being interpolated to the points. It's possible that this is a bug in 3.98 RC3 that was fixed in the final release.
To go around this issue, try:
  • Using the command foamToVTK to export the results into VTK file format.
  • Or try using the filter "Cell Data to Point Data". But be warned, that you should at least load all patches and internal mesh, before using this filter. And still, it's not certain that it will interpolate properly the values on the walls

And the filter "Streaklines" was indeed introduced in ParaView 3.98.

My advice: install OpenFOAM 2.3.0 from Deb packages, along with the provided custom build of ParaView 4.1.0, which already includes Python. You can then use a separate terminal window with a shell environment for 2.3.0. In case you don't know how to use more than one OpenFOAM installation, check this wiki page: http://openfoamwiki.net/index.php/In...with_the_Shell

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 6, 2014, 17:15
Default
  #3
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 16
dancfd is on a distinguished road
Hello Bruno,

Thanks for your help! I built OpenFOAM 2.3.0 from source, enabling the flags for python in the ParaView installation, and now I can have my cake and eat it too with ParaView 4.1.

Thanks again!

Daniel
wyldckat likes this.
dancfd 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] Time-averaged point data from Paraview vidyadhar ParaView 1 June 25, 2017 13:58
[OpenFOAM] Plot all max field values of each time step into paraview lfgmarc ParaView 1 September 19, 2015 08:33
[OpenFOAM] Paraview: Cell data and Point Data? vitor ParaView 4 May 15, 2015 17:56
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 11:25
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


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