|
[Sponsors] |
August 20, 2007, 07:49 |
Confusion abt non-uniform staggered grid
|
#1 |
Guest
Posts: n/a
|
Hello,
I'm trying to write a code using SIMPLE on staggered cartesian grids. The books I read mention that u,v,p each are solved on their control volume. However, all the examples are given on uniform grids. What if the grid are non-uniform? If the p nodes are defined on the center of its control volume, is it correct to say that the u nodes will be on the left, right faces of the p control volume? In that case, is the left,right faces of the u control volume on the same location as the p nodes? But if that's the case, u will not be in the center of its own control volume. Or the p nodes do not coincide with the left, right faces of the u control volume and u is at the center of its own control volume. Which one is correct? Or can both be used? Is there any preferred choice? Thank you. |
|
August 21, 2007, 08:14 |
Re: Confusion abt non-uniform staggered grid
|
#2 |
Guest
Posts: n/a
|
the type of scheme you apply is important. and you have to use weighted interpolation.
|
|
August 29, 2007, 04:46 |
Re: Confusion abt non-uniform staggered grid
|
#3 |
Guest
Posts: n/a
|
for a 1d problem let's say, two adjacent p control volumes will have lengths delta_x_1 and delta_x_2. the u control volume will thus have length 1/2(delta_x_1 + delta_x_2). is that the confusion? in the program have one delta_x array and subsequently when the delta_x of p cv is required, use that starightway. when the delta_x of the u cv is required, go by the algebra as above. remember delta_x_1/delta_x_2 ratio (larger/smaller) should not exeed 1.2 or so, if delta_x_1 is larger.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free jet simulation | msarkar | OpenFOAM Running, Solving & CFD | 39 | May 11, 2021 13:21 |
chtMultiRegionSimpleFoam | javad814 | OpenFOAM | 1 | September 26, 2011 13:30 |
Need help with boundary conditions: open to atmosphere | Wolle | OpenFOAM | 2 | April 11, 2011 07:32 |
rhoSimpleFoam | claco | OpenFOAM | 7 | April 20, 2010 04:32 |
RasInterFoam STRANGE RESULTS AT BOUNDARY | kumar2 | OpenFOAM Running, Solving & CFD | 8 | March 24, 2008 18:38 |