Finite Volume Method in CFD Software Packages
Finite Volume Method in CFD Software Packages
Finite Volume Method in CFD Software Packages
About 80% of commercial CFD packages utilize FVM Example: Steady-state specie convection:
Mass balance over the control volume contains values at the faces. These values have to be determined from interpolation of the values in the cell centers:
Notation: Face areas: Concentration at the centers: Components of 2D velocity at the centers: Source at the center:
LTNT - ETH Zurich
Diffusion:
2
The concentration is calculated by recalculating cP from the equation iteratively for all cells in the domain.
LTNT - ETH Zurich 3
becomes non-linear
The equation is solved by an iterative process. Absolute residuals measure imbalance in conservation equations at every iteration:
If the thermal diffusivity coefficient is set to zero, the temperature will be exactly 100 C everywhere above the diagonal and exactly 0 C everywhere below the diagonal.
Grid refinement coupled with a higher-order interpolation scheme will minimize the false diffusion.
LTNT - ETH Zurich 8
10
11
12
U is so-called underrelaxation parameter. It is usually set form 0 to 1 Underrelaxation factors that are too small will significantly slow down convergence, sometimes to the extent that the user thinks the solution is converged when it really is not. The recommendation is to always use underrelaxation factors that are as high as possible, without resulting in oscillations or divergence. When the solution is converged but the pressure residual is still relatively high, the factors for pressure and momentum can be lowered to further refine the solution.
LTNT - ETH Zurich 13
15
Boundary conditions
Dirichlet boundary conditions: value of unknown function is specified, e.g. velocity is zero at boundary Neumann boundary conditions: gradient of unknown function is specified, e.g. temperature gradient is zero
Mixed boundary condition: linear combination of Dirichlet and Neumann is set At a given boundary, different types of boundary conditions can be used for different variables
Adiabatic BC is Dirichlet or Neumann or mixed ?
LTNT - ETH Zurich 16
18
Symmetry boundaries
Used to reduce computational effort in problem. Flow field and geometry must be symmetric: Zero normal velocity at symmetry plane. Zero normal gradients of all variables at symmetry plane. Also used to model slip walls in viscous flow.
Periodic boundaries
Used when physical geometry of interest and expected flow pattern and the thermal solution are of a periodically repeating nature. Is it possible to have periodic boundaries while modeling a heat transfer problem ?
LTNT - ETH Zurich 19
Used at the centerline (y=0 in Fluent) of a 2-D axisymmetric grid. CFX requires 3D mesh even for axisymmetric flow
Modeling the pressure drop through a car catalytic converter when air enters the inlet at 25 m/s, and exits the outlet at a static pressure of 1 atm. Assume that the catalytic converter contains isothermal air at a temperature of 600 K.
Quiz questions 1) where did you set under relaxation factor in this simulation? 2)
21