# Why results differs between upwind and vanLeerV

 Register Blogs Members List Search Today's Posts Mark Forums Read

July 23, 2009, 04:58
Why results differs between upwind and vanLeerV
#1
Senior Member

Join Date: Mar 2009
Location: Norway
Posts: 138
Rep Power: 17
Dear community,
I have been experimenting with different schemes for a pipe case, and have been running upwind and vanLeerV for the initial phase for two almost identical cases. A two phase flow w/ alpha = 0.5 with different velocities is used.

In setup 1 I used this setup for div schemes:
divSchemes
{
default none;
div(phia,Ua) Gauss upwind;
div(phib,Ub) Gauss upwind;
div(phib,k) Gauss upwind;
div(phib,epsilon) Gauss upwind;
div(phi,alpha) Gauss limitedLinear01 1;
}
... and for setup 2:
divSchemes
{
default none;
div(phia,Ua) Gauss vanLeerV 1;
div(phib,Ub) Gauss vanLeerV 1;
div(phib,k) Gauss upwind;
div(phib,epsilon) Gauss upwind;
div(phi,alpha) Gauss limitedLinear01 1;
}
But the results from the two setups are quite different, and I believe the only difference in my setup is the different schemes. After 10 seconds, the pipe exit looks very different in the two setups - see attached photos. And it is the vanLeer-case which is "delayed". Does anybody have an explanation to this? I suppose the two schemes should yield the same results?
Attached Images
 pipe_upwind.jpg (29.5 KB, 290 views) pipe_vanLeer1.jpg (28.6 KB, 277 views)

 November 10, 2012, 04:55 #2 Senior Member   Claus Meister Join Date: Aug 2009 Location: Wiesbaden, Germany Posts: 241 Rep Power: 17 Hallo kjetil, the difference between upwind and vanLeer is, that vanLeer is a scheme composed of upwind and central differencing. Of course, you can have different results, because upwind is alway first order accurate whereby vanLeer can have second order accuracy - when no step gradients occur. For a better understanding, I recommend to read Versteeg (Chapter about upwind, QUCIK etc.). He does a very good analysis about the different schemes. Cheers D.R., reza2031 and amolrajan like this.

 Tags difference, scheme, upwind, vanleer