Hi everybody,
I am computin
Hi everybody,
I am computing a jet in still air and I want to test different discretization schemes for the convection term using simpleFoam. I set up the geometry (axisymmetric), got the solution with default parameters (first order upwind) and then I wanted to switch to QUICK scheme (to compare the solution with Fluent). Therefore I set div(phi,U) Gauss QUICK; w/o changing any other parameter. After few iterations (50) I get suddenly unphysical velocities (1e3 m/s) near the outflow. I am using the standart kEpsilon model with wall function. Am I missing something? Thanks Massimiliano 
No, that sounds like QUICK to
No, that sounds like QUICK to me...

Actually, QUICK will behave ve
Actually, QUICK will behave very much like other 2nd order schemes and will not cause you much difference in the solution for steady turbulent flows compared to central differencing or Gamma schemes.
What you probably got is a recirculation across the outlet boundary of some sort, e.g. a vortex straddling the outlet patch with sone flow going in. That will make it blow up in a hurry. You will need to use a combination of totalPressure and inletOutlet boundary conditions  if you don;t know what I'm talking about, please search the discussion group and documentation. Enjoy, Hrv P.S. If the blowup were simply to do with QUICK, it would indicate that the scheme has not been implemented correctly, and I know it is. :) 
My current implementation of Q
My current implementation of QUICK has been well tested and should work fine for any case for which linear works.
Using inletOutlet for U at the outlet may solve the problem if you specify the inletValue to be (0 0 0) in which case it should be used in conjunction with a fixed pressure BC not totalpressure because the totalpressure evaluation is only used for inflow and hence will be equivalent to the fixedpressure but more expensive to evaluate. 
Hmm, looks exactly like my ori
Hmm, looks exactly like my original implementation (1995, my Thesis)... note the bounding between upwind and downwind values.
Anyway, there's a "full" unbounded QUICK somewhere about as well, if you wish to try that, but it's no great shakes because it is unbounded. Hrv 
It's easy to remove the upwind
It's easy to remove the upwinddownwind bounding from the scheme but would be rather unwise. In OpenFOAM1.1 I also included UMIST which is a TVD form of QUICK and MUSCL which is another related TVD scheme which is great for shockcapturing but is also generally a decent scheme and a lot better behaved than QUICK.

Thank you for your explanation
Thank you for your explanations.
The problem is solved using inletOutlet condition for U, I can use QUICK scheme both for U and kepsilon equations. Of course, particular attention in setting underrelaxation factors for turbulence equations have to be payed at the beginning of the simulation... Thanks Massimiliano 
All times are GMT 4. The time now is 17:01. 