CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Why results differs between upwind and vanLeerV

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

Like Tree3Likes
  • 3 Post By idrama

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2009, 04:58
Question Why results differs between upwind and vanLeerV
  #1
Senior Member
 
Join Date: Mar 2009
Location: Norway
Posts: 137
Rep Power: 17
kjetil is on a distinguished road
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;
div((-nuEffa*grad(Ua).T())) Gauss linear;
div((-nuEffb*grad(Ub).T())) Gauss linear;
}
... 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;
div((-nuEffa*grad(Ua).T())) Gauss linear;
div((-nuEffb*grad(Ub).T())) Gauss linear;
}
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
File Type: jpg pipe_upwind.jpg (29.5 KB, 288 views)
File Type: jpg pipe_vanLeer1.jpg (28.6 KB, 275 views)
kjetil is offline   Reply With Quote

Old   November 10, 2012, 04:55
Default
  #2
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 17
idrama is on a distinguished road
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.
idrama is offline   Reply With Quote

Reply

Tags
difference, scheme, upwind, vanleer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:13.