Professional Documents
Culture Documents
TRN-99-003
What is Turbulence?
u Unsteady, aperiodic motion in which all three velocity components
fluctuate Õ mixing matter, momentum, and energy.
u Decompose velocity into mean and fluctuating parts:
Ui(t) ≡ U i + ui(t)
ui(t)
U i (t)
Ui
Time
Natural Convection
gβ∆TL3ρ
Ra ≥ 108 −1010 where Ra ≡
µα
Choices to be Made
Flow Computational
Physics Resources
Turbulence Model
& Computational
Near-Wall Treatment Grid
Turnaround
Accuracy Time
Required Constraints
One-Equation Models
Spalart-Allmaras
Include Two-Equation Models Increase
More Standard k-ε Computational
Physics RNG k-ε Cost
Realizable k-ε Per Iteration
Available
Reynolds-Stress Model in FLUENT 5
Large-Eddy Simulation
∂k ∂U j ∂U i ∂U j ∂ ∂k
ρ i
U = µt + + µt σ k
( ) −{
ρε
∂xi ∂x ∂ ∂x ∂ ∂
1i44 i
x x x
1
424 3 144i 424j4 43i
42444 3 Destruction
Convection Generation Diffusion
Dissipation Rate
∂ε ε ∂U j ∂U i ∂U j ∂ ∂ε ε2
ρU i = C1ε µt + + ( µt σ ε ) − C2ε ρ
∂xi k ∂xi ∂x j ∂xi ∂xi ∂xi 4
k
1
424 3 14 44442444 44 3 144 42444 3 142 3
Convection Generation Diffusion Destruction
Dε ∂ µt ∂ε ε2 ε
ρ = µ + + ρ c S ε − ρc + c1ε c3ε Gb
Dt ∂x j σε ∂ k + νε
1 2
j
x k
Dissipation Rate
∂ε ε ∂ ∂ε ε2
ρU i = C1ε µ t S +
2
α ε µ eff − C2ε ρ − R
{
∂xi 142 k
4 43 4 1i4 ∂x 42443 ∂x i 43 Additional term
k
1424 3 142
Convection Generation Diffusion Destruction related to mean strain
& turbulence quantities
αk,αε ,C1ε ,C2ε are derived using RNG theory
Pressure-Strain ∂ui ∂u j
Φ ij ≡ − p′ +
∂x (modeled)
j ∂xi
Redistribution
∂ui ∂u j
Dissipation ε ij ≡ 2µ (related to ε)
∂xk ∂xk
Turbulent
J ijk = ui u j uk + p ′(δ jk ui + δ ik u j ) (modeled)
Diffusion
Turbulent Pressure/velocity
transport fluctuations
(equations written for steady, incompressible flow w/o body forces)
D17 © Fluent Inc. 2/20/01
Fluent Software Training
TRN-99-003
Near-Wall Treatments
Temperature
Pr y ∗ ( y * < yT* )
T∗ = 1
Pr
κ
t ln Ey (∗
+ )
P
( y * > yT* ) thermal sublayer thickness
~ 1 dp y y y − y y
2
where U = U −
v
∗ 1/ 2
ln + v
∗ 1/ 2
+ v
2 dx ρκ k yv ρκ k µ
adiabatic wall
cold air
V = 50 fpm 1 ft
T = 0 °F
P
insulation 1 ft
Velocity
contours
BLs on upper & lower surfaces accelerate the core flow
Temperature
P
contours
2 ft
air 1 ft
V = 4 fps
2 ft
wall
5 ft 14.5 ft
Solver Settings
Outline
u Using the Solver
l Setting Solver Parameters
l Convergence
n Definition
n Monitoring
n Stability
n Accelerating Convergence
l Accuracy
n Grid Independence
n Adaption
u Appendix: Background
l Finite Volume Method
l Explicit vs. Implicit
l Segregated vs. Coupled
l Transient Solutions
E2 © Fluent Inc. 2/23/01
Fluent Software Training
TRN-99-003
u Initialization
u Convergence Enable the solution monitors of interest
l Monitoring Convergence
Calculate a solution
l Stability Modify solution
parameters or grid
n Setting Under-relaxation
n Setting Courant number Check for convergence
l Grid Independence No
Yes
l Adaption Stop
Choosing a Solver
u Choices are Coupled-Implicit, Coupled-Explicit, or Segregated (implicit)
u The Coupled solvers are recommended if a strong inter-dependence exists
between density, energy, momentum, and/or species.
l e.g., high speed compressible flow or finite-rate reaction modeled flows.
l In general, the Coupled-Implicit solver is recommended over the coupled-explicit
solver.
n Time required: Implicit solver runs roughly twice as fast.
n Memory required: Implicit solver requires roughly twice as much memory as coupled-
explicit or segregated-implicit solvers! (Performance varies.)
l The Coupled-Explicit solver should only be used for unsteady flows when the
characteristic time scale of problem is on same order as that of the acoustics.
n e.g., tracking transient shock wave
u The Segregated (implicit) solver is preferred in all other cases.
l Lower memory requirements than coupled-implicit solver.
l Segregated approach provides flexibility in solution procedure.
Pressure-Velocity Coupling
u Pressure-Velocity Coupling refers to the way mass continuity is
accounted for when using the segregated solver.
u Three methods available:
l SIMPLE
n default scheme, robust
l SIMPLEC
n Allows faster convergence for simple problems (e.g., laminar flows with
no physical models employed).
l PISO
n useful for unsteady flow problems or for meshes containing cells with
higher than average skew.
Initialization
u Iterative procedure requires that all solution variables be initialized
before calculating a solution.
Solve Õ Initialize Õ Initialize...
l Realistic ‘guesses’ improves solution stability and accelerates convergence.
l In some cases, correct initial guess is required:
n Example: high temperature region to initiate chemical reaction.
u “Patch” values for individual
variables in certain regions.
Solve Õ Initialize Õ Patch...
l Free jet flows
(patch high velocity for jet)
l Combustion problems
(patch high temperature
for ignition)
Convergence
u At convergence:
l All discrete conservation equations (momentum, energy, etc.) are
obeyed in all cells to a specified tolerance.
l Solution no longer changes with more iterations.
l Overall mass, momentum, energy, and scalar balances are obtained.
u Monitoring convergence with residuals:
l Generally, a decrease in residuals by 3 orders of magnitude indicates at
least qualitative convergence.
n Major flow features established.
l Scaled energy residual must decrease to 10-6 for segregated solver.
l Scaled species residual may need to decrease to 10-5 to achieve species
balance.
u Monitoring quantitative convergence:
l Monitor other variables for changes.
l Ensure that property conservation is satisfied.
10-3
10-6
Convergence Difficulties
u Numerical instabilities can arise with an ill-posed problem, poor
quality mesh, and/or inappropriate solver settings.
l Exhibited as increasing (diverging) or “stuck” residuals.
l Diverging residuals imply increasing imbalance in conservation equations.
l Unconverged results can be misleading!
u Troubleshooting: Continuity equation convergence
l Ensure problem is well posed. trouble affects convergence of
all equations.
l Compute an initial solution with
a first-order discretization scheme.
l Decrease under-relaxation for
equations having convergence
trouble (segregated).
l Reduce Courant number (coupled).
l Re-mesh or refine grid with high
aspect ratio or highly skewed cells.
E15 © Fluent Inc. 2/23/01
Fluent Software Training
TRN-99-003
Accelerating Convergence
u Convergence can be accelerated by:
l Supplying good initial conditions
n Starting from a previous solution.
l Increasing under-relaxation factors or Courant number
n Excessively high values can lead to instabilities.
n Recommend saving case and data files before continuing iterations.
l Controlling multigrid solver settings.
n Default settings define robust Multigrid solver and typically do not need
to be changed.
Multigrid
u The Multigrid solver accelerates convergence by using solution on
coarse mesh as starting point for solution on finer mesh.
l Influence of boundaries and far-away points are more easily transmitted to
interior of coarse mesh than on fine mesh.
l Coarse mesh defined from original mesh. fine (original) mesh
n Multiple coarse mesh ‘levels’ can be created.
s AMG- ‘coarse mesh’ emulated algebraically.
Accuracy
u A converged solution is not necessarily an accurate one.
l Solve using 2nd order discretization.
l Ensure that solution is grid-independent.
n Use adaption to modify grid.
u If flow features do not seem reasonable:
l Reconsider physical models and boundary conditions.
l Examine grid and re-mesh.
Summary
u Solution procedure for the segregated and coupled solvers is the same:
l Calculate until you get a converged solution.
l Obtain second-order solution (recommended).
l Refine grid and recalculate until grid-independent solution is obtained.
u All solvers provide tools for judging and improving convergence and
ensuring stability.
u All solvers provide tools for checking and improving accuracy.
u Solution accuracy will depend on the appropriateness of the physical
models that you choose and the boundary conditions that you specify.
Appendix
u Background
l Finite Volume Method
l Explicit vs. Implicit
l Segregated vs. Coupled
l Transient Solutions
Background: Linearization
u Equation sets are solved iteratively.
l Coefficients ap and anb are typically functions a pφ p + ∑ anbφ nb = bp
of solution variables (nonlinear and coupled). nb
Background: Segregated/Transient
u Transient solutions are possible with both segregated and coupled solvers.
l 1st- and 2nd-order time implicit discretizations (Euler) available for coupled
and segregated solvers.
n Procedure: Iterate to convergence at each time level, then advance in time.
l 2nd order time-explicit discretization also available for coupled-explicit solver.
u For segregated solver:
l Time step size, ∆t, is input in Iterate panel.
n ∆t should be small enough to resolve
time dependent features.
l Number of time steps, N, is also required.
n N*∆t equals total simulated time.
l Generally, use ∆t small enough to ensure
convergence within 20 iterations.
l Note: Use TUI command ‘it #’ to iterate
further without advancing time step.
Background: Coupled/Transient
l If implicit scheme is selected, two transient terms are included in discretization.
n Physical-time transient
s Physical-time derivative term is discretized implicitly (1st or 2nd order).
n Pseudo-time transient
s At each physical-time level, a pseudo-time transient is driven to zero through a
series of inner iterations (dual time stepping).
s Pseudo-time derivative term is discretized:
Outline
u Introduction
u Thermal Boundary Conditions
u Fluid Properties
u Conjugate Heat Transfer
u Natural Convection
u Radiation
u Periodic Heat Transfer
Introduction
u Energy transport equation is solved, subject to a wide range of thermal
boundary conditions.
l Energy source due to chemical reaction is included for reacting flows.
l Energy source due to species diffusion included for multiple species flows.
n Always included in coupled solver.
n Can be disabled in segregated solver.
l Energy source due to viscous heating:
n Describes thermal energy created by viscous shear in the flow.
s Important when shear stress in fluid is large (e.g., lubrication) and/or in
high-velocity, compressible flows.
n Often negligible
s not included by default for segregated solver
Fluid Properties
u Fluid properties such as heat capacity, conductivity, and viscosity can
be defined as:
l Constant
l Temperature-dependent
l Composition-dependent
l Computed by kinetic theory
l Computed by user-defined functions
u Density can be computed by ideal gas law.
u Alternately, density can be treated as:
l Constant (with optional Boussinesq modeling)
l Temperature-dependent
l Composition-dependent
l User Defined Function
Velocity vectors
Temperature contours
Radiation
u Radiation intensity transport equations (RTE) are solved.
l Local absorption by fluid and at boundaries links energy equation with RTE.
u Radiation intensity is directionally and spatially dependent.
l Intensity along any direction can be reduced by:
n Local absorption
n Out-scattering (scattering away from the direction)
l Intensity along any direction can be augmented by:
n Local emission
n In-scattering (scattering into the direction)
u Four radiation models are provided in FLUENT:
l Discrete Ordinates Model (DOM)
l Discrete Transfer Radiation Model (DTRM)
l P-1 Radiation Model
l Rosseland Model (limited applicability)
u Advantages:
l Conservative method leads to heat balance for coarse discretization.
l Accuracy can be increased by using a finer discretization.
l Accounts for scattering, semi-transparent media, specular surfaces.
l Banded-gray option for wavelength-dependent transmission.
u Limitations:
l Solving a problem with a large number of ordinates is CPU-intensive.
P-1 Model
u Main assumption: radiation intensity can be decomposed into series of
spherical harmonics.
l Only first term in this (rapidly converging) series used in P-1 model.
l Effects of particles, droplets, and soot can be included.
u Advantages:
l Radiative transfer equation easy to solve with little CPU demand.
l Includes effect of scattering.
l Works reasonably well for combustion applications where optical
thickness is large.
l Easily applied to complicated geometries with curvilinear coordinates.
u Limitations:
l Assumes all surfaces are diffuse.
l May result in loss of accuracy, depending on complexity of geometry, if
optical thickness is small.
l Tends to overpredict radiative fluxes from localized heat sources or sinks.
F18 © Fluent Inc. 2/20/01
Fluent Software Training
TRN-99-003
inflow outflow
T − Twall
θ=
Tb − Twall
Tb = suitably defined bulk temperature
u Can also model flows with specified wall heat flux.
Summary
u Heat transfer modeling is available in all Fluent solvers.
u After activating heat transfer, you must provide:
l Thermal conditions at walls and flow boundaries
l Fluid properties for energy equation
u Available heat transfer modeling options include:
l Species diffusion heat source
l Combustion heat source
l Conjugate heat transfer
l Natural convection
l Radiation
l Periodic heat transfer