Difference between revisions of "Grid convergence by Jozsef Nagy"
Jump to navigation
Jump to search
Andy Heather (talk | contribs) (Updated link) |
Jozsef Nagy (talk | contribs) |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | * ''' | + | [[category:numerics]] |
− | * '''affiliation''': | + | * '''contributor''': Jozsef Nagy |
− | * '''contact''': | + | * '''affiliation''': eulerian-solutions e.U., Linz, Austria |
− | * '''OpenFOAM | + | * '''contact''': <mail address='jnmlujnmlu@gmail.com' description='author'>click here for email address</mail> |
+ | * '''OpenFOAM versions''': v2312 | ||
* '''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]) | ||
− | Go back to [https://wiki.openfoam.com/index.php?title= | + | Go back to [https://wiki.openfoam.com/index.php?title=Day_2 Day 2]. |
=[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 21: | Line 24: | ||
* influence of mesh refinement on the simulation results | * influence of mesh refinement on the simulation results | ||
* 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'' |
Latest revision as of 07:10, 26 January 2024
- contributor: Jozsef Nagy
- affiliation: eulerian-solutions e.U., Linz, Austria
- contact: click here for email address
- OpenFOAM versions: v2312
- published under: CC BY-NC-SA license (creative commons licenses)
Go back to Day 2.
Grid convergence
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