Lecture Objectives: Simple Algorithm vs. Direct Solvers Discuss HW 3

Slides:



Advertisements
Similar presentations
Outline Overview of Pipe Flow CFD Process ANSYS Workbench
Advertisements

Lecture 5 Newton-Raphson Method
Turbulent Models.  DNS – Direct Numerical Simulation ◦ Solve the equations exactly ◦ Possible with today’s supercomputers ◦ Upside – very accurate if.
Lecture Objectives: Simple algorithm Boundary conditions.
CHAPTER 5 Principles of Convection
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 9: FLOWS IN PIPE
CHE/ME 109 Heat Transfer in Electronics
Lecture 7 Exact solutions
SOLUTION FOR THE BOUNDARY LAYER ON A FLAT PLATE
Lecture Objectives: Review discretization methods for advection diffusion equation Accuracy Numerical Stability Unsteady-state CFD Explicit vs. Implicit.
Taylor Series.
Lecture Objectives Review SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations Define Residual and Relaxation.
Lecture Objectives: -Define turbulence –Solve turbulent flow example –Define average and instantaneous velocities -Define Reynolds Averaged Navier Stokes.
Next Class Final Project and Presentation – Prepare and me the ppt files 5-7 slides Introduce your problem (1-2 slides) – Problem – Why CFD? Methods.
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
Start Presentation October 4, 2012 Solution of Non-linear Equation Systems In this lecture, we shall look at the mixed symbolic and numerical solution.
Boundary Layer Laminar Flow Re ‹ 2000 Turbulent Flow Re › 4000.
IIT-Madras, Momentum Transfer: July 2005-Dec 2005.
CHAPTER (III) KINEMATICS OF FLUID FLOW 3.1: Types of Fluid Flow : Real - or - Ideal fluid : Laminar - or - Turbulent Flows : Steady -
3-2 Solving Equations by Using Addition and Subtraction Objective: Students will be able to solve equations by using addition and subtraction.
1 CHAPTER 6 HEAT TRANSFER IN CHANNEL FLOW 6.1 Introduction (1) Laminar vs. turbulent flow transition Reynolds number is where  D tube diameter  u mean.
Lecture Objectives: Explicit vs. Implicit Residual, Stability, Relaxation Simple algorithm.
Mass Transfer Coefficient
Chapter 6 Introduction to Forced Convection:
Introduction to Fluid Mechanics
Lecture Objectives Review Define Residual and Relaxation SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations.
 ~ 0 [u(x,y)/Ue] (1 – u(x,y)/Ue)dy
Note – throughout figures the boundary layer thickness is greatly exaggerated! CHAPTER 9: EXTERNAL INCOMPRESSIBLE VISCOUS FLOWS Can’t have fully developed.
HEAT TRANSFER FINITE ELEMENT FORMULATION
Modeling of the Unsteady Separated Flow over Bilge Keels of FPSO Hulls under Heave or Roll Motions Yi-Hsiang Yu 09/23/04 Copies of movies/papers and today’s.
Do Now (3x + y) – (2x + y) 4(2x + 3y) – (8x – y)
FREE CONVECTION 7.1 Introduction Solar collectors Pipes Ducts Electronic packages Walls and windows 7.2 Features and Parameters of Free Convection (1)
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Reynolds Analogy It can be shown that, under specific conditions (no external pressure gradient and Prandtle number equals to one), the momentum and heat.
A Numerical Solution to the Flow Near an Infinite Rotating Disk White, Section MAE 5130: Viscous Flows December 12, 2006 Adam Linsenbardt.
INTRODUCTION TO CONVECTION
Boundary Layer on a Flat Plate: Blasius Solution H z from Kundu’s book Assuming displacement of streamlines is negligible →u = U = constant everywhere,
Lecture Objectives: Define 1) Reynolds stresses and
APPLICATION TO EXTERNAL FLOW
BOUNDARY LAYERS Zone of flow immediately in vicinity of boundary Motion of fluid is retarded by frictional resistance Boundary layer extends away from.
Lecture Objectives: - Numerics. Finite Volume Method - Conservation of  for the finite volume w e w e l h n s P E W xx xx xx - Finite volume.
Lecture Objectives Review wall functions Discuss: Project 1, HW2, and HW3 Project topics.
Heat Transfer Su Yongkang School of Mechanical Engineering # 1 HEAT TRANSFER CHAPTER 6 Introduction to convection.
DEPARTMENT OF MECHANICAL ENGINEERING K.I.E.T, GHAZIABAD NUMERICAL ANALYSIS OF FLUID FLOW AND HEAT TRANSFER IN MICROCHANNEL UNDER THE GUIDANCE OF Mr. Deepak.
Objective Introduce Reynolds Navier Stokes Equations (RANS)
Chapter 4 Fluid Mechanics Frank White
Chapter 8: Internal Flow
Lecture Objectives: Discuss HW4 Continue with advance air systems
Objective Numerical methods SIMPLE CFD Algorithm Define Relaxation
Lecture Objectives: Review Explicit vs. Implicit
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Lecture Objectives Unsteady State Ventilation Modeling of PM.
Objective Review Reynolds Navier Stokes Equations (RANS)
Lecture Objectives Learn about Implementation of Boundary Conditions
Lecture Objectives Finish with boundary conditions Unsteady State Flow.
Lecture Objectives: Advance discretization methods
Objective Unsteady state Numerical methods Discretization
Objective Numerical methods.
Fluid is contained between two parallel
Lecture Objectives LES Multizone modeling.
Heat Transfer Coefficient
Objective Numerical methods Finite volume.
Lecture Objectives Review for exam Discuss midterm project
Objective Discuss Energy and Concentration conservation equations
Objective Reynolds Navier Stokes Equations (RANS) Numerical methods.
Mathematical Solution of Non-linear equations : Newton Raphson method
Lecture Objectives: Boundary Conditions Project 1 (software)
Lecture Objectives: Start using CFD Software Class project 1
Section 8, Lecture 1, Supplemental Effect of Pressure Gradients on Boundary layer • Not in Anderson.
3rd Lecture : Integral Equations
Presentation transcript:

