Introduction to ANSYS
Fluent
2012 ANSYS, Inc.
Release 14.5
Introduction
Lecture Theme:
Unsteady Flow
November 15, 2012
Time Step
2
Setup
Post-Processing
Summary
Release 14.5
Motivation
Nearly all flows in nature are unsteady!
Steady-state assumption is possible if we:
Ignore unsteady fluctuations
Employ ensemble/time-averaging to remove unsteadiness
this is what is done in modeling RANS turbulence
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
3
Setup
Post-Processing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
4
Setup
Post-Processing
Summary
Release 14.5
Unsteady Flow
November 15, 2012
Time Step
5
Setup
Post-Processing
Summary
Release 14.5
Time steps = 2 s
Initial Time = 0 s
Total Time = 20 s
Residual
solution
4 6 8 10 12 14 16 18 20
Time (seconds)
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
6
Setup
Post-Processing
Summary
Release 14.5
Variable of
interest
t
Time
A smaller time step can
resolve the true solution
Variable of
interest
t
Time
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
7
Setup
Post-Processing
Summary
Release 14.5
Convergence Behavior
Residual plots for transient simulations are not always indicative of a converged
solution
You should select the time step size such that the residuals reduce by around three
orders of magnitude within one time step
This will ensure accurate resolution of transient behavior
For smaller time steps, residuals may only drop by 1-2 orders of magnitude - look for a
monotonic decrease throughout the time step
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
8
Setup
Post-Processing
Summary
Release 14.5
Courant Number
This gives the number of mesh elements the fluid passes through in one time step
Typical values are 1 10, but in some cases higher values are acceptable
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
9
Setup
Post-Processing
Summary
Release 14.5
Usual Case :
Turbomachinery :
1 Number of Blades
.
10 Rotational Velocity
Natural Convection :
L
(g. . T.L)1/2
Conduction in solids :
L2
.
Cp
L = Characteristic length
V = Characteristic velocity
Unsteady Flow
November 15, 2012
Time Step
10
Setup
Post-Processing
Summary
Release 14.5
4.
5.
6.
7.
8.
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
11
Setup
Post-Processing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
12
Setup
Post-Processing
Summary
Release 14.5
Options are:
Number of time steps
Maximum number of iterations
per time step
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
13
Setup
Post-Processing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
14
Setup
Post-Processing
Summary
Release 14.5
Extrapolate Variables
Speed up the transient solution by reducing required subiteration
Using Taylor series expansion solution will be
extrapolated to the next time level to improve the
predicted initial value
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
15
Setup
Post-Processing
Summary
Release 14.5
Solver Control
The transient scheme defines the
numerical algorithm for the
transient term
(more accurate)
Bounded Second Order
(equally as accurate as second
order but more stable)
(only available for pressure-based
solver)
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
16
Setup
Post-Processing
Summary
Release 14.5
Initialization
Physically realistic initial conditions should be
used
Residuals
4 6 8 10 12 14 16
Time (seconds)
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
17
Setup
Post-Processing
Summary
Release 14.5
Unsteady Flow
November 15, 2012
Time Step
18
Setup
Post-Processing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
19
Setup
Post-Processing
Summary
Release 14.5
Unsteady Flow
November 15, 2012
Time Step
20
Setup
Post-Processing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
21
Setup
Post-Processing
Summary
Release 14.5
CFD-Post: Animations
Two modes:
Quick Animation
Keyframe
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
22
Setup
Post-Processing
Summary
Release 14.5
CFD-Post: Animations
Quick Animation:
Dynamic
Text
Limited control
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
23
Setup
Post-Processing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
24
Setup
Post-Processing
Summary
Release 14.5
2.
3.
4.
5.
6.
7.
8.
9.
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
25
Setup
Post-Processing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
26
Setup
Post-Processing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
27
Setup
Post-Processing
Summary
Release 14.5
Original Signal
FT of Signal Showing
Dominant Frequency
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
28
Setup
Post-Processing
Summary
Release 14.5
Summary
No matter what solver is being used
The time step size will be determined by the minimum of
Introduction
2012 ANSYS, Inc.
Unsteady Flow
November 15, 2012
Time Step
29
Setup
Post-Processing
Summary
Release 14.5
Appendix
30
Release 14.5
Truncation
= error: O(t2)
Splitting error
(due to eqn
segregation):
O(tn)
Limitations:
Available with Pressure-based Solvers only
NITA schemes are not available for multiphase
(except VOF), reacting flows, radiation models, porous media,
fan models, etc.
ITA
NITA
31
Release 14.5