|
[Sponsors] |
October 16, 2001, 12:11 |
problem related to staggered grids
|
#1 |
Guest
Posts: n/a
|
hi,all,
when staggered grids used in my code to simulate flow field around a wedge(structural grids),i met a problem,for u equ.,the frist u cell with it's south interface touching the wedge,half of this interface is the wall,another half of this interface is in the flow,i have to deal with this interface as wall,but the resiual of the incompressible equ.(continuous equ.for this cell is large,and what more,this residual donot change small as others inner cell.i donot know why,maybe this big residual comes from this treatment,because for v and p equ.no needs to deal with this kind of interface.i was mixed by this problem for a long time,and try again and again,but failed,i hope someone to help me. thanks in advance pendy |
|
October 16, 2001, 13:27 |
Re: problem related to staggered grids
|
#2 |
Guest
Posts: n/a
|
See harmonic-mean gamma in Patankar, Numerical heat transfer and fluid flow
|
|
October 16, 2001, 16:15 |
Re: problem related to staggered grids
|
#3 |
Guest
Posts: n/a
|
(1). Twenty years ago, when I was using the code and method, it was very confusing to me about this method. (2). I have since stopped using this approach. (3). With the staggered grid, I think, you have to look at it in some approximate ways first. (that is, create your own tricks, to see how it works. or read more papers or get some helps from Prof. Patankar)
|
|
October 16, 2001, 22:21 |
Re: problem related to staggered grids
|
#4 |
Guest
Posts: n/a
|
hi,all
in my thread,i have said,that only half of this interface is the wall,another half of this interface is in the flow,NOT half of the cell is solid,i donot use the so called"block-off" method(in fact,i used it with projection method for incompressible flow without p in the momentum equ.but i failed,also because of the large residual of the continuous equ),so the harmonic_mean gamma isnot needed,and professor Patankar didnot show me how to deal with this problem in his book. i think,this problem is related to the arithmetic-staggered grid,because the models used by u,v,and p equ.arenot the same.when incompressible flow is simulated,the stagged grids method is often used,so,i think this problem should be meet by too many CFD people.hope someone give my hints. |
|
October 17, 2001, 09:46 |
Re: problem related to staggered grids
|
#5 |
Guest
Posts: n/a
|
Pendy,
Just split the surface integrals over the south face of this u-cell into a sum of two integrals. One will cover the flow part of the interface. The other will include the wall. Moreover, make sure that your discretization assures that once your solution conserves mass over scalar cells, mass will be conserved over staggered momentum cells. Mark |
|
October 17, 2001, 14:39 |
Re: problem related to staggered grids
|
#6 |
Guest
Posts: n/a
|
hi Zhu,
try gamma_u_s = (gamma_p*gamma_s)/(gamma_p+gamma_s) + (gamma_e*gamma_es)/(gamma_e+gamma_es) gamma_es is inside the wall and set to a very small negative value. Baetke, Werner & Wengle, Numerical simulation of trubulent flow over surface-mounted obstacles with sharp edges and corners, J. wing eng. ind. aerodyn.,1990 |
|
October 17, 2001, 22:10 |
Re: problem related to staggered grids
|
#7 |
Guest
Posts: n/a
|
thanks Capi for your help,but i didnot use the "block-off"method.
|
|
October 17, 2001, 22:26 |
Re: problem related to staggered grids
|
#8 |
Guest
Posts: n/a
|
thanks mark,
if i do just like what you said"split the surface integrals over the south face of this u-cell into a sum of two integrals. One will cover the flow part of the interface. The other will include the wall". there are some questions for me 1.how to locate the u,v and p in this u_cell with the help of staggered grids,does each half use itsown u,v and p? 2.i use 2nd order upwind scheme,how to calculate the flux on the 2 half parts of this interface? 3.the difference equ. for this cell will be of much diffence compared with other cell,it's willnot be convenient. maybe i didnot catch what you said best regards |
|
October 18, 2001, 04:10 |
Re: problem related to staggered grids
|
#9 |
Guest
Posts: n/a
|
Pendy,
There is really no problem to split the south face into two surfaces. You still have only a single staggered U-cell. There are no half-cells involved with their U, V, P. What concerns the convective flux through the open part of the south face, just use the mean value theorem for integrals. Then the convective flux will be equal to the mass flow rate times the value of the function (U in your case) in the middle of the open segment of your south face. The mass flow rate is known (half of the south mass flow rate for the left cell contributing to your U-cell). The value of U on the open segment can be obtained by the interpolation. The convective flux through the open part will modify the source term of your FV equation for the staggered U-cell. The other half of the south face (the wall) should be implemented in a standard way, i.e. it will modify your matrix of the coefficients and the source term. regards Mark |
|
October 19, 2001, 01:08 |
Re: problem related to staggered grids
|
#10 |
Guest
Posts: n/a
|
thanks Lipinski,i will try with your hints.
best regards |
|
October 27, 2001, 23:30 |
Re: problem related to staggered grids
|
#11 |
Guest
Posts: n/a
|
dear Lipinski,
when i use FDM,I meet this problem again,i know how to deal with this problem in FVM,but i am sorry ,i donot know how to treat this half-control interface in FDM,CAN you give me some advice? best regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem related to transiant analysis | Sangamesh | Siemens | 3 | May 7, 2007 05:09 |
Velocity boundary condition problem related | dmoroian | OpenFOAM Running, Solving & CFD | 3 | October 16, 2006 09:46 |
Problem related with UDF for dynamic mesh | Ryan | FLUENT | 6 | April 29, 2004 10:29 |
Problem related with UDF for dynamic mesh | Ryan | FLUENT | 1 | April 16, 2004 07:05 |
Staggered grids for compressible flow? | Frank Muldoon | Main CFD Forum | 4 | October 23, 1998 10:50 |