||June 14, 2012 18:38
Velocity field in staggered grid
Hi everybody, I am trying to write a simple 2D CFD code based on Patankar's book, 1980 (a.k.a. "The Bible"). I want to use a staggered grid and implement the SIMPLE algorithm. However I have a question (actually I have many but let's keep it simple):
- If there is one grid for pressure, one grid for u (x axis velocity) and one grid for v (y axis velocity), as sketched in the attached figure, how could I plot the velocity vector field, if u and v do not even share the same grid? do I have to, somehow, interpolate u and v onto the main grid?
Thanks a lot for your help.