Difference between revisions of "Main ContribExamples/PISOvsTransientSimple"

From OpenFOAMWiki
Line 1: Line 1:
 
'''This page is under construction'''
 
'''This page is under construction'''
  
== Testcase description ==
+
== 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.
  
 
With icoFoam, a simulation is performed with four different mesh densities.  
 
With icoFoam, a simulation is performed with four different mesh densities.  
Line 14: Line 15:
 
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 variyng parameters and running
 
Eric Paterson, reference [1]. The flow case, Taylor Green vortex, as well as the Python script used for variyng 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
+
  
  
Line 29: Line 29:
  
 
== 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:<br>
 
[[File:PISOvsTransientSIMPLE.tar.gz]]
 
[[File:PISOvsTransientSIMPLE.tar.gz]]
  
Line 46: Line 46:
 
<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
 
</bash>
 
</bash>

Revision as of 05:07, 16 May 2011

This page is under construction

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.

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 variyng 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 OpenFOAMand Python"



3 How to get the files

The case files are in the following package:
File:PISOvsTransientSIMPLE.tar.gz

For the simulations you will need:

transientSimpleFoam
funkySetFields, see [1], and
pyFoam, see [2]



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

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