32
Tutorial: Vane Pump Modeling in FLUENT Introduction This tutorial illustrates how to setup and run a vane pump analysis in FLUENT 6.3. This tutorial demonstrates how to do the following: Create an initial mesh. Set up a problem for a dynamic mesh. Specify the motion of dynamic zones using a compiled user-defined function (UDF). Preview the dynamic mesh before starting the calculation. Perform transient dynamic mesh calculation. Postprocess the resulting data. Prerequisites This tutorial assumes that you are familiar with the FLUENT interface. Some of he basic steps in the setup and solution procedures will not the basic steps in the setup and solution procedures will not be shown explicitly. You should be familiar with the dynamic mesh model and UDFs. Refer to the FLUENT 6.3 User’s Guide and the FLUENT UDF Manual for more information. Problem Description A vane pump consists of a rotor with radial slots positioned off-center in a housing bore. A generic vane pump geometry is shown in Figure 2, where the rotor and housing are both circular. Vanes that fit closely in rotor slots slide in and out as the rotor turns. Pumping action is caused by the expanding and contracting volumes contained by the rotor, vanes and housing. c Fluent Inc. January 31, 2007 1

Tutorial- Vane Pump Modeling in FLUENT

Embed Size (px)

Citation preview

Page 1: Tutorial- Vane Pump Modeling in FLUENT

Tutorial: Vane Pump Modeling in FLUENT

Introduction

This tutorial illustrates how to setup and run a vane pump analysis in FLUENT 6.3.

This tutorial demonstrates how to do the following:

• Create an initial mesh.

• Set up a problem for a dynamic mesh.

• Specify the motion of dynamic zones using a compiled user-defined function (UDF).

• Preview the dynamic mesh before starting the calculation.

• Perform transient dynamic mesh calculation.

• Postprocess the resulting data.

Prerequisites

This tutorial assumes that you are familiar with the FLUENT interface. Some of he basicsteps in the setup and solution procedures will not the basic steps in the setup and solutionprocedures will not be shown explicitly.

You should be familiar with the dynamic mesh model and UDFs. Refer to the FLUENT 6.3User’s Guide and the FLUENT UDF Manual for more information.

Problem Description

A vane pump consists of a rotor with radial slots positioned off-center in a housing bore.A generic vane pump geometry is shown in Figure 2, where the rotor and housing are bothcircular. Vanes that fit closely in rotor slots slide in and out as the rotor turns. Pumpingaction is caused by the expanding and contracting volumes contained by the rotor, vanesand housing.

c© Fluent Inc. January 31, 2007 1

Page 2: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Meshing Requirements

In this tutorial, a UDF is used to dynamically move the mesh at each time step. Hence,follow some specific meshing rules so that both the initial mesh and all subsequent motion iscorrect. With this meshing process, the pump core can be meshed with a high aspect ratiomap mesh scheme. Each mesh node displacement is composed of a solid body rotation anda radial translation. The node displacement is a function of eccentricity, rotational speed,and rotor/housing diameters. The pump gap (if created) is also meshed and moved in asimilar manner to the core. The meshing requirements (Figure 1) are as follows:

• Rotation must be about the z-axis.

• The origin must be located on the cylindrical axis of the rotor (i.e., the small circle).

• The pump housing (i.e., the large circle or profile) must be placed to the left of therotor and have a y-coordinate equal to zero.

• If pump contains gaps, one gap must be placed on the positive x axis.

• The vanes must be equally spaced.

• The pump core must be defined as a single fluid zone.

• If the pump contains gaps, all the gaps must be defined as a single fluid zone.

Figure 1: Meshing Requirements

R = radius of pump housing (if applicable), housing may be a profiler = radius of rotord = offsetw = vane widthg = gap width

2 c© Fluent Inc. January 31, 2007

Page 3: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

The schematic of the pump is shown in Figure 2. The meshed vane pump geometry ofthe circular housing is shown in Figure 3. The pump core is meshed with a map meshscheme. The pump gaps are meshed using a high aspect ratio map mesh scheme. The inletand outlet pipes are meshed with a tetrahedral mesh. The gaps and inlet/outlet pipes areconnected to the pump core using non-conformal grid interfaces.

Figure 2: Problem Schematic

Figure 3: Meshed Vane Pump (Circular Housing)

c© Fluent Inc. January 31, 2007 3

