Encyclopaedia Index

WORKSHOP - Array and Group Settings in PHOENICS-VR.

Array and Group Settings in PHOENICS-VR.

This workshop demonstrates how to set up a geometry with the Array and Group facility of the VR Editor, and to run the simulation. The flow is two-dimensional and its geometry is shown in the figure below.

Velocity and pressure will be solved.

Accessing PHOENICS-VR.

From the system level:

To enter the PHOENICS-VR environment, click on the PHOENICS icon on the desktop, or click on Start, programs, PHOENICS, PHOENICS.

In PHOENICS-VR environment,

Start with an 'empty' case - click on 'File' then on 'Start New Case', then on 'Core', then click on 'OK'; to confirm the resetting.

To enter VR Editor:

This is the default mode of operation.

Within VR Editor.

Set the domain size and activate solution of required variables:

Click on 'Main Menu' and then on 'Geometry'.

Change the X-Domain Size to 2.00 m.

Click 'OK' to close the Grid mesh settings dialog.

Click on 'Models'.

Leave the 'solution for velocities and pressure' ON.

Select the LVEL Turbulence model in 'Turbulence Models'.

Click on 'Top menu', on 'OK'

Click on 'Reset' button and then 'Fit to window'/'OK'.

 

Create the upper boundary wall:

Click on 'Settings', 'New' and 'New Object'.

Change name to H-WALL (which stands for high-wall).

Click on 'Size' and set size of the object as:

Xsize: 2.0

Ysize: 1.0

Zsize: 0.0

Click on 'Place' and set Position of the object as:

Xpos: 0.0

Ypos: 0.0

Zpos: 1.0

Click on 'General'.

Define Type as Plate.

Click on 'OK' to exit from the Object Dialogue Box.

 

Create lower boundary wall by duplicating H-WALL:

Click on the 'Duplicate object or group' button and 'OK'.

Move the duplicated object to Z position = 0.0

Double click on the duplicated object.

Change name to L-WALL (which stands for low-wall).

Click on 'OK' to exit from the Object Dialogue Box.

 

Create the fluid inlet:

Click on 'Settings', 'New' and 'New Object'.

Change name to INLET.

Click on 'Size' and set Size of the object as:

Xsize: 0.0

Ysize: 1.0

Zsize: 1.0

Click on 'General'.

Define Type as Inlet.

Click on 'Attributes'.

Set the velocity to 2.00 m/s in the X-Direction.

Click on 'OK' twice to exit from the Object Dialogue Box.

 

Create the fluid outlet by duplicating INLET:

Click on the 'Duplicate object or group' button and 'OK'.

Click on the 'X position up' button until the copy has moved as far as possible in the X direction (X position 2.0m)

Double click on the image of the object copy.

Change name to OUTLET.

Change Type to OUTLET.

Click on 'OK' to exit the Object Dialogue Box.

 

Create the first plate blockage object:

Click on 'Settings', 'New' and 'New Object'.

Change name to BLOCK1 (which stands for first blockage).

Click on 'Size' and set size of the object as:

Xsize: 0.05

Ysize: 1.0

Zsize: 0.25

Click on 'Place' and set Position of the object as:

Xpos: 0.36

Ypos: 0.0

Zpos: 0.0

Click on 'General'.

Click on 'OK' to exit from the Object Dialogue Box.

 

Create 5 copies of BLOCK1 along the lower surface using the arraying feature:

Click on the 'Duplicate using array' button on the handset.

Set Dimension and Pitch as:

Direction Dimension Pitch
X: 6 0.24
Y: 1 0.0
Z: 1 0.0

Click on 'OK'.

 

We now turn the 6 blocks (original + 5 copies) into a group, and copy the group to make the upper six blocks.

Click on the 'Object management' button on the handset.

Select 6 blockages (BLOCK1, B6,B7,B8,B9,B10).

Click on 'Group' and 'Save'. This will create a new object B11 with all 6 blockages added (Type is Group).

Click on 'Duplicate object or Group' button and 'OK' on the handset

Move the newly created group to Zpos = 0.75 on the handset.

Close the object management dialog box.

 

Set the grid:

Click on the 'Mesh toggle' button. The default mesh (shown as blue and orange lines) will appear on the screen. The orange lines are 'regions', defined by the bounding boxes of the objects. This mesh (38 in X, 20 in Z) is adequate for this tutorial.  Click on 'Mesh toggle' again to turn off the mesh display.

 

Set the remaining solution control parameters:

Click on 'Main Menu' and then on 'Numerics'.

Set the number of iteration to 300.

 

Click on 'Output'.

Set the monitor location to XMON=1.0 and ZMON=0.5.

 

Click on 'Top menu' to return to the top menu.

Click on 'OK' to exit the Main Menu.

 

Running the Solver.

In the PHOENICS-VR environment, click on 'Run', 'Solver'(Earth), and click on 'OK'; to confirm running Earth.

 

Using the VR Viewer.

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

To view:

To select the plotting variable:

To change the direction of the plotting plane, set the slice direction to X, Y or Z slice direction (927 bytes)

To change the position of the plotting plane, move the probe using the probe position buttons

probe position (927 bytes).

A typical plot from this case is:

 

Saving the results.

In the PHOENICS-VR environment, click on 'Save as a case', make a new folder called 'ARRAYS' (e.g.) and save as 'CASE1' (e.g.).