Difference between revisions of "Postprocessing"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
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].
 +
 +
Got to [https://wiki.openfoam.com/Postprocessing_archive#Post-processing '''Archive Section of outdated tutorials''']
  
 
=Post-processing=
 
=Post-processing=
Line 14: Line 16:
  
 
* [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.
 
* [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.
 
* [https://wiki.openfoam.com/Swak4Foam_and_PyFoam_by_Bruno_Santos '''swak4Foam and pyFoam'''] - This tutorial provides material on how to use swak4Foam and pyFoam to postprocess data.
 
  
 
=Further reading=
 
=Further reading=

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