Page 4: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Figure 4: Mesh Detail for Single Vane

Preparation

1. Copy the files circle-pump.msh, input.txt, vane.c, and oil den.c to your workingfolder.

Note: The input file must be called input.txt and must be located in the same folderas the case file.

2. Start the 3D (3d) version of FLUENT.

Setup and Solution (Case 1)

Step 1: Grid

1. Read the mesh file circle-pump.msh.

File −→ Read −→Case...

FLUENT will read the file and report the progress in the console.

2. Change the grid units to mm.

Grid −→Scale...

4 c© Fluent Inc. January 31, 2007

Page 5: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(a) Select mm from the Grid Was Created In drop-down list in the Unit Conversiongroup box.

(b) Click the Change Length Units button.

Note: Do not scale the grid.

(c) Close the Scale Grid panel.

3. Display the grid (Figure 5).

Display −→Grid...

(a) Retain the default parameters.

(b) Click Display.

c© Fluent Inc. January 31, 2007 5

Page 6: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Figure 5: Grid Display

Use the right mouse button to check which zone number corresponds to each boundary.If you click the right mouse button on one of the boundaries in the graphics window,its zone number, name, and type will be printed in the FLUENT console.

Step 2: User-Defined Function In pump models without gaps, incompressible liquid andconstricting volumes create unphysical pressure spikes. Adding liquid compressibility througha UDF provides a realistic solution. If the pump contains gaps, this liquid compressibilityUDF is not required as any pressure increase in the liquid will cause it to escape throughthe gaps.

The model here contains gaps, hence it is not necessary to use the compressibility UDF.However, the compressibility UDF is included for completeness, though it will not be usedby the solver. The file input.txt is read when the UDF is loaded. This contains theparameters required for the UDF (see Appendix 1).

All inputs to the file input.txt must be in SI units.

1. Compile the UDF library using the source files vane.c and oil-den.c.

Define −→ User-Defined −→ Functions −→Compiled...

6 c© Fluent Inc. January 31, 2007

Page 7: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(a) Click the Add... button to open the Select File panel.

i. Select the source files, vane.c and oil-den.c and click OK.

(b) Click Build to build the directories.

(c) Read the information in the Information panel and click OK.

(d) Click Load to load the UDF.

Step 3: Models

1. Enable time-dependent calculation.

Define −→ Models −→Solver...

c© Fluent Inc. January 31, 2007 7

Page 8: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(a) Select Unsteady from the Time list.

(b) Retain the default values for the other parameters.

(c) Click OK to close the Solver panel.

2. Enable the standard k-ε turbulence model.

Define −→ Models −→Viscous...

(a) Select k-epsilon (2 eqn) in the Options group box.

(b) Retain the default values for the other parameters.

(c) Click OK to close the Viscous Model panel.

8 c© Fluent Inc. January 31, 2007

Page 9: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Step 4: Materials

Define −→Materials...

1. Create a new material called oil.

This material will be used for all fluid zones.

(a) Delete air from the Name entry box and enter oil.

(b) Enter 0.008 for Viscosity.

(c) Select user-defined from the Density drop-down list to open the User-Defined Func-tions panel.

i. Select superfluid density::libudf and click OK to close the User-Defined Func-tions panel.

c© Fluent Inc. January 31, 2007 9

Page 10: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(d) Click Yes in the dialog box that opens to overwrite air.

(e) Select user-defined from the Speed of Sound drop-down list to open the User-Defined Functions panel.

i. Select sound speed::libudf and click OK to close the User-Defined Functionspanel.

(f) Click Change/Create and close the Materials panel.

Step 5: Boundary Conditions

Define −→Boundary Conditions...

1. Set boundary conditions for inlet.

(a) Select Intensity and Hydraulic Diameter from the Specification Method drop-downlist in the Turbulence group box.

(b) Set the Turbulent Intensity to 5%.

10 c© Fluent Inc. January 31, 2007

Page 11: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(c) Set the Hydraulic Diameter to 12 mm.

(d) Click OK to close the Pressure Inlet panel.

2. Set boundary conditions for outlet.

(a) Set Gauge Pressure to 2000000.

(b) Select Intensity and Hydraulic Diameter from the Specification Method drop-downlist in the Turbulence group box.

(c) Set the Backflow Turbulent Intensity to 5%.

(d) Set the Backflow Hydraulic Diameter to 10 mm.

