Difference between revisions of "Main ContribExamples/PISOvsTransientSimple"
(→How to get the files: the repository can build with more versions of OpenFOAM) |
|||
(16 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
'''This page is under construction''' | '''This page is under construction''' | ||
− | == | + | == Study description == |
In this work, two transient solvers in incompressible viscous flow are compared. One solver is | In this work, two transient solvers in incompressible viscous flow are compared. One solver is | ||
based on the SIMPLE- and the other on the PISO-algorithm. The used solvers are transientSimpleFoam and icoFoam. | based on the SIMPLE- and the other on the PISO-algorithm. The used solvers are transientSimpleFoam and icoFoam. | ||
+ | The original study is included in the .tar.gz-package below, in the doc/-folder. | ||
With icoFoam, a simulation is performed with four different mesh densities. | With icoFoam, a simulation is performed with four different mesh densities. | ||
− | In the transientSimpleFoam computations three parameters are varied | + | In the transientSimpleFoam computations three parameters are varied: relaxation factor for velocity, |
− | the number of SIMPLE-loops and time step length | + | the number of SIMPLE-loops and time step length. Each variable gets two different values which results in 8 different parameter |
combinations in the transientSimpleFoam computations. All eight computations are performed with the same | combinations in the transientSimpleFoam computations. All eight computations are performed with the same | ||
meshes as the icoFoam computations. | meshes as the icoFoam computations. | ||
The study is made in the spirit of an existing study by | The study is made in the spirit of an existing study by | ||
− | Eric Paterson, reference [1]. The flow case, Taylor Green vortex, as well as the Python script used for | + | Eric Paterson, reference [1]. The flow case, Taylor Green vortex, as well as the Python script used for varying parameters and running |
− | OpenFOAM were adopted from his study. For the transientSimpleFoam computations the script needed to be modified. For the modified script, see | + | OpenFOAM were adopted from his study. For the transientSimpleFoam computations the script needed to be modified. For the modified script, see Section 3 |
− | Section 3 | + | |
− | == Published | + | == Published results == |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | [1] Turunen, T. "PISO vs. transient SIMPLE: A Comparison of Two Different Transient Solution Algorithms in incompressible CFD with OpenFOAM and Python", BSc thesis, Aalto University, 2011 | ||
+ | A PDF copy is included in the uploaded case archive in the folder "doc". | ||
== How to get the files == | == How to get the files == | ||
The case files are in the following package: | The case files are in the following package: | ||
+ | : [[Media:PISOvsTransientSIMPLE.tar.gz|PISOvsTransientSIMPLE.tar.gz]] | ||
− | For the simulations you will need | + | For the simulations you will need: |
− | + | * funkySetFields, see [[Contrib_funkySetFields]] | |
− | + | ** Actually, funkySetFields is now part of [[Contrib/swak4Foam|swak4Foam]] | |
− | funkySetFields, see [ | + | * pyFoam, see [[Contrib_PyFoam]] |
− | pyFoam, see [ | + | |
− | + | ||
− | + | ||
+ | * transientSimpleFoam: | ||
+ | ** Original source code here at the wiki: [[Media:transientSimpleFoam.tar.gz|transientSimpleFoam.tar.gz]] | ||
+ | *** This builds with: <br> {{Version1.7}} {{Version2.0}} {{Version2.1}} {{Version2.2}} {{Version1.6-ext}} <br> <br> | ||
+ | ** From a git repository: [https://github.com/wyldckat/transientSimple transientSimple at wyldckat@github] | ||
+ | *** This builds with: <br> {{Version1.7}} {{Version2.0}} {{Version2.1}} {{Version2.2}} {{Version2.3}} {{Version2.4}} {{Version3.0}} {{Version4}} {{Version5}} {{Version6}} {{Version1.6-ext}} | ||
== Directory structure == | == Directory structure == | ||
Line 43: | Line 44: | ||
<bash> | <bash> | ||
README | README | ||
− | baseline | + | baseline : baseline case which is cloned using PyFOAM |
− | doc | + | doc : study based on the computations |
− | figures | + | figures : will contain all pictures |
− | latex | + | latex : files needed in creating an appendix with Latex |
− | results | + | results : contains all computations |
− | tools | + | tools : post-processing tool, plotting scripts and script to create an appendix with Latex |
− | runScript.py | + | runScript.py : runs the computations |
</bash> | </bash> | ||
+ | |||
+ | ==References== | ||
+ | [1] Paterson Eric G., “Python Scripting for Gluing CFD Applications: A Case Study | ||
+ | Demonstrating Automation of Grid Generation, Parameter Variation, Flow Simulation, | ||
+ | Analysis, and Plotting” , The Pennsylvania State University, The Applied | ||
+ | Research Laboratory Technical Report No. TR 09-001, 13 January 2009 | ||
+ | |||
+ | [[Category:Incomplete pages]] |
Latest revision as of 19:14, 24 August 2018
This page is under construction
Contents
1 Study description
In this work, two transient solvers in incompressible viscous flow are compared. One solver is based on the SIMPLE- and the other on the PISO-algorithm. The used solvers are transientSimpleFoam and icoFoam. The original study is included in the .tar.gz-package below, in the doc/-folder.
With icoFoam, a simulation is performed with four different mesh densities. In the transientSimpleFoam computations three parameters are varied: relaxation factor for velocity, the number of SIMPLE-loops and time step length. Each variable gets two different values which results in 8 different parameter combinations in the transientSimpleFoam computations. All eight computations are performed with the same meshes as the icoFoam computations.
The study is made in the spirit of an existing study by Eric Paterson, reference [1]. The flow case, Taylor Green vortex, as well as the Python script used for varying parameters and running OpenFOAM were adopted from his study. For the transientSimpleFoam computations the script needed to be modified. For the modified script, see Section 3
2 Published results
[1] Turunen, T. "PISO vs. transient SIMPLE: A Comparison of Two Different Transient Solution Algorithms in incompressible CFD with OpenFOAM and Python", BSc thesis, Aalto University, 2011
A PDF copy is included in the uploaded case archive in the folder "doc".
3 How to get the files
The case files are in the following package:
For the simulations you will need:
- funkySetFields, see Contrib_funkySetFields
- Actually, funkySetFields is now part of swak4Foam
- pyFoam, see Contrib_PyFoam
- transientSimpleFoam:
- Original source code here at the wiki: transientSimpleFoam.tar.gz
- From a git repository: transientSimple at wyldckat@github
4 Directory structure
The main directory contains the following files, scripts and directories:
README baseline : baseline case which is cloned using PyFOAM doc : study based on the computations figures : will contain all pictures latex : files needed in creating an appendix with Latex results : contains all computations tools : post-processing tool, plotting scripts and script to create an appendix with Latex runScript.py : runs the computations
5 References
[1] Paterson Eric G., “Python Scripting for Gluing CFD Applications: A Case Study Demonstrating Automation of Grid Generation, Parameter Variation, Flow Simulation, Analysis, and Plotting” , The Pennsylvania State University, The Applied Research Laboratory Technical Report No. TR 09-001, 13 January 2009