Lecture Objectives: Simple Algorithm vs. Direct Solvers Discuss HW 3 Boundary Conditions

SIMPLE algorithm Guess pressure field: P*W, P*P, P*E, P*N , P*S, P*H, P*L 1) For this pressure field solve system of equations: x: y: ……………….. ……………….. z: Solution is: 2) The pressure and velocity correction P = P* + P’ P’ – pressure correction For all nodes E,W,N,S,… V = V* + V’ V’ – velocity correction Substitute P=P* + P’ into momentum equations (simplify equation) and obtain V’=f(P’) V = V* + f(P’) 3) Substitute V = V* + f(P’) into continuity equation solve P’ and then V 4) Solve T , k , e equations

SIMPLE algorithm start Guess p* p=p* Step1: solve V* from momentum equations Step2: introduce correction P’ and express V = V* + f(P’) Step3: substitute V into continuity equation solve P’ and then V Step4: Solve T , k , e equations no Converged (residual check) yes end

Other methods SIMPLER SIMPLEC variation of SIMPLE PISO COUPLED - use Jacobeans of nonlinear velocity functions to form linear matrix ( and avoid iteration )

Newton-Raphson method (example of Jacobean solver) Faster convergence Used in many professional tools (MathCAD, EES, MatLab, Mathematica, etc) More complex for programming Requires linear solver Based on Taylor-Series Expansion You need first derivative for each function to create the Jacobean matrix Equations in the form where all side are on one side of equality sign Our simple example: X-Y/2=-1 → X-Y/2+1=0 X2-Y=-3 → X2-Y+3=0

Newton-Raphson method Section 6.11 of handouts Our simple example: f1 = X-Y/2+1=0 f2 = X2-Y+3=0 Steps: 0) Find derivatives d(f1)/dX =1 , d(f1)/dY =-1/2 d(f2)/dX =2X , d(f2)/dY =-1 1) Initial guess: Y(0)=2, X(0)=2 2) Find f1(Y(0),X(0))=2-2/2+1=2 f2(Y(0),X(0))=22-2+3=5 3) Using derivatives and guess values find the Jacobean matrix 4) Solve the matrix using linear solver and find DX and DY 5) Find Y(1)=Y(0)+ DY, X(1)=X(0)+ DX, Repeat step (2) with Y(1) and X(1) ….. Follow the procedure till convergence Unknowns (correction Dxi) Jacobean matrix Function values for guessed variables

Surface boundaries wall functions Wall surface Introduce velocity temperature and concentration Use wall functions to model the micro-flow in the vicinity of surface Using relatively large mesh (cell) size.

Surface boundaries wall functions Course mesh distribution in the vicinity of surface Y Wall surface Velocity in the first cell will depend on the distance y.

Surface boundary conditions and log-wall functions E is the integration constant and y* is a length scale Friction velocity u+=V/Vt y*=(n/Vt) y+=y/y* k- von Karman's constant The assumption of ‘constant shear stress’ is used here. Constants k = 0.41 and E = 8.43 fit well to a range of boundary layer flows. Surface cells Turbulent profile Laminar sub-layer

K-e turbulence model in boundary layer Wall shear stress Eddy viscosity V Wall function for e Wall function for k

Modeling of Turbulent Viscosity in boundary layer forced convection natural convection

Temperature and concentration gradient in boundary layer Depend on velocity field Temperature q=h(Ts-Tair) Concentration F=hc(Cs-Cair/m) m=Dair/Ds m- segregation coefficient h = f(V) = f(k,e) Tair Ts Into source term of energy equation hC = f(V, material prop.) Cair Cs