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

on-the-fly post-processing?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2010, 03:56
Default on-the-fly post-processing?
  #1
New Member
 
Aljaz Osterman
Join Date: Dec 2010
Posts: 8
Rep Power: 15
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, 02:30
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
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 in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   December 13, 2010, 01:37
Default
  #3
New Member
 
Aljaz Osterman
Join Date: Dec 2010
Posts: 8
Rep Power: 15
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, 03:10
Default
  #4
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
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, 14:18
Default
  #5
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
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, 06:49
Default
  #6
New Member
 
Aljaz Osterman
Join Date: Dec 2010
Posts: 8
Rep Power: 15
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
Member
 
Join Date: Aug 2012
Posts: 33
Rep Power: 13
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

Old   July 13, 2016, 22:03
Default
  #8
New Member
 
Srinivas
Join Date: Jul 2016
Posts: 1
Rep Power: 0
bolem is on a distinguished road
Quote:
Originally Posted by gigilentini8 View Post
anyone succeeded in using OF with co-processing?
I think it's a interesting topic with great potential...
Hi,
any updates on this topic of using OpenFoam with co-processing please..
bolem is offline   Reply With Quote

Old   July 20, 2016, 08:18
Post
  #9
New Member
 
Join Date: Mar 2016
Posts: 14
Rep Power: 10
RomainBou is on a distinguished road
maybe you should read the following tutorial using OF 3.0.X :
http://www.dicat.unige.it/guerrero/o...ng/module4.pdf
(more tutorials here :
http://www.dicat.unige.it/guerrero/O...016summer.html)
RomainBou 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
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 04:57.