|
[Sponsors] |
October 20, 2006, 12:56 |
2d upwind
|
#1 |
Guest
Posts: n/a
|
Is it possible to do a simple 2d code with upwinding for the convective fluxes? Everything seem to work fine in 1D, but adding the second dimension is quite a mess ...
|
|
October 22, 2006, 03:37 |
Re: 2d upwind
|
#2 |
Guest
Posts: n/a
|
yes it is possible...its done all the time. its even a bigger mess when u go 4 3D...
|
|
October 22, 2006, 05:08 |
Re: 2d upwind
|
#3 |
Guest
Posts: n/a
|
The fact is that while in 1d the flux splitting is quite straightforward, in 2d it not so ... especially when the flow is aligned in one grid direction (roughly). Any practical suggestions?
|
|
October 23, 2006, 02:23 |
Re: 2d upwind
|
#4 |
Guest
Posts: n/a
|
What I am guessing is your scheme is upwind when the mach number is greater then 1, right ?
So I guess the problem you are facing is that when you have 2D, the flow along x direction maybe supersonic and along y its subsonic or vice versa.... So based on my above assumptions on what the problem is, this is my suggestion. If you are traversing along x directions or I lines, check if the dot product of the velocity vector and normal to the edge (along J line or y dir) has magnitude greater then a (speed of sound), and use upwinding accordingly. Same thing holds when traversing along y direction. I hope this is what you wanted to know, otherwise post more details about the method you are using, like FD or FV, and the scheme etc. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2nd order upwind vs 2nd order upwind!!! | Far | Main CFD Forum | 7 | March 14, 2013 13:29 |
Why results differs between upwind and vanLeerV | kjetil | OpenFOAM Running, Solving & CFD | 1 | November 10, 2012 05:55 |
Second order upwind is not UPwind!!! | Far | CFX | 9 | May 31, 2011 09:21 |
2nd order upwind scheme (Fluent and CFX) | Far | FLUENT | 0 | May 22, 2011 02:50 |
Roe upwind fluxes!! | Magesh | Main CFD Forum | 2 | July 17, 2003 12:35 |