Difference between revisions of "Main ContribExamples/PISOvsTransientSimple"

From OpenFOAMWiki
Line 40: Line 40:
 
== Directory structure ==
 
== Directory structure ==
  
The case directory ($FOAM_RUN/singleChannelPump/Pump) contains the following files, scripts and directories:
+
The main directory contains the following files, scripts and directories:
 
<bash>
 
<bash>
 
README
 
README
Line 51: Line 51:
 
runScript.py
 
runScript.py
 
</bash>
 
</bash>
 
Remember to look at the README file. It also contains information on how to run the cases.
 

Revision as of 13:04, 13 May 2011

This page is under construction

1 Testcase 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.

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, so that each variable gets two different values. This 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 computational 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:

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
doc
figures
latex
results
tools
runScript.py