(e) Click OK to close the Pressure Outlet panel.

Step 6: Grid Interfaces

Define −→Grid Interfaces...

1. Create an interface called intf-gap.

c© Fluent Inc. January 31, 2007 11

Page 12: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(a) Select intf-pump-gaps from the Interface Zone 1 selection list.

(b) Select intf-pump-vanes from the Interface Zone 2 selection list.

(c) Enter intf-gap for Grid Interface.

(d) Click Create.

Note: When you select intf-gap in the list of created interfaces, Boundary Zone1 and Boundary Zone 2 should show wall-14 and wall-15 respectively.

2. Create an interface called intf-pump.

(a) Select intf-pump-pipes from the Interface Zone 1 selection list.

(b) Select intf-pump-housing from the Interface Zone 2 selection list.

(c) Enter intf-pump for Grid Interface.

(d) Click Create and close the Grid Interfaces panel.

12 c© Fluent Inc. January 31, 2007

Page 13: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Step 7: Dynamic Mesh

1. Define dynamic mesh parameters

Define −→ Dynamic Mesh −→Parameters...

(a) Enable Dynamic Mesh and In-Cylinder in the Models group box.

(b) Click the In-Cylinder tab and specify parameters as shown in the table:

Parameter ValueCrank Shaft Speed 500Starting Crank Angle 0Crank Period 360Crank Angle Step Size 0.25

(c) Click OK to close the Dynamic Mesh Parameters panel.

2. Define dynamic mesh zones.

Define −→ Dynamic Mesh −→Zones...

c© Fluent Inc. January 31, 2007 13

Page 14: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(a) Select fluid-pump from the Zone Names drop-down list.

(b) Select User-Defined in the Type group box.

(c) Click the Motion Attributes tab and select vane pump core::libudf from the MeshMotion UDF drop-down list.

(d) Click Create.

(e) Select fluid-gap from the Zone Names drop-down list.

(f) Select User-Defined in the Type group box.

(g) Click the Motion Attributes tab and select vane pump gap::libudf from the MeshMotion UDF drop-down list.

(h) Click Create.

(i) Similarly, create the dynamic zones for inner-gap-wall, pump-rotor, wall-14, andwall-15 by selecting the UDF walls::libudf.

(j) Close the Dynamic Mesh Zones panel.

14 c© Fluent Inc. January 31, 2007

Page 15: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Step 8: User-Defined Function Hooks and Memory

1. Set the initialization function hook.

Define −→ User-Defined −→Function Hooks...

(a) Select init sector::libudf for Initialization.

(b) Click OK to close the User-Defined Function Hooks panel.

2. Define one user-defined memory location.

Define −→ User-Defined −→Memory...

(a) Increase the Number of User-Defined Memory Locations to 1.

(b) Click OK to close the User-Defined Memory panel.

c© Fluent Inc. January 31, 2007 15

Page 16: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Step 9: Solution

Solve −→ Controls −→Solution...

1. Select PISO transient algorithm.

(a) Select PISO from the Pressure-Velocity Coupling drop-down list.

(b) Retain the default values for other parameters.

(c) Click OK to close the Solution Controls panel.

2. Enable plotting of residuals.

Solve −→ Monitors −→Residual...

16 c© Fluent Inc. January 31, 2007

Page 17: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(a) Enable Plot in the Options group box.

(b) Click OK to close the Solution Controls panel.

3. Initialize the flow using default values.

Solve −→ Initialize −→Initialize...

(a) Click Init and close the Solution Initialization panel.

FLUENT warns (in the console) that you should display the UDM-0 using cell valueto verify that the sector numbers are calculated correctly.

c© Fluent Inc. January 31, 2007 17

Page 18: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

4. Display contours of UDM-0 (Figure 6).

Note: This should always be done after setup and initialization to verify that thesector numbers are correct.

Display −→Contours...

(a) Enable Filled and disable Node Values in the Options group box.

(b) Set Levels to 8.

(c) Select User Defined Memory... and User Memory 0 from the Contours of drop-downlists.

(d) Select intf-pump-housing, intf-pump-vanes, and wall:0 from the Surfaces selectionlist.

(e) Click Display.

For better rendering of the image, enable Headlights On in the Lights panel, selectPhong from the Lighting Method drop-down list and click Apply.

5. Set the autosave frequency.

File −→ Write −→Autosave...

