2. INTRODUCTION
ï What is CFD?
CFD: A methodology for obtaining a discrete
solution of real world fluid flow problems.
Discrete solution: Solution is obtained at a
finite collection of space points and at discrete
time levels
3. CFD IN A NUTSHELL
ï Solving the governing equation of fluid by using computational
methods under various physical conditions (e.g. heat transfer,
radiation, electromagnetic field, nuclear reactionâŠetc.) to study
different phenomena encountered in the numerous branches of
physical science.
6. BUILDING BLOCKS
Geometry & grid
generation module
Problem setting
module
Solution Module
Visualization
Module
What to: Presume
âą Boundary / initial conditions
âą Physical models
& what to: Neglect
âą Physical phenomena (i.e. heat transfer, chemical
reactionâŠetc)
âą Properties (i.e. Compressibility, real gasâŠetc)
& what to : Calculate
âą Unknowns
âą Relationships between field variable
Solution methods & algorithms
âą Spatial / temporal discretization
schemes
âą Convergence criterion
âą Interpolation methods
7. METHODOLOGY
ï During Preprocessing
ï The geometry of the problem is defined
ï The volume occupied by the fluid is divided into discrete cells.
The mesh may be uniform or non-uniform
ï The physical modelling is defined â for eg. The equation of
motion + enthalpy + radiation + species conservation
ï Boundary conditions are defined. This involves specifying the
fluid behavior and properties at the boundaries of the problem.
For transient problems, the initial conditions are also defined
ï The simulation is started and the equation are solved
iteratively as a steady-state or transient
ï Finally a postprocessor is used for the analysis and
visualization of the resulting solution.
8. FINITE VOLUME METHOD USED IN
DISCRETIZATION
ï The finite volume method (FVM) is a common approach used in CFD
codes, as it has an advantage in memory usage and solution speed,
especially for large problems, high Reynolds number turbulent flows,
and source term dominated flows (like combustion).
ï In this method the governing partial differential equations are recast in
the conservative form and then solved over a discrete control volumes
and thus guarantees the conservation of fluxes through a particular
control volume.
ï Here Q is the vector of conserved variables, F is the vector of
fluxes V is the volume of the control volume element, and A is the
surface area of the control volume element. The finite volume
equation yields governing equations in the form:
9. FINITE ELEMENT METHOD
ï The finite element method (FEM) is used in
structural analysis of solids, but is also
applicable to fluids.
ï It is much more stable than the finite volume
approach. However, it can require more
memory and has slower solution than the
FVM.
10. FINITE DIFFERENCE METHOD
ï The finite difference method (FDM) has
historical importance and is simple to
program.
ï It is currently only used in few specialized
codes, which handle complex geometry with
high accuracy and efficiency by using
embedded boundaries or overlapping grids
(with the solution interpolated across each
grid).
11. PURPOSE OF PRESENTATION
GEAR PUMP
ï A gear pump uses
the meshing of gears
to pump fluid by
displacement.
ï There are two main
variation: external
gear pump and
internal gear pump
ï Gear pump are
positive displacement
meaning they pump a
constant amount of
fluid for each
revolution.
12. THEORY OF OPERATION
ï As the gears rotate they separate on the intake
side of the pump, creating a void and suction
which is filled by fluid. The fluid is carried by the
gears to the discharge side of the pump, where
the meshing of the gears displaces the fluid.
ï Mechanical clearances are small, which
prevents the fluid from leaking backwards.
ï Rigid design of the gears and houses allow for
very high pressures and the ability to pump
highly viscous fluids.
14. PROCESS IN SOLVING PROBLEM
ï Set up a problem using the 2.5D dynamic re-
meshing model.
ï Specify dynamic mesh modeling parameters.
ï Specify a rigid body motion zone.
ï Specify a deforming zone.
ï Use prescribed motion UDF macro.
ï Perform the calculation with residual plotting.
ï Post process using CFD-Post.
15. PROBLEM STATEMENT
ï The current setup is an external gear pump
which uses two external spur gears.
ï Gears rotate at constant rate of 100 rad/s.
ï Fluid- oil (Density- 844 kg/m3 & Viscosity â
0.02549 kg/m-s)
ï Mass flow rate of fluid in and out of the pump
is of interest.
18. PROBLEM SETUP
ï General setting- Solver
1. Type- pressure-Based
2. Velocity Formulation- Absolute
3. Time â Transient
ï Models- Viscous - Realizable k-epsilon with
standard wall function
19. PROBLEM SETUP
ï Material
1. Material â oil
2. Density -844 kg/m3
3. Viscosity â 0.02549 kg /m-s
ï Cell Zone conditions
1. Each cell zone, select material as oil
20. PROBLEM SETUP
ï Boundary conditions (Inlet and outlet
conditions are set)
1. Inlet- Default Pressure
2. Outlet â Gauge Pressure (101325 Pa)
ï Define UDF
1. UDF macro is written for the gear sets to rotate
in opposite directions at constant rate of 100
rad/s
2. UDF is loaded and compiled
21. PROBLEM SETUP
ï Mesh Motion Setup
1. Dynamic mesh
ï Mesh Method:
ï Smoothing
ï Remeshing
ï Remeshing Method
ï 2.5D
ï Parameters
ï Min. Length Scale â
Default
ï Max. Length Scale â
Default
ï Size Remeshing Interval
- 1
2. Motion of gear 1
ï Zone â Gear 1
ï Type â Rigid body
ï Motion UDF/ profile â
gear1::libudf
ï C.G (X,Y,Z)- (0, 0.085,
0.005)
3. Motion of gear 2
ï Zone â Gear 2
ï Type â Rigid body
ï Motion UDF/ profile â
gear2::libudf
ï C.G (X,Y,Z) â (0, -0.085,
0.005)
22. PROBLEM SETUP
4. Motion of symmetry-1
gear_fluid
ï Zone â sym1-gear_fluid
ï Type â Deforming
ï± Geometry Definition â Plane
ï Point on Plane (X ,Y, Z) â
(0, 0, 0.01)
ï Plane normal (X ,Y, Z) â (0,
0, 1)
ï± Meshing Options:
ï Methods: Smoothing &
Remeshing
ï Zone Parameters
ï Min. Length Scale â 0.0005
ï Max. Length Scale- 0.002
ï Max. Skewness â 0.8
5. Motion of symmetry-2
gear_fluid
ï Zone â sym1-gear_fluid
ï Type â Deforming
ï± Geometry Definition â Plane
ï Point on Plane (X ,Y, Z) â
(0, 0, 0)
ï Plane normal (X ,Y, Z) â (0,
0, 1)
ï± Meshing Options:
ï Methods: Smoothing
ï Zone Parameters
ï Min. Length Scale â 0.0005
ï Max. Length Scale- 0.002
ï Max. Skewness â 0.8
23. PROBLEM SETUP
ï Dynamic mesh
ï Time step size â 5e-6
ï No. of steps â 1000
ï Integrate
ï Preview control
ï Time step size â 5e-6
ï No. of steps â 1000
24. SOLUTION
ï Solution methods
ï Retain defaults
ï Solution controls
ï Relaxation factor of
pressure- 0.4
ï Momentum â 0.5
ï Turbulent K.E â 0.7
ï Turbulent dissipation rate
â 0.7
ï Turbulent viscosity â 0.75
ï Solution initialization
ï TKE â 0.1
ï Gauge pressure â 101325
Pa
ï Initialize the solution
ï Run Solution (Run
calculation for 150 time
steps)
ï Time step size- 5e-6
ï No. of time steps â 3000
ï Max iterations / time step â
40
ï Calculate
29. CONCLUSION
ï The accuracy of the computed flow rate for a
given model increases as the outlet pressure
decreases.
Hinweis der Redaktion
Eq- Navier strokeâs , mass and energy conservation equations.
For this We begin with the incompressible form of the momentum equation and then the equation is integrated over the control volume of a computational cell.
The mesh is automatically read into fluent and displayed in the graphics window.
Note: problem involving rotation, boundary layers under strong adverse pressure gradients, separation and recirculation, this model shows superior performance over the standard k-epsilon model.
Geometry definition parameter are defined to ensure that re- meshing does not cause the mesh to move out of the specified plane.
This show the rotation of the zone as a preview. This helps to make sure that the UDF is specifying the motion of the zone correctly
Solution controls â this is done because when running the solution it was found that the solution process is more stable with these URFs.