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

No point values for U in Paraview?

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

Like Tree1Likes
  • 1 Post By dancfd

Reply
 
LinkBack Thread Tools Display Modes
Old   March 26, 2014, 23:27
Default No point values for U in Paraview?
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 150
Rep Power: 7
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, 9 views)
File Type: jpg with_point.jpg (91.1 KB, 6 views)
dancfd is offline   Reply With Quote

Old   April 6, 2014, 14:05
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,172
Blog Entries: 32
Rep Power: 70
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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: 150
Rep Power: 7
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

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
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 11:25
Paraview: Cell data and Point Data? vitor OpenFOAM Paraview & paraFoam 3 December 23, 2010 00:09
strange node values @ solid/fluid interface - help JB FLUENT 2 November 1, 2008 13:04
Boundary point values dmoroian OpenFOAM Running, Solving & CFD 3 February 12, 2007 13:48
output point values in CFX4 Dougal McQueen CFX 1 February 13, 2004 23:55


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