|
[Sponsors] |
February 20, 2011, 08:37 |
Divergence
|
#1 |
New Member
Join Date: Jan 2011
Posts: 6
Rep Power: 15 |
Could anybody tell me what die fvm::div(phi,U) scheme is doing in OpenFoam?
Is div(-phi,U) the same as -div(phi,U) ? |
|
February 21, 2011, 07:56 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
I suggest having a look at the Programmers Guide (P-38ff).
|
|
February 21, 2011, 09:38 |
|
#3 |
New Member
Join Date: Jan 2011
Posts: 6
Rep Power: 15 |
I read it already, but it does not help me.
According to the Programmers Guide -fvm::div(phi,U) und fvm::div(-phi,U) should make no difference, but in my case it does. |
|
April 5, 2011, 21:13 |
|
#4 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
It depends on what convection scheme you are using. If it is symmetric (linear or harmonic) it shouldn't make a difference. If it is upwind or downwind biased, adding the minus will obviously switch the bias direction to the other cell bordering the face.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF divergence of a vector | cris | FLUENT | 3 | September 4, 2014 19:06 |
Divergence problem for species transport model | MY | FLUENT | 3 | January 11, 2014 05:46 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 12:34 |
Role of divergence | shekharc | Main CFD Forum | 7 | July 5, 2005 13:08 |
divergence in MAC Method | Maciej Matyka | Main CFD Forum | 2 | December 19, 2000 11:43 |