Kihwan Lee



CW11, Codw Workshop 11 at ACD, SLAC

The following programs are NOT error proof
you are welcome to use it as you like, but they do have errors, some major some minor. So, use it at ur own discretion.
These are written years ago and I didn't really have any established coding style. Not easy to read, nor clean, but should be good enough for fun.

Matrix Calculation:
Ellipsoid Eigenvectors and New Coordinate System
Deflection Angle and all that
SVD for mystery.pgm
SVD for the example marix
Tri-diagonal Solver

CFD: Computational Fluid Dynamics
Model Equations (simple equations used as test base)
Burger's equation, Non-Conservative Form
Burger's equation, Conservative Form
Heat Equation w/ Free/Fixed Boundary
Spline interpolation using Cubic spline: u need to provide starting point, ending point, and y values for each point
Polynomial and Cubic spline fit using the given set of data

Caputring Shock by Murman-Cole Method
Quasi 1-D Stegger-Warming
Quasi 1-D Modified Stegger-Warming
Couette Flow using Implicit, Explicit, CrankNicolson
2-D MSW Euler Solver, implicit, explicit
2-D MSW Navier Stokes Solver: change viscosity coef'
3-D MSW Euler Solver : has minor problems
Multigrid : coming up
Adjoint : coming up

Applications on Compressible Flow:
Wave Drag Calculations for Cone
Wave Drag for Elliptic Area Distribution
Wave Drag for Elliptic Source Distribution
2-D Channel flow using Characteristics

Applications on Incompressile Flow:
Potential Flow
Lift Coefficient
Boundary Layer Calculation - link not available

Spectral Method: (functions are not included for Matlab file)
Poisson Solver using Sine Transform
Wave Equation by Chebyshev Tau Method
Burger's Equation Shock capturing by FFT collocation with filtering

Mathematical analysis on wave and shock front
1-D Euler Solver using 2nd order centered Godunov scheme

Massagin Passing Interface (MPI) and OpenMP for parallel computing
Poisson/Heat Equation solver using send/receive in MPI
Poisson/Heat Equation solver using Buffered send/receive in MPI
Poisson/Heat Equation solver using Non-blocking send/receive in MPI
Poisson/Heat Equation solver using sendreceive in MPI
Poisson/Heat Equation solver using OpenMP with Conjugate Gradient minimization algorithm
Poisson solver using Domain Decomposition Method : This is one most painful program I've ever written.
Graph Partitioning for Paralleling computing

Aeroelasticity
Calculating divergence speed of a stright wing using Strip theory and Pradtl's lifting line theory
Calculating flutter speed of wing using Theodorsen function -- fully unsteady 2D wing with 2 degrees of freedom
Load transfer between CFD and FEM grid: the first program I have written without having the entire code planned

Unstructured Mesh
Poisson/Heat Equation solver in 2-D Unstructured Mesh
Poisson/Heat Equation solver in 3-D Unstructured Mesh (detailes omitted)

Optimization
Modified Cholesky Factorization Program

Fourier Transform
Effect of Aliasing
Spectrogram generator for the wav file, using overlapping and non-overlapping windows
Identification of dial tone
Wandering wave tone generator

Misc:
Yoon, Dong Ju
Basics on Wine
Equations of Motion
Right and Wrong
Subscribe to Stanford News Group
DICTIONARY FROM WEBSTER!!!
Shell Programming

Friend's Websites

Helpful Websites




Perl Org/Shell Script
www consortium


Useful Unix Command:

Change extension of all files in the directory

From C Shell:
foreach file (*.php)
set new = `echo $file|sed 's/\(.*\.\)php/\1txt/'`;
mv $file $new;
end

Variable can be defined from the output of 'sed' program
Google