Fluent 13.0 Lecture10-Transient
-
Upload
noolootsil -
Category
Documents
-
view
41 -
download
10
description
Transcript of Fluent 13.0 Lecture10-Transient
-
Customer Training Material
L t 10Lecture 10
Transient Flow Modelingg
Introduction toIntroduction to ANSYS FLUENT
L10-1ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
-
Transient Flow Modelling
Customer Training MaterialMotivation Nearly all flows in nature are transient! Steady-state assumption is possible if we:
Ignore transient fluctuations Employ ensemble/time averaging to remove unsteadiness (this is what is done in Employ ensemble/time-averaging to remove unsteadiness (this is what is done in
modeling turbulence)
In CFD, steady-state methods are preferred Lower computational cost Easier to postprocess and analyze
Many applications require resolution of transient flow: Aerodynamics (aircraft, land vehicles, etc.) vortex shedding Rotating Machinery rotor/stator interaction, stall, surge
M lti h Fl f f b bbl d i Multiphase Flows free surfaces, bubble dynamics Deforming Domains in-cylinder combustion, store separation Transient Heat Transfer transient heating and cooling
Many more
L10-2ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
Many more.
-
Transient Flow Modelling
Customer Training MaterialOrigins of Transient Flow Naturally occurring transients
Transient flow due to growth of instabilities within the fluid or a non-equilibrium initial fluid stateExamples: natural convection flows turbulent eddies of all scales fluid waves (gravity Examples: natural convection flows, turbulent eddies of all scales, fluid waves (gravity waves, shock waves)
Forced transients Time-dependent boundary conditions, source terms drive the transient flow fieldp y Examples: pulsing flow in a nozzle, rotor-stator interaction in a turbine stage
L10-3ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
Kelvin-Helmholtz Cloud Instability Buoyant Box Falling Into a Pool of Water
-
Transient Flow Modelling
Customer Training MaterialTransient CFD Analysis Simulate a transient flow field over a specified time period Solution may approach:
Steady-state solution Flow variables stop changing with time Time-periodic solution Flow variables fluctuate with repeating pattern
Your goal may also be simply to analyze the flow over a prescribed time interval.
F f fl Free surface flows Moving shock waves Etc.
Extract quantities of interest Natural frequencies (e.g. Strouhal Number) Time-averaged and/or RMS valuesTime-averaged and/or RMS values Time-related parameters (e.g. time required to cool a hot solid, residence time
of a pollutant) Spectral data fast Fourier transform (FFT)
L10-4ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
Spectral data fast Fourier transform (FFT)
-
Transient Flow Modelling
Customer Training MaterialTransient Flow Modeling Workflow Enable the transient solver.
Set up physical models and boundary conditions as usual.Transient boundary conditions are possible you can use either a UDF or Transient boundary conditions are possible you can use either a UDF or profile to accomplish this.
Prescribe initial conditions Best to use a physically realistic initial condition, such as a steady solution.
Assign solver settings and configure solution monitors.
Configure animations and data output/sampling options
Select time step and max iterations per time step
Prescribe the number of time steps.
Run the calculations (iterate)
L10-5ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
-
Transient Flow Modelling
Customer Training MaterialEnabling the Transient Solver To enable the transient solver, select the Transient button on the General problem
setup form:
Before performing iterations, you will need to set some additional controls. Solver settings
A i i
L10-6ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
Animations Data export / Autosave options
-
Transient Flow Modelling
Customer Training MaterialSelecting the Transient Time Step Size Time step size, t, is set in the Run Calculation form. t must be small enough to resolve time-dependent features; make sure
convergence is reached within the number of Max Iterations per Time StepThe order or magnitude of an appropriate time step size can be estimated as: The order or magnitude of an appropriate time step size can be estimated as:
Time step size estimate can also be chosen so that the transient characteristics f h fl b l d ( fl i hi k i d f fl i )of the flow can be resolved (e.g. flow within a known period of fluctuations)
To iterate without advancing in time, specify zero time steps. This will instruct the solver to converge the current time step onlyinstruct the solver to converge the current time step only.
The PISO scheme may aid in accelerating convergence for many transient flows (set in the Solution Methods form).
L10-7ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
flows (set in the Solution Methods form).
-
Transient Flow Modelling
Customer Training MaterialTransient Flow Modeling Options Adaptive Time Stepping Automatically adjusts time-step size
based on local truncation error analysis Customization possible via UDF
Time-averaged statistics Particularly useful for LES turbulence
calculations
For the density-based solver, the Courant number defines: The global time step size for density-based
explicit solver. The pseudo time step size for density-based
implicit solver Real time step size must still be defined in the
Iterate panel
L10-8ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
Iterate panel
-
Transient Flow Modelling
Customer Training MaterialTransient Flow Modeling Animations You must set up any animations BEFORE performing iterations. Animation frames are written/stored on-the-fly during calculations. Settings need defining each time (the setup is not stored in the case file)
L10-9ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
-
Transient Flow Modelling
Customer Training MaterialCreating Animations Alternate Method Another method in FLUENT is
available which makes use of the Execute Commands feature.T t d b Text commands or macros can be defined which are executed by the solver at prescribed iteration or time step intervals.p
This approach is very useful in creating high-quality animations of CFD results. A command is defined which
generates an animation frame (contour plot, vector plot, etc.) and then writes that frame to a hard copy file.
Third-party software can then be used to link the hard copy files into an animation file
L10-10ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
(AVI, MPG, GIF, etc.)
-
Transient Flow Modelling
Customer Training MaterialPerforming Iterations The most common time advancement
scheme is the iterative scheme. The solver converges the current time step
and then advances time. Time is advanced when Max
Iterations/Time Step is reached or convergence criteria are satisfied.
Time steps are converged sequentially until the Number of Time Steps is reached.
Solution initialization defines the initialSolution initialization defines the initial condition and it must be realistic. Sets both the initial mass of fluid in the
domain and the initial state of the flow field.
For some problems, the Non-Iterative Time Advancement scheme will be faster
I h ti t th t ti
L10-11ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
In each timestep, the separate equations (U, V, P) are each converged in isolation, rather than iterating all together.
-
Transient Flow Modelling
Customer Training MaterialConvergence Behavior Residual plots for transient simulations are not always indicative of a
converged solution. A residual plot for a simple transient calculation is shown here. 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.
L10-12ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
-
Transient Flow Modelling
Customer Training MaterialTips for Success in Transient Flow Modeling Use PISO scheme for Pressure-Velocity Coupling this scheme provides
faster convergence for transient flows than the standard SIMPLE approach.
Select the time step size so that the solution converges three orders of magnitude for each time step (of course, convergence behavior is problem-specific).
Select the number of iterations per time step to be around 20 it is better to reduce the time step size than to do too many iterations per time step.
Remember that accurate initial conditions are just as important as boundary conditions for transient problems initial condition should always be physically realistic!
Configure any animations you wish to see before running the calculations.
L10-13ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.
Release 13.0December 2010
/ColorImageDict > /JPEG2000ColorACSImageDict > /JPEG2000ColorImageDict > /AntiAliasGrayImages false /CropGrayImages true /GrayImageMinResolution 300 /GrayImageMinResolutionPolicy /OK /DownsampleGrayImages true /GrayImageDownsampleType /Bicubic /GrayImageResolution 300 /GrayImageDepth -1 /GrayImageMinDownsampleDepth 2 /GrayImageDownsampleThreshold 1.50000 /EncodeGrayImages true /GrayImageFilter /DCTEncode /AutoFilterGrayImages true /GrayImageAutoFilterStrategy /JPEG /GrayACSImageDict > /GrayImageDict > /JPEG2000GrayACSImageDict > /JPEG2000GrayImageDict > /AntiAliasMonoImages false /CropMonoImages true /MonoImageMinResolution 1200 /MonoImageMinResolutionPolicy /OK /DownsampleMonoImages true /MonoImageDownsampleType /Bicubic /MonoImageResolution 1200 /MonoImageDepth -1 /MonoImageDownsampleThreshold 1.50000 /EncodeMonoImages true /MonoImageFilter /CCITTFaxEncode /MonoImageDict > /AllowPSXObjects false /CheckCompliance [ /None ] /PDFX1aCheck false /PDFX3Check false /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXTrimBoxToMediaBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXSetBleedBoxToMediaBox true /PDFXBleedBoxToTrimBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXOutputIntentProfile () /PDFXOutputConditionIdentifier () /PDFXOutputCondition () /PDFXRegistryName () /PDFXTrapped /False
/Description > /Namespace [ (Adobe) (Common) (1.0) ] /OtherNamespaces [ > /FormElements false /GenerateStructure true /IncludeBookmarks false /IncludeHyperlinks false /IncludeInteractive false /IncludeLayers false /IncludeProfiles true /MultimediaHandling /UseObjectSettings /Namespace [ (Adobe) (CreativeSuite) (2.0) ] /PDFXOutputIntentProfileSelector /NA /PreserveEditing true /UntaggedCMYKHandling /LeaveUntagged /UntaggedRGBHandling /LeaveUntagged /UseDocumentBleed false >> ]>> setdistillerparams> setpagedevice