CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

on-the-fly post-processing?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 10, 2010, 04:56
Default on-the-fly post-processing?
  #1
New Member
 
Aljaz Osterman
Join Date: Dec 2010
Posts: 8
Rep Power: 6
aljaz is on a distinguished road
Hi!

I'm trying to figure out how to visualize the results from OpenFoam while the simulation is still running. I'm using OF 1.7.1 and ParaView 3.8. Perhaps post-processing is not the best term here as what I'd like to see is actually something done simultaneously.
I'd like to see the results for example as contour plots or vector fields or as a plot of a single variable (depends on a case).
I read in OpenFOAM release notes for version 1.7.0 that "Post-processing has been extended particularly to function objects, the on-the-fly post-processing system."
I'd be very glad if somebody can point in which direction I should take a look.

Btw, I've come across a term "in-situ visualization". As I understood, the point is to dump redundant data and keep only visualization results. Am I correct about this or it's the same thing as on-the-fly visualization?

Best regards!
aljaz is offline   Reply With Quote

Old   December 11, 2010, 03:30
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by aljaz View Post
Hi!

I'm trying to figure out how to visualize the results from OpenFoam while the simulation is still running. I'm using OF 1.7.1 and ParaView 3.8. Perhaps post-processing is not the best term here as what I'd like to see is actually something done simultaneously.
I'd like to see the results for example as contour plots or vector fields or as a plot of a single variable (depends on a case).
Open the case in paraFoam. When data are stored, you will be able to load them using the "refresh times" button.

Quote:
I read in OpenFOAM release notes for version 1.7.0 that "Post-processing has been extended particularly to function objects, the on-the-fly post-processing system."
I'd be very glad if somebody can point in which direction I should take a look.
Function objects compute averages, forces, sample data and store them as separate files. You can see various examples in the tutorials.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   December 13, 2010, 02:37
Default
  #3
New Member
 
Aljaz Osterman
Join Date: Dec 2010
Posts: 8
Rep Power: 6
aljaz is on a distinguished road
Thank you Alberto. I'm well aware of these options.
If I make myself clearer, is there a way to visualize data "directly" without saving them first?
Regards!
aljaz is offline   Reply With Quote

Old   December 13, 2010, 04:10
Default
  #4
Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 92
Rep Power: 8
matejfor is on a distinguished road
Well it depends what data you want to visualize.
The only way to visualize the data without saving is to pipe them into the visualization software. I have not done it myself but I would make a version of write to writeOnFly which would send the data to gnuplot, or parafoam maybe through some python interface so you have only window with the results. This would slow down the calculation with the visualization step. Maybe faster would be to write down the data, show them and remove.

But there must be someone more clever in these things than me, I hope.

good luck

matej
matejfor is offline   Reply With Quote

Old   December 13, 2010, 15:18
Default
  #5
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Hi,

the co-processing feature of paraview is the right approach I assume:

http://www.paraview.org/Wiki/CoProcessing

http://www.kitware.com/blog/home/post/28

With visit it should be possible as well:

http://visitusers.org/index.php?titl...torial-in-situ
http://visitusers.org/index.php?titl...anual_Examples
https://wci.llnl.gov/codes/visit/2.0...VisIt2.0.0.pdf

Best Regards!
Fabian
braennstroem is offline   Reply With Quote

Old   December 14, 2010, 07:49
Default
  #6
New Member
 
Aljaz Osterman
Join Date: Dec 2010
Posts: 8
Rep Power: 6
aljaz is on a distinguished road
Thanks!
At a first glance, I think this is what I've been looking for.
With best regards!
aljaz is offline   Reply With Quote

Old   April 24, 2014, 05:05
Default
  #7
New Member
 
Join Date: Aug 2012
Posts: 16
Rep Power: 5
gigilentini8 is on a distinguished road
anyone succeeded in using OF with co-processing?
I think it's a interesting topic with great potential...
gigilentini8 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
post processing for KIVA dirga Main CFD Forum 5 April 23, 2009 10:58
Question about post processing qtian OpenFOAM Post-Processing 0 July 24, 2007 12:44
Tecplot for CFX post processing pantangi goud CFX 2 August 24, 2005 16:42
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 11:59
post processing in CFD MANISH BHARGAVA Main CFD Forum 0 October 17, 1998 20:51


All times are GMT -4. The time now is 11:52.