Encyclopaedia Index

WORKSHOP - Fans and Inlets internal to the Domain.

Fans and Inlets within the flow domain.

In this workshop it is shown how to specify an internal momentum source in PHOENICS-VR as a fan object or, alternatively, as an internal mass source-sink, represented as an inlet-outlet pair.

With the fan-type object, the user can fix the velocity at that location. This just circulates the air already in the domain. The fan-method is demonstrated in the first section.

A similar flow can be set up by replacing the fan object by an inlet-outlet pair, separated by a small blocked region. This continually injects fresh air, which then leaves the domain. The inlet-outlet pair method is demonstrated in the second section.

Note that this demonstration is interesting because the fan is internal; if the fan object were at a boundary, then the fan object would work like an ordinary inlet.)

Within 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' button on the handset and then on 'Geometry'.

Change the z-domain size to 0.62.

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

Click on 'Models'.

Leave 'Solution for velocities and pressure' to ON.

Select the KEMODL for 'Turbulence models'.

 

Click on 'Top Menu' and then on 'OK';.

Click on 'Reset', 'fit to window' and 'OK'

Change the view to X-Z plane with Z up.

 

Create the lower internal wall:

Click on 'Settings', 'New' and 'New Object' on the top bar menu of the VR-Editor to bring up the Object specification dialog box.

Change Name to 'WALL-1'.

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

Xsize: 0.6

Ysize: 1.0

Zsize: 0.02

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

Xpos: 0.2

Ypos: 0.0

Zpos: 0.2

Click on 'OK';.

 

Create the upper internal wall by duplicating WALL-1:

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

Use Z Position buttons on the handset to move the resulting object to

Xpos: 0.2

Ypos: 0.0

Zpos: 0.4

Double click on the resulting object

Change Name to 'WALL-2'.

Click on 'OK';.

 

Create the fan object:

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

Change Name to ,'Fan'.

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

Xsize: 0.0

Ysize: 1.0

Zsize: 0.18

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

Xpos: 0.5

Ypos: 0.0

Zpos: 0.22

Click on 'General'.

Click on Type dialogue box and change Type to FAN.

Click on Attributes and change the x-direction velocity to 1.0 m/s.

Click on OK.

Click on 'OK';.

 

Create a fixed pressure point – the domain is closed, and the fluid is incompressible. Without a fixed pressure point the pressure level is undefined.

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

Change Name to 'Fixedp'.

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

Xsize: 0.03

Ysize: 1.0

Zsize: 0.03

Click on 'General'.

Click on 'Type' dialogue box and choose Pressure_relief.

Click on 'OK';.

 

Set the grid:

Click on the 'Mesh toggle' button. The default mesh (shown as orange and blue lines) will appear on the screen.  The auto-generated grid is perfectly adequate for the tutorial, but in order to practice setting the grid, we are going to alter the Z (vertical) grid.

Click anywhere on the image, and the 'Gridmesh settings' dialog box will appear. Switch the Z grid from 'Z-Auto' to 'Z-Manual', then click Edit all regions in Z direction. Make the following settings:

Region Cells Distribution Power Symmetric
1 6 Power law -1.5 No
2 3 Power law 1 No
3 15 Power law 1.2 Yes
4 3 Power law 1 No
5 6 Power law 1.5 No

Click on 'OK' twice to close the dialog boxes.

The mesh will now be shown as blue and orange lines. The orange lines are 'regions', defined by the bounding boxes of the objects.

Open the 'Gridmesh settings' dialog again by clicking on the grid, and click 'Edit all regions' in Z again. Change the signs of the powers in regions 1 and 5 to be 1.5 and -1.5 respectively. Click on 'OK' twice to close the dialog boxes. How has the grid changed? Now restore the settings in the table above.

Click on 'Mesh toggle' again to turn off the mesh display.

 

Set the remaining solution control parameters:

Click on Main 'Menu', then on click on Numerics and enter 200 in the 'Total number of iterations' dialogue box.

Click on 'Relaxation control' and switch 'Automatic convergence control' OFF.

Set 'SARAH' to 0.005. and click on 'Previous panel'.

 

Click on 'Top Menu' and 'OK'.

 

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

 

Alternative method: Using Inlet-Outlet pair within the Domain.

Change the fan (fixed velocity) into an inlet (fixed mass flow)

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

Select the object, FIXEDP and click on 'Action' and 'Delete object(s)'.

Click on 'Yes' to confirm the action.

 

Double click on the FAN object to bring up the object specification dialog box.

Change the Type from FAN to INLET.

Click on Attributes and enter 1.0 in the x-direction dialogue box.

Change Object side to High.

Click on 'OK';.

Click on 'Place' and change the position to:

Xpos: 0.7

Ypos: 0.0

Zpos: 0.22

Click on 'OK';

 

Create the blockage separating the inlet and outlet:

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

Click on 'Size' and 'Place' to change the following to:

Xpos: 0.3 Xsize: 0.4

Ypos: 0.0 Ysize: 1.0

Zpos: 0.22 Ysize: 0.18

Click on 'OK';

 

Create the outlet:

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

Change the Name to 'OUT'.

Click on 'Size' and 'Place' to change the following to:

Xpos: 0.3 Xsize: 0.0

Ypos: 0.0 Ysize: 1.0

Zpos: 0.22 Zsize: 0.18

Click on 'General'.

Click on 'Type' and select OUTLET.

Click on 'Attributes' and check that the Object side is set to 'Low'.

Click on OK/OK.

 

Run EARTH.

Use VR Viewer to view the results.

The object FAN should be acting as a 'source' and the object OUT should be acting as a 'sink'.

Investigate the following combination of Attributes for the FAN and OUT objects

Object name Fan Out
Object type Inlet Outlet
Attributes Velocity = -1.0 m/s pressure condition
Object side High Low
Object type Outlet Inlet
Attributes pressure condition Velocity = -1.0 m/s
Object side High Low
Object type Outlet Inlet
Attributes pressure condition Velocity = +1.0 m/s
Object side High Low

Each run can be saved as a different case in the INLETS folder.