TransientSimpleDyMFoamTSG

From OpenFOAMWiki
Revision as of 11:55, 8 June 2011 by Hani (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Back to the previous page


1 Mesh setup

The mesh was generated with ICEM-HEXA . The mesh is generated in four different parts (strout, stay vanes, runner and draft-tube), which can be seen in Figure 1.

Figure 1: the four different parts of the Timisoara Swirl Generator mesh.


This 3D mesh has 2703588 hexahedra cells. The four different parts are connected to each other with help of the GGI.

2 Running the case

This case is computed using four GGI interfaces: between the strout and the stay vanes, between the stay vanes and the runer, and between the runner and the draft tube.

Follow these steps to run the case from scratch:

First make sure that you have the following installed:

  • A recent revision of OpenFOAM-1.5-dev
  • A recent revision of the Breeder 1.5. In it you will find the libraries needed to use the turboPerformance and trackDictionary functionObject.
cd $FOAM_RUN/TimisoaraSwirlGenerator/TSG/
./Allrun &

To follow the simulation, the log.transientSimpleDyMFoam can be dumped on the screen and residuals can be plotted using the PyFoam utility.

To install PyFoam, please refer to PyFoam utility .

Useful command:

pyFoamPlotWatcher.py log.transientSimpleDyMFoam

3 Cleaning up the case

The Allclean script cleans up the case to its original state. To do so, follow these steps:

cd $FOAM_RUN/TimisoaraSwirlGenerator/TSG/
./Allclean

This deletes all the simulations and keep only the original files, so be sure that you do not want to save anything from the previous computation before cleaning up the case.

4 Post-processing the case

The post-processing is automatized, and can be executed by doing:

cd $FOAM_RUN/TimisoaraSwirlGenerator/TSG/
./runScript.py arg1 arg2 arg3
  • arg1 should correspond to a time step that you recorded.
  • arg2 is the name and location of the log file.
  • arg3 is either U or UMean depending on whether you are averaging or not the velocity.

A description of the post-processing can be found in postProcessing in Python

This step creates a new folder called figures, gathering all of the pictures automatically plotted.



Back to the previous page

Back to the top

Back to Sig Turbomachinery