18 c© Fluent Inc. January 31, 2007

Page 19: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Figure 6: UDM-0 Sectors

(a) Set Autosave Case File Frequency and Autosave Data File Frequency to 8.

Files will be saved at every two degrees of rotation.

(b) Enter circle-pump.gz for Filename.

FLUENT will automatically append the time step number and extension to the file-name while saving. For example, at the eighth time step, the files circle-pump0008.cas.gzand circle-pump0008.dat.gz will be saved.

(c) Click OK to close the Autosave Case/Data panel.

6. Save the initial case and data files (circle-pump.cas.gz and circle-pump.dat.gz).

7. Display the grid as shown in Figure 3.

c© Fluent Inc. January 31, 2007 19

Page 20: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

8. Perform mesh motion preview for 20 time steps.

Solve −→Mesh Motion...

(a) Set Number of Time Steps to 20.

(b) Click Preview.

9. Read the files circle-pump.cas.gz and circle-pump.dat.gz.

Note: A case and corresponding data file must always be read into FLUENT prior tostarting a mesh motion preview, a new solution, or restarting a solution.

10. Run the transient solution for 200 time steps (i.e., 50 degrees of rotation).

A complete cycle would require 1440 time steps.

Solve −→Iterate...

20 c© Fluent Inc. January 31, 2007

Page 21: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(a) Set the Number of Time Steps to 200.

(b) Click Iterate.

Step 10: Postprocessing

1. Display the pressure contours at 20 degrees of rotation (Figure 7).

Read the case and data files circle-pump0080.cas.gz and circle-pump0080.dat.gzrespectively.

Display −→Contours...

(a) Select Pressure... and Static Pressure from the Contours of drop-down lists.

(b) Select all surfaces except default-interior, default-interior:0, and default-interior:0:1from the Surfaces selection list.

(c) Click Display.

2. Similarly, display the pressure contours at 40 degrees of rotation (Figure 8).

Read the case and data files circle-pump0160.cas.gz andcircle-pump0160.dat.gz, respectively.

Note: The profile file name must be called data outer.txt and must be located in the samefolder as the case file.

c© Fluent Inc. January 31, 2007 21

Page 22: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Figure 7: Pressure Contours After 20o of Rotation

Figure 8: Pressure Contours After 40o of Rotation

22 c© Fluent Inc. January 31, 2007

Page 23: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

The circular pump case was composed of a circular rotor and circular housing bore. Vanepumps do not always conform to this geometry requirement. The rotor or housing may havea non-circular profile. In such cases, a profile file is required as input for the UDF. In thefollowing example (see Figure 9), the housing of the pump is elliptical in shape. A sampleof this profile is shown (Appendix 2).

Figure 9: Vane Pump Geometry (Elliptical Housing)

Setup and Solution (Case 2)

In this case, the setup and solution is similar to the circular pump above.

Preparation

1. Copy the files ellipse-pump.msh, input.txt, vane.c, data outer.txt and oil den.cto your working folder.

Note: The file input.txt contains input data (zone ID, core ID, gap ID, radius,etc.) for the pump. This data for ellipse pump is different from that for thecircular pump because the respective meshes are different. Hence, the input.txtfile used for the circular pump needs to be edited before it can be used for theellipse pump. For information, see Appendix 1.

2. Start the 3D (3d) version of FLUENT.

c© Fluent Inc. January 31, 2007 23

Page 24: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Step 1: Grid

1. Read the mesh file ellipse-pump.msh.

File −→ Read −→Case...

FLUENTwill read the file and report the progress in the console window.

2. Change the grid units to mm.

Grid −→Scale...

(a) Select mm from the Grid Was Created In drop-down list in the Unit Conversiongroup box.

(b) Click the Change Length Units button.

(c) Click Scale.

(d) Close the Scale Grid panel.

3. Display the grid (Figure 10).

Display −→Grid...

(a) Retain the default parameters.

(b) Click Display.

Rotate the grid using the left-mouse button to get the view shown in Figure 10.

Step 2: User-Defined Function

Same as Step 2 for circular pump (see 6).

Step 3: Models

Same as Step 3 for circular pump (see 7).

24 c© Fluent Inc. January 31, 2007

Page 25: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Figure 10: Grid Display

Step 4: Materials

Same as Step 4 for circular pump (see 9).

Step 5: Boundary Conditions

