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

Usage of runTimePostProcessing

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2020, 11:40
Default Usage of runTimePostProcessing
  #1
Member
 
Andy
Join Date: Jul 2017
Posts: 37
Rep Power: 6
Starcatcher is on a distinguished road
Hi folks,
I would like to make a movie from a DNS-Simulation. Therefore I want to safe fotos(frames) from each time step.
My Domain is a simple cube with turbulence inside.
I work with OF-1712 sine this special DNS-Solver only exists for this version.


The only fuction I know to produce scuch "screenshots" is: runTimePostProcessing

Unfortunatelly there is noproper guide for it. The examples in the tutorials and other websites helped only a little.

Let's say, I want to make a picture of this cube-domain visualising velocity.
You find attached the settings of the runTimePostProcessing as well as the log file with the sim-feedback.

Sooo, what I've done wrong? What would be the right syntax here? Maybe somebody has a good example file?

Thank you in advance.

runtimePostProcessing.txt

log.txt
Starcatcher is offline   Reply With Quote

Old   September 28, 2020, 04:13
Default
  #2
New Member
 
Tu Can
Join Date: Jul 2017
Location: China
Posts: 15
Rep Power: 0
bestucan is on a distinguished road
maybe helpful. I use paraview to make movie. run it parallelly.
save as movies directly or step time picture, both are OK.
bestucan is offline   Reply With Quote

Old   September 28, 2020, 04:18
Default
  #3
Member
 
Andy
Join Date: Jul 2017
Posts: 37
Rep Power: 6
Starcatcher is on a distinguished road
Thanks bestucan, but I really do not want to safe the results before reading them in paraview. I want to make the movie from the calculation without saving the profiles. Otherwise it would need many terrabytes and a lot of cpu-power would be lost for the saving
Starcatcher is offline   Reply With Quote

Old   December 2, 2021, 13:58
Default Solution ?
  #4
New Member
 
Balaji
Join Date: May 2013
Posts: 18
Rep Power: 10
Nealcaffrey is on a distinguished road
Quote:
Originally Posted by Starcatcher View Post
Thanks bestucan, but I really do not want to safe the results before reading them in paraview. I want to make the movie from the calculation without saving the profiles. Otherwise it would need many terrabytes and a lot of cpu-power would be lost for the saving
Hi, did you find out the solution to this ?
Any updates how one can output pictures as jpeg/png and write out every time step or duration?

Please post the solution if you have found
Nealcaffrey is offline   Reply With Quote

Old   December 2, 2021, 16:21
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,370
Rep Power: 33
olesen will become famous soon enougholesen will become famous soon enough
Quote:
Originally Posted by Nealcaffrey View Post
Hi, did you find out the solution to this ?
Any updates how one can output pictures as jpeg/png and write out every time step or duration?

Please post the solution if you have found
Catalyst perhaps?
That is what was used to make the laser melting video.
Was a bit of overkill writing png images each time step since it would have made the video far too lengthy, but nonetheless cool. Using runTimePostPro should generally be the fastest, since you can reuse OpenFOAM sampled elements etc and don't have pass things through paraview at all. However, probably only useful for production runs since setting up scenes is a bit of a pain. The Catalyst viz is certainly a bit more wysiwyg

Take a look at the video:
olesen is offline   Reply With Quote

Old   December 3, 2021, 04:45
Default
  #6
New Member
 
Balaji
Join Date: May 2013
Posts: 18
Rep Power: 10
Nealcaffrey is on a distinguished road
Quote:
Originally Posted by olesen View Post
Catalyst perhaps?
That is what was used to make the laser melting video.
Was a bit of overkill writing png images each time step since it would have made the video far too lengthy, but nonetheless cool. Using runTimePostPro should generally be the fastest, since you can reuse OpenFOAM sampled elements etc and don't have pass things through paraview at all. However, probably only useful for production runs since setting up scenes is a bit of a pain. The Catalyst viz is certainly a bit more wysiwyg

Take a look at the video:
That looks impressive ,

The problem is we are running transient analysis on cluster, on cluster the png creation is fast using runTimePostPro. Also additional software installation like Catalyst need extra costs. The runTimePostPro tutorial is the best option on cluster. But I am not how to implement it from the tutorials using ("librunTimePostProcessing.so"); libraries.
Nealcaffrey is offline   Reply With Quote

Old   December 3, 2021, 07:28
Default
  #7
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,370
Rep Power: 33
olesen will become famous soon enougholesen will become famous soon enough
Quote:
Originally Posted by Nealcaffrey View Post
That looks impressive ,

The problem is we are running transient analysis on cluster, on cluster the png creation is fast using runTimePostPro. Also additional software installation like Catalyst need extra costs. The runTimePostPro tutorial is the best option on cluster. But I am not how to implement it from the tutorials using ("librunTimePostProcessing.so"); libraries.

The wind around buildings is perhaps the most extensive example. In general, you would want to take some portion of an existing simulation and then use that for doing the setup (eg, solverName -postProcess) for runTimePostProcessing. There is unfortunately not as much documentation as would be nice (will likely need to explore the source code as well).
If you do get something interesting that could either be added to an existing tutorial, or add a new one, this would be a most welcome contribution. That way others can benefit too. Once it gets that far, please open an issue on develop.openfoam.com to get your tutorial added OR perhaps through the tutorials wiki (https://wiki.openfoam.com/index.php?title=Tutorials)
olesen is offline   Reply With Quote

Reply

Tags
1712, openfoam, postprocessing, runtime, runtimepostprocessing

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
Large memory usage for steady simulation Wenqiang SU2 2 May 15, 2020 14:40
[ANSYS Meshing] is my memory usage normal? Renold ANSYS Meshing & Geometry 2 April 9, 2019 15:09
New workstation for different usage scenarios - CPU and RAM natem Hardware 6 August 7, 2013 03:47
Boosting CPU usage earlybird FLUENT 2 November 2, 2012 11:32
OpenFOAM Solver/BC usage description murrayjc OpenFOAM 3 August 25, 2009 05:48


All times are GMT -4. The time now is 09:17.