|
[Sponsors] |
September 11, 2015, 01:12 |
upwind scheme for poisson equations?
|
#1 |
New Member
Layne Staley
Join Date: Sep 2015
Posts: 7
Rep Power: 10 |
I was trying to model the velocity of a fluid in the cross section of a rectangular duct, with its source term being pressure gradient in z direction. (cross section defined in x and y), the governing equation being del^2 = -dp/dz.. w being z velocity. how do I implement the upwind scheme to find flux accross boundaries of a control volume here(question asks me to), given that there are no convective terms in the equation?
|
|
September 11, 2015, 03:37 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
No, you are considering the wrong discretization ...upwind is a discretization suitable for hyperbolic equations where you have dependence and influence regions defined by real characteristic curves. Your problem is defined by Lap w = constant (w=0 as Bc.s) that is an elliptic equation which shows imaginary characteristic curves. Therefore, there are no reasons to select particular zones of the flow as happens for the upwind. You can use FD centred discretization, for example a second order discretization for the second derivatives. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Upwind scheme, surface flux | wenxu | OpenFOAM Programming & Development | 0 | August 4, 2015 23:03 |
bounded Gauss upwind Scheme | deepinheart | OpenFOAM Running, Solving & CFD | 1 | February 23, 2015 05:57 |
When to use upwind or central differencing schemes? | quarkz | Main CFD Forum | 6 | August 19, 2011 03:24 |
modification of upwind scheme | venkataramana | OpenFOAM | 4 | March 25, 2011 02:44 |
Parameter for the cubic upwind scheme in OpenFOAM | JinBiao | OpenFOAM | 1 | May 23, 2010 03:51 |