Encyclopaedia Index

TUTORIAL- Simulation of a Labyrinth Flow

This tutorial shows how to set up and run the simulation of steady turbulent flow of air with heat exchange.

The geometry is 2-dimensional, of (y-direction) depth 1.0m, with the other dimensions shown in the figure below:

wherein:

Preliminary remarks

  1. The tutorial must therefore explain how to:
  2. In addition to physically-meaningful data of the above kind, all CFD codes, and therefore PHOENICS also, require non-physical inputs such as:
  3. The non-physical settings suggested below are such as to make the calculations rapid rather than accurate.
  4. Other tutorials will be provided which will enable you to explore the influences of the settings on accuracy and speed of calculation.

Starting the Tutorial

First close any windows which are already running PHOENICS modules.
Then activate the PHOENICS Satellite module, in its VR-Editor mode, by either:

  1. clicking on the PHOENICS VR icon on the desktop; or
  2. typing 'vre' at the Command prompt.

Your working directory, i.e. the folder in which will appear all the files which the tutorial creates, will be, according to the method which you have used:

  1. /PHOENICS/d_priv1 [You can change this, if you wish, by clicking the 'options button' at the top of the satellite panel; or
  2. that of the prompt itself.

In PHOENICS-VR Editor

Set the Domain Size

Select the Working Fluid

Indicate for Which Variables Solution Is Required

Re-sizing the Domain

The domain no longer fits the screen; to resize, click on the pull-down arrow next to the 'R' icon on the toolbar; then 'Fit to window'.

reset1.gif (3045 bytes)

Introduce the Required Objects

  1. Introduce the H-BLOCK object

  2. Introduce the L-BLOCK object

  3. Introduce the WALL-E object

  4. Introduce the WALL-W object

  5. Introduce the IN-PLATE object

  6. Introduce the IN-BLOCK object

  7. Introduce the INLET object

  8. Introduce the OUTLET object

Inspect the 'default' Grid

The PHOENICS satellite sets a computational grid which has sufficient lines at least to coincide with the extremities of all the objects which have been introduced, with some additional lines in-between.

This is known as the 'default' grid. It can be displayed by pressing the 'Mesh toggle' button, which in the present case should generate a picture such as the following.

wk1grid.gif

The Remaining Solution-Control Parameters

Setting the Probe Location

Running the Solver

You are now ready to perform the simulation by activating the PHOENICS solver module (known as 'Earth').

In order to do so, click on 'Run', 'Solver' (Earth), and click on 'OK' to confirm.

You will then see, in quick succession, indications on the screen of:

 

When the simulation has converged or the maximum number of iterations has been reached, the simulation will terminate. The monitor windows will close and PHOENICS will open a summary document in a browser tab.

Simulations can be interrupted by hitting any key on the keyboard, and terminated early by clicking the 'Endjob' button to terminate the calculation and to return to the VR Environment.

You are now able to launch the VR Viewer, in order to inspect the results of your calculation.

Using the VR Viewer

Click on 'Run', 'Post processor', then 'GUI - Post processor (VR Viewer)'. Click 'OK' on the file names dialog to accept the default files.