|
[Sponsors] |
April 2, 2015, 23:53 |
How to calculate <u'v'> in a staggered grid?
|
#1 |
Member
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 15 |
Hi all,
I am coding a finite-difference CFD solver and I am using staggered grid. My question is: how do we calculate <u'v'> for post processing? The reason I ask is because, for the staggered grid configuration, u and v are stored at the east and north face (not at a same point). It will be problematic if we simply do <u(i,j,k)*v(i,j,k)>. My solution now is to interpolate u and v to the cell center, and then do <u(i,j,k)*v(i,j,k)>. I am wandering if we can have a better solution. Thanks in advance. Best regards, |
|
April 3, 2015, 04:19 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
yes you wrote, you need to interpolate... if you have a second order code, a linear interpolation is congruent to the local truncation error of the FD scheme |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Velocity field in staggered grid | michujo | Main CFD Forum | 4 | June 15, 2012 08:42 |
staggered grid | kabilan | Main CFD Forum | 0 | March 17, 2011 08:30 |
Maintaining symmetry on a staggered cartesian grid, | dandalf | Main CFD Forum | 0 | December 2, 2010 06:54 |
How to calculate grid width in control volume | Ingenierias2003 | OpenFOAM | 5 | November 24, 2010 13:40 |
Incompressible flow solver (staggered grid) | J. Ehrhard | Main CFD Forum | 1 | October 8, 1998 20:47 |