PDA

View Full Version : Nonuniform mesh with the numerical method of characteristics


kobjob
Nov21-11, 01:53 PM
Could someone please direct me to a good book/article that describes how to use a coarse and fine spatial mesh with the numerical method of characteristics?
Thank you.
Kate

hunt_mat
Nov21-11, 05:01 PM
The book Modern Compressible Flow: With Historical Perspective by John D. Anderson is good as well as Gas Dynamics by James E.A. John and Theo G. Keith.

What are you using to write your code? Fortran, matlab?

kobjob
Nov21-11, 06:07 PM
Thanks for your suggestions!

I'm using Matlab. I'm not sure how/if I should be moving the fine mesh as the characteristics move.

Thanks again,
Kate

hunt_mat
Nov21-11, 06:14 PM
The main thing with characteristics codes is calculating the actual points. You have a normal rectangular grid to begin with and then you have you characteristic mesh and you have to go from you characteristics mesh (where the values are exact) to your rectangular mesh where the values become approximate.

I wouldn't mind having a peek at your code when you're done.