Given by Geoffrey C. Fox at Delivered Lectures of CPS615 Basic Simulation Track for Computational Science on 14 November 96. Foils prepared 29 December 1996
Outside Index
Summary of Material
Secs 64.8
This started with a description of current Web set-up of CPS615 and other foilsets |
Then we started the foilset describing Physical Simulations and the various approaches -- Continuum Physics, Monte Carlo, Quantum Dynamics, and Computational Fluid Dynamics |
For CFD we do enough to discuss why viscosity and High Reynolds numbers are critical in air and similar media |
We discuss computation and communication needs of CFD compared to Laplace equation |
Outside Index
Summary of Material
Geoffrey Fox |
NPAC |
Room 3-131 CST |
111 College Place |
Syracuse NY 13244-4100 |
This started with a description of current Web set-up of CPS615 and other foilsets |
Then we started the foilset describing Physical Simulations and the various approaches -- Continuum Physics, Monte Carlo, Quantum Dynamics, and Computational Fluid Dynamics |
For CFD we do enough to discuss why viscosity and High Reynolds numbers are critical in air and similar media |
We discuss computation and communication needs of CFD compared to Laplace equation |
Quantum Physics |
Particle Dynamics |
Statistical Physics |
Continuum Physics
|
General Relativity and Quantum Gravity
|
This is a fundamental description of the microscopic world. You would in principle use it to describe everything but this is both unnecessary and too difficult both computationally and analytically. |
Quantum Physics problems are typified by Quantum Chromodynamics (QCD) calculations and these end up looking identical to statistical physics problems numerically. There are also some chemistry problems where quantum effects are important. These give rise to several types of algorithms.
|
Quantum effects are only important at small distances (10-13 cms for the so called strong or nuclear forces, 10-8 cm for electromagnetically interacting particles). |
Often these short distance effects are unimportant and it is sufficient to treat physics classically. Then all matter is made up of particles - which are selected from set of atoms (electrons etc.). |
The most well known problems of this type come from biochemistry. Here we study biologically interesting proteins which are made up of some 10,000 to 100,000 atoms. We hope to understand the chemical basis of life or more practically find which proteins are potentially interesting drugs. |
Particles each obey Newton's Law and study of proteins generalizes the numerical formulation of the study of the solar system where the sun and planets are evolved in time as defined by Gravity's Force Law |
Astrophysics has several important particle dynamics problems where new particles are not atoms but rather stars, clusters of stars, galaxies or clusters of galaxies. |
The numerical algorithm is similar but there is an important new approach because we have a lot of particles (currently over N=107) and all particles interact with each other. |
This naively has a computational complexity of O(N2) at each time step but a clever numerical method reduces it to O(N) or O (NlogN). |
Physics problems addressed include:
|
Large systems reach equilibrium and ensemble properties (temperature, pressure, specific heat, ...) can be found statistically. This is essentially law of large numbers (central limit theorem). |
The resultant approach moves particles "randomly" asccording to some probability and NOT deterministically as in Newton's laws |
Many properties of particle systems can be calculated either by Monte Carlo or by Particle Dynamics. Monte Carlo is harder as cannot evolve particles independently. |
This can lead to (soluble!) difficulties in parallel algorithms as lack of independence implies that synchronization issues. |
Many quantum systems treated just like statistical physics as quantum theory built on probability densities |
Replace particle description by average. 1023 molecules in a molar volume is too many to handle numerically. So divide full system into a large number of "small" volumes dV such that:
|
In principle, use statistical physics (or Particle Dynamics averaged as "Transport Equations") to describe volume dV in terms of macroscopic (ensemble) properties for volume |
Volume size = dV must be small enough so macroscopic properties are indeed constant; dV must be large enough so can average over molecular motion to define properties
|
Computational Fluid Dynamics is dominant numerical field for Continuum Physics |
There are a set of partial differential equations which cover
|
We apply computational "fluid" dynamics most often to a gas - air. Gases are really particles |
But if a small number (<106) of particles, use "molecular dynamics" and if a large number (1023) use computational fluid dynamics. |
There are other equations describing "Energy" which involve
|
and final equation is Equation of state
|
Features of Navier-Stokes Equations
|
You solve these problems by discretizing mesh in x, y and z. |
Typically one might imagine some 100 points in each dimension. |
i.e. 106 grid points in three dimensions |
Flow Simulation ( Reynolds Averaged Approximation ):
|
Proof of concept 1000-->100 0.3-->3
|
Automated Design 0.1-->0.01 3000-->30,000 |
What sort of equations does CFD give ? |
Put x component of velocity u = v x |
and let r be density and p pressure |
Take the case of incompressible flow where the density of fluid is constant |
r ¶u/ ¶t + r ( v .Ñ) u = - ¶p/ ¶x + m Ñ 2u |
Make dimensionless with scaling transformations |
x ® x / L |
t ® t / T |
v ® v / V |
u ® u / V |
p ® p / ( r V2 ) |
Viscosity is "resistance" to flow
|
Various Limits
|
(from Hirsch, Numerical Computation of Internal and External Flows, Wiley) |
Eddy's, vortices etc produced in otherwise smooth flow. Happens near boundaries but vortices can be created at boundary but move off into "fluid volume". |
when viscosity m = 0 |
Boundary condition is that velocity must // to surface |
when m is nonzero |
Boundary condition is full v = 0 at surface (parallel and perpendicular components zero) |
Note: As equation goes from first to second order when m = 0, need an extra boundary condition |
Inviscid Euler Equation outside boundary layer |