AEME 339 Computational Fluid Dynamics CFD K M
- Slides: 31
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 2/6/2022 topic 4: Implicit method, Stability, ADI method 1
Crank-Nicolson Method 2/6/2022 topic 4: Implicit method, Stability, ADI method 2
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Crank-Nicolson method Previous explicit and implicit methods have discretization error 2/6/2022 topic 4: Implicit method, Stability, ADI method 3
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Define the central difference operators Let us now try the following form for the second derivative 2/6/2022 topic 4: Implicit method, Stability, ADI method 4
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR The above form involves 6 points to represent And q lies in the range: Depending on the value of q, the method will be explicit (q = 0), implicit (q = 1), or a combination of the two. For the Crank–Nicolson (C-N) method, q = ½. The difference equation now becomes C-N method has the following properties: i) Stable for all values of the ratio, l = Dt/(Dx)2 2/6/2022 topic 4: Implicit method, Stability, ADI method 5
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR (ii) Has truncation error When written in full, the equation becomes 2/6/2022 topic 4: Implicit method, Stability, ADI method 6
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Dufort-Frankel Method (7. 13) Method is an unconditionally stable, explicit method 2/6/2022 topic 4: Implicit method, Stability, ADI method 7
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR 3 time levels are involved More difficult to formulate IC More computer storage is required Error 2/6/2022 topic 4: Implicit method, Stability, ADI method 8
Alternating-Direction Implicit (ADI) Method (7. 14) 2/6/2022 topic 4: Implicit method, Stability, ADI method 9
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Alternating-Direction Implicit (ADI) Method (7. 14) The unsteady state heat conduction in a slab is governed by the following equation Top and bottom surfaces are Insulated Figure BC are imposed on the 4 sides 2/6/2022 topic 4: Implicit method, Stability, ADI method 10
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Explicit Method Stability Criterion: Implicit Method Writing in full with 2/6/2022 yields topic 4: Implicit method, Stability, ADI method 11
Computational Fluid Dynamics (AE/ME 339) Scheme is stable for all values of K. M. Isaac MAEEM Dept. , UMR λ There are 5 unknowns per equation Gauss elimination for solution is more complicated System is not tri-diagonal ADI Method Let us now consider a parabolic PDE in two dimensions denoted by x and y i. e. , 2/6/2022 topic 4: Implicit method, Stability, ADI method 12
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR ADI uses two finite difference equations used in turn over successive time steps each of size Dt/2 The first equation is implicit only in the x-direction Second equation is implicit only in the y-direction is an intermediate value at the end of time step Dt/2 Step 1 Note that there is no time subscript for 2/6/2022 topic 4: Implicit method, Stability, ADI method 13
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Step 2 values are solved for in the first step and values are solved for in the second step Advantage is that the matrices in both steps are still tri-diagonal Exercise: Write the equations in full using and Can be shown that procedure is unconditionally stable Discretization error 2/6/2022 topic 4: Implicit method, Stability, ADI method 14
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR ADI can also be used for solving elliptic PDE’s ADI is not recommended for 3 D problems Square cross section of side 2 a IC: Temperature is uniform at T 0 BC: side surface temperature T 1 Figure Compute temperature distribution T(x, y, t) inside the slab 2/6/2022 topic 4: Implicit method, Stability, ADI method 15
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Can write Procedure Non-dimensionalize the equations as follows Observe: Problem has symmetry in geometry, IC and BC about both x and y axis 2/6/2022 topic 4: Implicit method, Stability, ADI method 16
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Need to solve only one quadrant Due to symmetry there is no heat flux across X, Y axes (insulated boundaries) IC: BC: 2/6/2022 throughout the domain along sides X=1 and Y=1 along X=0 along Y=0 topic 4: Implicit method, Stability, ADI method figure 17
Treatment of Boundary Conditions 2/6/2022 topic 4: Implicit method, Stability, ADI method 18
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Types of BC (7. 17) Instead of u , boundary , Dirichlet condition: or a combination may be specified at the u=g Neumann condition: Mixed BC: Where α, β, γ are constants and g is a known function. n and s denote, respectively, the normal and tangential derivatives. 2/6/2022 topic 4: Implicit method, Stability, ADI method 19
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR For heat transfer at the straight boundary, x = 0, (see figure), the following can be written. , For the case shown where the boundary is at x = 0, the above equation becomes 2/6/2022 topic 4: Implicit method, Stability, ADI method 20
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Consider the earlier parabolic PDE and may be obtained at the boundary as before. Note that, in this case uo, j should be treated as an unknown and solved for. An equation for i = 0 can be developed as follows. 2/6/2022 topic 4: Implicit method, Stability, ADI method 21
Computational Fluid Dynamics (AE/ME 339) For , use Taylor series as follows to expand about (0, j) Using the BC 2/6/2022 K. M. Isaac MAEEM Dept. , UMR we get topic 4: Implicit method, Stability, ADI method 22
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Write the corresponding equation for uxx for the heat conduction problem with an insulated boundary. 2/6/2022 topic 4: Implicit method, Stability, ADI method 23
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Final implicit form of FD approximation (2 D parabolic) at point (0, j) Example: 1 D heat conduction problem with insulated end BC at insulated end is Therefore from the above equation (set a=g=0) 2/6/2022 topic 4: Implicit method, Stability, ADI method 24
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR At point (i = 0) equation becomes ……………(A) From (A) 2/6/2022 topic 4: Implicit method, Stability, ADI method 25
Treatment of Non-linear Terms 2/6/2022 topic 4: Implicit method, Stability, ADI method 26
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Non –linear PDE’s The heat conduction equation of the previous sections is linear Fluid flow equations often have non-linear terms Example: x-Momentum equation of 2 D steady, incompressible flow Since u and v are the velocity components in x, y directions respectively the LHS terms are non-linear Previous techniques can be adapted to solve non-linear equations The basic approach is to linearize the equations 2/6/2022 topic 4: Implicit method, Stability, ADI method 27
Computational Fluid Dynamics (AE/ME 339) In , if the coefficient u of K. M. Isaac MAEEM Dept. , UMR is treated as a known quantity, then the equation becomes linear When unsteady equations are solved u at the beginning of the time step can be used as the multiplier For example, the first term can be discretized as Would be the fully implicit form of the first term when we use the forward difference form for 2/6/2022 topic 4: Implicit method, Stability, ADI method 28
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR Note that superscript n denotes quantities at time level tn, , which would be known from the previous solution step Exercise: Write the same for the 2 nd term When steady state problems are solved using iterative techniques, values from the previous iteration step would be used as the multiplier u Other non-linear forms Note D( c ), the diffusion coefficient, is a function of the dependent variable, c, the concentration 2/6/2022 topic 4: Implicit method, Stability, ADI method 29
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept. , UMR If we use the model the above term becomes The first term on the RHS would be linearized as before using as the multiplier To use the implicit procedure for the 2 nd RHS term, it can be split as and treat the first half as a constant. Note α and β are constants in the above discussion 2/6/2022 topic 4: Implicit method, Stability, ADI method 30
Program Completed University of Missouri-Rolla Copyright 2002 Curators of University of Missouri 2/6/2022 topic 4: Implicit method, Stability, ADI method 31
- Computational fluid dynamics
- Computational fluid dynamics
- Computational fluid dynamics
- Ideal gas vs perfect gas
- Cern alice
- Computational fluid dynamics
- Chapter 4 lesson 8 quadratic functions
- 888-339-6469
- Computational fluid dynamic
- Fluid kinematics
- Interstitial vs intracellular
- Fluid statics deals with
- Movement of body fluids
- Total body water
- Fluid in morrison's pouch
- Fluid sf
- Ecf icf and interstitial fluid
- P1-p2
- Colloid osmotic pressure
- Efdc
- Openfoam baffle
- Fluid dynamics
- Fluid dynamics definition
- Fluid dynamics
- Spalart-allmaras model
- Fluid dynamics
- Fluid power dynamics
- Real time fluid dynamics for games
- Geophysical fluid dynamics
- Euler s equation
- Cfd visio
- Ntes cfd