Encyclopaedia Index

WORKSHOP - Duplication in PHOENICS-VR.

This workshop example demonstrates how to use the Object Duplication facility of the VR Editor in setting up a geometry. The simulation is run and the results are viewed.

The flow in the example is two-dimensional and its geometry is shown in the figure below.

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 the required variables:

Click on 'Main Menu' andset 'Duplication in VR-Editor' as the Title.

Click on 'Geometry'.

Change the X-Domain Size to 2.00 m.

Click on 'OK' to close th Grid mesh dialog.

Click on 'Models'.

Leave the 'solution for velocities and pressure' ON.

Select the LVEL Turbulence model in 'Turbulence Models'.

Click on 'Top menu', and on 'OK' to exit the Main Menu.

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

Create lower surface of the duct:

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

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

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

Xsize: 2.0

Ysize: 1.0

Zsize: 0.0

Click on 'General'.

Define Type as Plate.

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

Create the upper surface of the duct by duplicating L-WALL:

Click on the 'Duplicate object or group' button on the handset and click on 'OK' to confirm duplicating. The duplicated object always appears at the same position. It can then be moved to the required position.

Click on the 'Z position up' button until the duplicate object (auto-named B2) has moved to the top of the duct (at Z=1.0)

Click on the image of the copy. This opens the Object Specification Dialogue Box of the object copy.

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

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

Create the lower-left boundary wall:

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

Change name to W-WALL (which stands for west wall).

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

Xsize: 0.0

Ysize: 1.0

Zsize: 0.4

Click on 'General'.

Define Type as Plate.

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

Create the upper-left boundary wall by duplicating W-WALL:

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

Click on the 'Z position up' button until the duplicate object has moved as far in the Z direction as possible (Z position 0.6m)

Click on the image of the copy. Change name to W-WALL2 (which stands for west-wall2)

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

Create the lower-right boundary wall by duplicating W-WALL2:

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

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

Click on the image of the copy. Change name to E-WALL (which stands for east wall).

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

Create the upper-right boundary wall by duplicating E-WALL:

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

Click on the 'Z position up' button until the duplicate object has moved down as to Z position = 0.0m

Click on the image of the copy. Change name to E-WALL2 (which stands for east-wall2).

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

Create the first column:

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

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

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

Xsize: 0.2

Ysize: 1.0

Zsize: 0.2

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

Xpos: 0.5

Ypos: 0.0

Zpos: 0.4

Click on 'General'.

Define Type as Blockage (default).

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

Create the second column by duplicating BLOCK1:

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

Double click on the duplicated object to bring up the object specification dialog box

Change name to BLOCK2 (which stands for second block).

Click on 'Place' and change position to:

Xpos: 1.3

Ypos: 0.0

Zpos: 0.4

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 object as:

Xsize: 0.0

Ysize: 1.0

Zsize: 0.2

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

Xpos: 0.0

Ypos: 0.0

Zpos: 0.4

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.

Create the fluid outlet:

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

Change name to OUTLET.

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

Xsize: 0.0

Ysize: 1.0

Zsize: 0.2

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

Xpos: 2.0

Ypos: 0.0

Zpos: 0.4

Click on 'General'.

Define Type as Outlet.

Click on 'OK'.

Set the grid:

Click on the 'Mesh toggle' button. The default mesh (shown as orange lines) will appear on the screen.

Click anywhere on the image, and the 'Gridmesh settings' dialog box will appear.

The grid is too coarse - we need to increase the number of cells in X. Click the Edit all regions 'in X direction' button. This displays a screnn from which the Auto-mesh settings can be changed. Change 'Max cell factor' from 0.05 to 0.025. This will double the number of cells from 20 to 40. Click OK.

Click on 'OK' to close the dialog box. The mesh will now be shown as blue and orange lines. The orange lines are 'regions', defined by the bounding boxes of the objects.

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 iterations to 300.

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 'DUPLICAT' (e.g.) and save as 'CASE1' (e.g.).