1. Set boundary conditions for inlet.

Define −→Boundary Conditions...

(a) Change the type for inlet from wall to pressure-inlet.

c© Fluent Inc. January 31, 2007 25

Page 26: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

i. Select inlet from the Zone selection list and pressure-inlet from the Type se-lection list.

ii. Click OK in the Question panel that opens.

(b) Click the Set... button to open Pressure Inlet panel.

i. Select Intensity and Hydraulic Diameter from the Specification Method drop-down list in the Turbulence group box.

ii. Set the Turbulent Intensity to 5%.

iii. Set the Hydraulic Diameter to 15 mm.

iv. Click OK to close the Pressure Inlet panel.

2. Set boundary conditions for outlet.

(a) Change the type for outlet from wall to pressure-outlet.

(b) Click the Set... button to open the Pressure Inlet panel.

(c) Specify Gauge Pressure as 2000000.

(d) Select Intensity and Hydraulic Diameter from the Specification Method drop-downlist in the Turbulence group box.

(e) Set the Turbulent Intensity to 5%.

(f) Set the Hydraulic Diameter to 15 mm.

(g) Click OK to close the Pressure Outlet panel.

Step 6: Grid Interfaces

Same as Step 6 for circular pump (see 11).

Step 7: Dynamic Mesh

1. Define dynamic mesh parameters.

Define −→ Dynamic Mesh −→Parameters...

(a) Enable Dynamic Mesh and In-Cylinder from the Model group box.

(b) Click the In-Cylinder tab and specify the parameters shown in the table:

Parameter ValueCrank Shaft Speed 500Starting Crank Angle 0Crank Period 360Crank Angle Step Size 0.25

2. Define dynamic mesh zones.

Define −→ Dynamic Mesh −→Zones...

(a) Select fluid-pump from the Zone Names drop-down list.

(b) Select User-Defined from the Type group box.

(c) Select vane pump core::libudf from the Mesh Motion UDF drop-down list.

26 c© Fluent Inc. January 31, 2007

Page 27: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(d) Click Create.

(e) Select fluid-gap from the Zone Names drop-down list.

(f) Select User-Defined from the Type group box.

(g) Select vane pump gap::libudf from the Mesh Motion UDF drop-down list.

(h) Click Create.

(i) Similarly, for the zones gap-wall, pump-rotor, wall-9 and wall-16 select the UDFwalls::libudf.

These zones are moving walls, where wall-9 and wall-16 are created in Step 6:Grid Interfaces.

Step 8: User-Defined Function Hooks and Memory

Same as Step 8 for circular pump (see 15).

Step 9: Solution

Solve −→ Controls −→Solution...

1. Select PISO transient algorithm.

(a) Select PISO from the Pressure-Velocity Coupling drop-down list.

(b) Retain the default values for other parameters.

(c) Click OK to close the Solution Controls panel.

2. Enable plotting of residuals.

Solve −→ Monitors −→Residual...

(a) Enable Plot in the Options group box.

(b) Click OK to close the Residual Monitors panel.

3. Initialize the flow using default values.

Solve −→ Initialize −→Initialize...

(a) Click Init and close the Solution Initialization panel.

4. Display contours of UDM-0 (Figure 11).

Display −→Contours...

(a) Enable Filled and disable Node Values from the Options group box.

(b) Set Levels to 4.

The number of levels is equal to the number of vanes.

(c) Select User Defined Memory... and User Memory 0 from the Contours of drop-downlists.

(d) Select intf-pump-housing, intf-pump-vanes, and wall:0:1 from the Surfaces selectionlist.

(e) Click Display.

c© Fluent Inc. January 31, 2007 27

Page 28: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Figure 11: UDM-0 Sectors

5. Set the autosave frequency.

File −→ Write −→Autosave...

(a) Set Autosave Case File Frequency and Autosave Data File Frequency to 8.

The files will be saved at every two degrees of rotation.

(b) Enter ellipse-pump.gz for Filename.

(c) Click OK to close the Autosave Case/Data panel.

6. Save the initial case and data files (ellipse-pump.cas.gz).

7. Display the grid as shown in Figure 9.

8. Perform mesh motion preview for 20 time steps.

Solve −→Mesh Motion...

(a) Set Number of Time Steps to 20.

(b) Click Preview.

9. Read the files ellipse-pump.cas.gz and ellipse-pump.dat.gz.

