







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








The speed of digital computers has increased by more than a trillion times during the last five decades. The exponential increase in speed (measured in flops) has continued at a steady pace even though the underlying hardware technology and the supercomputer architecture has undergone major shifts.
1.1. Motivation
Defense application:
Plate impact (from www.abaqus.com)
1.1. Motivation
The analysis of the Embraer ERJ-135 commuter jet confirmed the viability of the design under a wide range of conditions.
1.1. Motivation
Aerospace CFD application:
(from Fluent, Inc.)
Total pressure at the scoop inlet of the jet engine
Static pressure over the right engine of the ERJ-145 (^) Velocity vectors colored by velocity magnitude in a slice through the engine nacelle of the ERJ-
1.1. Motivation
Aerospace CFD application:
(from Fluent, Inc.)
Passenger comfort is the aim of vehicle climate control. A computational model of the interior of the vehicle yields comfort indicators that allow the design to be improved
1.1. Motivation Automotive CFD application:
Vehicle interior modeling (from Fluent, Inc.)
Question : When is a numerical solution preferable to a closed-form solution (and vice- versa)?
ANALYTICAL generality simplifications simplicity (geometry, material,…) NUMERICAL few simplifications one set of variables can be messy and wrong!
1.1. Motivation
Five major steps
First Step: problems of entirely different physical backgrounds may have similar governing equations , and thus same steps 2- e.g. Laplace and Poisson equations
1.2. Steps for PDEs
∂^2 ψ ∂ x^2
(^2) ψ ∂ y^2
= 2 μθ beam torsion with anugular twist
∂^2 φ ∂ x^2
(^2) φ ∂ y^2
= −Ω incompressible flow with vorticity
∂^2 T ∂ x^2
∂ y^2
κ
heat transfer with energy source Q
First Step : Pick appropriate governing equations, boundary conditions, initial conditions to capture the physical phenomena of interest. Example: fluid flow:
Note #1: Viscosity ( μ) may not be Newtonian (e.g., blood flow, de-icing fluid, etc.) or the not well defined (high temperatures, turbulent flows).
Note #2: Continuum assumption may not be correct:
spacecraft may “see” molecular mean free paths of scale of body dimension flow in MEMS devices can have sub-micron features, e.g., micro-fluidics, micro-solid mechanics where phenomena are of order of finite crystal size
1.2. Steps for PDEs
∂^2 φ ∂ x^2 + ∂^2 φ ∂ y^2 = 0 incompressible flow without vorticity ∂^2 φ ∂ x^2 + ∂^2 φ ∂ y^2 = −Ω incompressible flow with vorticity ∂^2 ω ∂ x^2 + ∂^2 ω ∂ y^2 = −∂ω ∂ t unsteady incompressible flow with vorticity
ρ u ∂ u ∂ x +ρ v ∂ v ∂ x = −∂ p ∂ x +μ ∂
(^2) u ∂ x^2
(^2) u ∂ y^2
⎟ steady viscous flow
(^2) u ∂ x^2
(^2) u ∂ y^2
⎟ turbulent viscous flow
Third Step : Assemble our discretized equations, e.g. as a linear system, i.e., Au=b where the unknowns can be the temperatures at each node e.g., u T^ = [T 1 , T 2 , …. Tn ]
Converting all the discretized equations (e.g. [Ti+1 - 2Ti + Ti-1] /( Δ x^2 ) = -Q/ κ ), BC and IC into Au=b referred to as “assembly”.
In some cases, we have non-linear systems, e.g., , which can be linearized such that b ( u ) is assumed held constant for each iteration.
We can also have different sets of governing equations for different regions:
viscous flow close to wing surface and inviscid flow at other locations fluid/structure (aeroelastic) interaction Solution: Solve simultaneous (fully coupled) Iterate between systems (loosely coupled)
1.2. Steps for PDEs
ρ u ∂ u ∂ x = −∂ p ∂ x
Fourth Step : Consider the nature/character of resulting matrix problem
Note #1: Brute force vs. elegant solution schemes (See Chapter 3)
Note #2: Sometimes assembling A not needed (useful for very large systems)
1.2. Steps for PDEs
Fifth Step : Now “simply” code up and run (and debug and run and debug and run....).
If iterative solution scheme, e.g., non-linear systems or stiff linear systems, some criteria for convergence must be used. Overall uncertainty associated with a) governing equation assumptions b) discretization c) convergence properties
Other issue when designing code: Computer hardware: serial, vector and parallel computers. E.g., massively parallel systems with local memory and instruction are most efficient when most of the computations are local and do not require a lot of memory passage between nodes.
1.2. Steps for PDEs
[Ti+1 - 2Ti + Ti-1] /( Δ x^2 ) = -Q/ κ
1.2. Steps for PDEs
Chapters 4 and 5 emphasis
Chapter 3 emphasis
d^2 T dx^2
κ
Simplify logic of algorithm and use subroutines
Design, write and debug code with incremental (10 line increment) approach
Use lots of comment lines for each major step
1.3. Programming Guides