Difference between revisions of "Grid convergence by Jozsef Nagy"

From OpenFOAM Wiki
Jump to navigation Jump to search
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* '''author''': Jozsef Nagy
+
[[category:numerics]]
* '''affiliation''': Institute of Polymer Injection Molding and Process Automation, Johannes Kepler University Linz, Austria
+
* '''contributor''': Jozsef Nagy
* '''contact''': jozsef.nagy@jku.at
+
* '''affiliation''': eulerian-solutions e.U., Linz, Austria
* '''OpenFOAM version''': 2.3.0
+
* '''contact''': <mail address='jnmlujnmlu@gmail.com' description='author'>click here for email address</mail>
 +
* '''OpenFOAM versions''': v2006
 
* '''published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
 
* '''published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
  
Line 8: Line 9:
  
 
=[https://www.youtube.com/watch?v=lrGO9QSBq1g Grid convergence]=
 
=[https://www.youtube.com/watch?v=lrGO9QSBq1g Grid convergence]=
 +
 +
[[File:Pressure_jnagy2.png|450px|right|pressure distribution]]
  
 
In this tutorial
 
In this tutorial
Line 22: Line 25:
 
* post processing
 
* post processing
  
 +
For older versions of OpenFOAM the blockMeshDict file is located in constant/polyMesh, for newer versions the file is located in system.
  
----
+
Newer versions of OpenFOAM do not use the ''sample'' command, instead you can use ''postProcess -func sample''
----
 
 
 
 
 
* '''author''': Bahram Haddadi, Jozsef Nagy and Christian Jordan
 
* '''affiliation''': Forschungsgruppe Thermische Verfahrenstechnik & Fluiddynamische Simulation am Institut für Verfahrenstechnik der Technischen Universität Wien, Austria
 
* '''contact''': bahram.haddadi.sisakht@tuwien.ac.at
 
* '''OpenFOAM version''': 2.3.0
 
* '''Published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
 
* '''additional acknowledgements''': Clemens Gößnitzer, Vikram Natarajan, Sylvia Zibuschka, Michael Harasek
 
 
 
=[http:// www.cfd.at/downloads/2014_OFoam_Tut_Example%20Three.pdf Grid convergence]=
 
 
 
In this [http:// www.cfd.at/downloads/2014_OFoam_Tut_Example%20Three.pdf pdf] you will find a written step-by-step walkthrough of the tutorial above.
 

Revision as of 04:55, 28 July 2020

Go back to Day 2.

Grid convergence

pressure distribution

In this tutorial

we will cover one of the basic concepts in OpenFOAM. The resolution of your mesh might have an influence onto the results of your simulation. This video gives you a feeling about the importance of grid resolution and how to avoid deviations caused by coarse grid resolution. We will cover

  • field initialization with setFields
  • mesh refinement with blockMesh
  • simulation of a 1D shock tube case
  • influence of mesh refinement on the simulation results
  • post processing
For older versions of OpenFOAM the blockMeshDict file is located in constant/polyMesh, for newer versions the file is located in system.
Newer versions of OpenFOAM do not use the sample command, instead you can use postProcess -func sample