Note: A case and corresponding data file must always be read into FLUENT prior tostarting a mesh motion preview, a new solution, or restarting a solution.

10. Run the transient solution for 200 time steps (i.e., 50 degrees of rotation).

A complete cycle would require 1440 time steps.

Solve −→Iterate...

(a) Set the Number of Time Steps to 200.

28 c© Fluent Inc. January 31, 2007

Page 29: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

(b) Click Iterate.

Step 10: Postprocessing

1. Display the pressure contours at 10 degrees of rotation Figure 12.

Read the case and data files ellipse-pump0040.cas.gz and ellipse-pump0040.dat.gz,respectively.

Display −→Contours...

(a) Select Pressure... and Static Pressure from the Contours of drop-down lists.

(b) Select all surfaces except default-interior, default-interior:0, and default-interior:0:1from the Surfaces selection list.

(c) Click Display.

2. Similarly, display the pressure contours at 44 degrees of rotation.

Read the case and data files ellipse-pump0176.cas.gz and ellipse-pump0176.dat.gz,respectively.

c© Fluent Inc. January 31, 2007 29

Page 30: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Figure 12: Pressure Contours After 10o of Rotation

Figure 13: Pressure Contours After 44o of Rotation

30 c© Fluent Inc. January 31, 2007

Page 31: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

Summary

In this tutorial, you set up and modeled a vane pump of circular and elliptical housingrespectively. You set up a dynamic mesh with dynamic zones defined using a UDF. Youthen performed a transient dynamic mesh calculation and examined the pressure contoursat various stages of rotation.

Appendix 1: Details of the Input File

The format of the input file (input.txt) is as shown (all inputs must be in the file eventhough some are specific to OUTER SHAPE).

All inputs to the file input.txt must be in SI units.

Sample Input File (This is the input file for the elliptical housing vane pump.):

0087 1325e-3 1.75e-3 0.1e-327.5e-3 2e-3

OUTER_SHAPEINNER_SHAPEN_VANECORE_ID GAP_IDr HALF_VANE_WIDTH GAPR DELTA

1. OUTER SHAPE is the outer profile of the pump core and is represented by an integervalue.

(a) 0: Profile is a circle and does not change in the z-direction.

(b) 1: Profile is user-defined and does not change in the z-direction. In this case aprofile file called data outer.txt (see sample in Appendix2) must be createdand copied to the same working folder as the case file.

2. INNER SHAPE is the inner profile of the pump core and is represented by an integervalue.

(a) 0: Profile is a circle and does not change in the z-direction.

(b) 1: Profile is user-defined and does not change in the z-direction. In this casea profile file called data inner.txt (same format as data outer.txt) must becreated and copied to the same working folder as the case file (contact the supportengineer for information).

(c) 2: Profile is a circle and does change in the z-direction (i.e. 3D). In this case, anadditional source file called special inner.c is required to specify the change

c© Fluent Inc. January 31, 2007 31

Page 32: Tutorial- Vane Pump Modeling in FLUENT

Vane Pump Modeling in FLUENT

of inner radius with respect to the z-coordinate (contact the support engineerfor information).

3. N VANE is the number of vanes.

4. CORE ID is the cell zone ID for the pump core. The complete pump core must bedefined as a single fluid zone.

5. GAP ID is the cell zone ID for the gaps. All gaps must be defined as a single fluid zone(ignored if no gaps are used). If there is no gap, the GAP ID must be set to 0.

6. r is the radius of the rotor, i.e. the inner circle.

7. HALF VANE WIDTH is half of the width of each vane.

8. GAP is the gap width (ignored if no gaps are used).

9. R is the radius of the pump housing if the OUTER SHAPE is a circle (ignored for user-defined outer profile).

10. DELTA is the distance between the center of the inner and outer circles if the OUTER SHAPEis a circle (ignored for user-defined outer profile). Even though the offset is always tothe left of the pump core center, DELTA must be a positive value.

Appendix 2: Sample Profile File (data outer.txt):

This is a segment from an elliptical profile file. This tutorial uses this profile file, whichcontains 320 points.

3200.0275 00.027497851 0.00050.027491405 0.0010.027480657 0.00150.027465603 0.0020.027446237 0.00250.027422547 0.0030.027394524 0.00350.027012277 0.0075

32 c© Fluent Inc. January 31, 2007