Professional Documents
Culture Documents
Transient Flows
14. 5 Release
Introduction to ANSYS
CFX
2012 ANSYS, Inc.
Release 14.5
Introduction
Lecture Theme:
Performing a transient calculation is in some ways similar to performing a steadystate calculation, but there are additional considerations. More data is generated
and extra inputs are required. This lecture will explain these inputs and describe
transient data post-processing
Learning Objectives:
Transient flow calculations are becoming increasingly common due to advances in
high performance computing (HPC) and reductions in hardware costs. You will
understand what transient calculations involve and be able to perform them with
confidence
Introduction
2012 ANSYS, Inc.
Initialization
December 17, 2012
Solver
2
Output File
Summary
Release 14.5
Outline
Motivation
Setup
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
3
Time Steps
Output
Release 14.5
Motivation
Nearly all flows in nature are transient!
Steady-state assumption is possible if we:
Ignore unsteady fluctuations
Employ ensemble/time-averaging to remove unsteadiness (this is what is done
in modeling turbulence)
Motivation
December 17, 2012
Setup
4
Time Steps
Output
Release 14.5
Forced unsteadiness
Time-dependent boundary conditions, source terms drive the unsteady flow field
Examples: pulsing flow in a nozzle, rotor-stator interaction in a turbine stage
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
5
Time Steps
Output
Release 14.5
a pollutant)
Spectral data fast Fourier transform (FFT)
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
6
Time Steps
Output
Release 14.5
Timestep = 2 s
Initial Time = 0 s
Total Time = 20 s
Coefficient Loops = 5
to the solution
5 coefficient
Loops
4 6 8 10 12 14 16 18 20
Time (seconds)
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
7
Time Steps
Output
Release 14.5
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
8
Time Steps
Output
Release 14.5
Analysis Type
Edit Analysis Type in the Outline tree and set the Option to Transient
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
9
Time Steps
Output
Release 14.5
Options are:
Total Time
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
10
Time Steps
Output
Release 14.5
Options are:
Timesteps / Timesteps for the Run
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
11
Time Steps
Output
Release 14.5
True solution
Variable of
interest
Dt
Time
Variable of
interest
Dt
Time
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
12
Time Steps
Output
Release 14.5
Velocity Dt
Courant Number
Element Size
This gives the number of mesh elements the fluid passes through in one timestep
Typical values are 2 10, but in some cases higher values are acceptable
The average and maximum Courant number is reported in the Solver out file each
timestep
Motivation
December 17, 2012
Setup
13
Time Steps
Output
Release 14.5
Boundary Conditions
If required, boundary conditions can be functions of time instead of constant
values
Velocities, Mass flows, pressure conditions, temperatures, etc. can all be expressed
as functions
In CEL expressions use t or Time
Can read in time varying experimental data through User FORTRAN
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
14
Time Steps
Output
Release 14.5
Initialization
Physically realistic initial conditions
should be used
converge
A smaller time step may be needed
initially to maintain solver stability
For cyclic behavior the first few cycles
can be ignored until a repeatable
pattern is obtained
4 6 8 10 12 14 16
Time (seconds)
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
15
Time Steps
Output
Release 14.5
Solver Control
The transient scheme defines the numerical
algorithm for the transient term
Motivation
December 17, 2012
Setup
16
Time Steps
Output
Release 14.5
Solver Control
The Min. and Max. Coeff. Loops set limits on
the number of iterations to use within each
timestep
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
17
Time Steps
Output
Release 14.5
Output Control
Transient Results
By default only a final res file is written
Smallest
Writes the smallest file which can still be used for a
restart (still quite large)
Selected Variables
Output Frequency
Controls how often results are written
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
18
Time Steps
Output
Release 14.5
Output Control
Transient Statistics
Used to generate running statistics for solution
variables
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
19
Time Steps
Output
Release 14.5
Output Control
Monitor Points are generally used as in
steady-state simulations
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
20
Time Steps
Output
Release 14.5
Solver Output
Output differs from steady
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
21
Time Steps
Output
Release 14.5
Multiphase flow
Initialization of liquid level using logical if
statements
Introduction
2012 ANSYS, Inc.
Motivation
December 17, 2012
Setup
22
Time Steps
Output
Release 14.5