Difference between revisions of "Postprocessing"

From OpenFOAM Wiki
Jump to navigation Jump to search
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Small introduction
+
Simulation results are good and nice. However, you will have to visualize to data you get out of a simulation in OpenFOAM. These tutorials will explain, how to evaluate simulation results in OpenFOAM.
  
 
Go back to [https://wiki.openfoam.com/Collection_by_topic Collection by topic].
 
Go back to [https://wiki.openfoam.com/Collection_by_topic Collection by topic].
  
=Postprocessing=
+
Got to [https://wiki.openfoam.com/Postprocessing_archive#Post-processing '''Archive Section of outdated tutorials''']
  
* '''[https://wiki.openfoam.com/Visualization_by_Stefan_Radl Data inspection]''' using various tools (incl. ParaView).
+
=Post-processing=
* [https://wiki.openfoam.com/Postprocessing_by_Ferras,_Fernandes_and_Nobrega Ferras et al.] provide 5 cases and guide through the postrpocessing with gnuplot and ParaView.
 
* [https://wiki.openfoam.com/Swak4Foam_and_PyFoam_by_Bruno_Santos Santos] provides material on how to use swak4Foam and pyFoam to postprocess data.
 
  
* For Lagrangian Data Visualization using ParaView checkout this '''[https://github.com/NanoSim/CoursesAndTrainingPortfolio/tree/master/5_VisualizationTools training material of the NanoSim project]'''. Note, this page also contains instructions to load data from the popular particle dynamics code LAMMPS/LIGGGHTS.
+
* [https://wiki.openfoam.com/Postprocessing_by_Ferras,_Fernandes_and_Nobrega '''Post- processing with five example cases'''] - Ferras et al. provide 5 cases and guide through the postrpocessing with gnuplot and ParaView.
  
 +
* [https://wiki.openfoam.com/index.php?title=Visualization_by_Joel_Guerrero '''Detailed information on Paraview'''] - In this tutorial you will get a deep understanding on the scientific postprocessing and visualization of results in Paraview. Also introduces [https://www.paraview.org/in-situ/ Paraview's Catalyst]
 +
 +
* [https://wiki.openfoam.com/Sampling_by_Bahram_Haddadi_and_colleagues '''Sampling'''] - Simulate the flow along a shock tube for 0.007 s and use OpenFOAM sampling utility for extracting the data along a line during the simulation and after the simulation.
 +
 +
* [https://wiki.openfoam.com/Session_B_by_Stefan_Radl '''Session B: Using OpenFOAM'''] - Here you will find information about sampling and probing (see sub-section [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/1_SessionAB_BasicTraining/2018-02-20_Session_B_part_6_x_samplingProbing.mp4 '''Sampling and Probing''']), as well as get a basic introduction to visualization (see sub-section [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/1_SessionAB_BasicTraining/2018-02-20_Session_B_part_7_x_visualizationBasics.mp4 '''Visualization 0.1''']).
 +
 +
* [https://github.com/NanoSim/CoursesAndTrainingPortfolio/tree/master/5_VisualizationTools '''Training material of the NanoSim project'''] - For Lagrangian Data Visualization using ParaView checkout this tutorial. Note, this page also contains instructions to load data from the popular particle dynamics code LAMMPS/LIGGGHTS. Also, the PVReader Plugin, the LIGGGHTS reader plugin, as well as how to use math-text in Paraview annotations is provided.
  
 
=Further reading=
 
=Further reading=
 +
 +
* The OpenFOAM user guide has a section on [https://www.openfoam.com/documentation/guides/latest/doc/guide-function-objects.html '''Function Objects'''] that is useful to understand which post-processing can be done by OpenFOAM natively.
 +
 +
* The [https://www.paraview.org/Wiki/ParaView '''ParaView Public Wiki'''] gives you all details related to the functionality of ParaView. Tutorias, books, etc. are linked here
 +
 +
* [http://www.gnuplot.info/ '''Gnuplot'''] is a lightweight and widespread tool for preparing plots (mainly useful for x-y plots of samples/probed data from OpenFOAM output.
 +
 +
* [https://www.gnu.org/software/octave '''Octave'''] is an often recommended alternative to Gnuplot. It is the open-source alternative to Matlab.
 +
 +
* You may also want to use Python-based plotting: checkout the [https://matplotlib.org/ '''matplotlib'''], or work with [https://www.spyder-ide.org/ '''Spyder''']

Revision as of 07:53, 21 February 2019

Simulation results are good and nice. However, you will have to visualize to data you get out of a simulation in OpenFOAM. These tutorials will explain, how to evaluate simulation results in OpenFOAM.

Go back to Collection by topic.

Got to Archive Section of outdated tutorials

Post-processing

  • Sampling - Simulate the flow along a shock tube for 0.007 s and use OpenFOAM sampling utility for extracting the data along a line during the simulation and after the simulation.
  • Training material of the NanoSim project - For Lagrangian Data Visualization using ParaView checkout this tutorial. Note, this page also contains instructions to load data from the popular particle dynamics code LAMMPS/LIGGGHTS. Also, the PVReader Plugin, the LIGGGHTS reader plugin, as well as how to use math-text in Paraview annotations is provided.

Further reading

  • The OpenFOAM user guide has a section on Function Objects that is useful to understand which post-processing can be done by OpenFOAM natively.
  • The ParaView Public Wiki gives you all details related to the functionality of ParaView. Tutorias, books, etc. are linked here
  • Gnuplot is a lightweight and widespread tool for preparing plots (mainly useful for x-y plots of samples/probed data from OpenFOAM output.
  • Octave is an often recommended alternative to Gnuplot. It is the open-source alternative to Matlab.
  • You may also want to use Python-based plotting: checkout the matplotlib, or work with Spyder