CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

2d upwind

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 20, 2006, 11:56
Default 2d upwind
  #1
Tiz
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 ...
  Reply With Quote

Old   October 22, 2006, 02:37
Default Re: 2d upwind
  #2
the rock
Guest
 
Posts: n/a
yes it is possible...its done all the time. its even a bigger mess when u go 4 3D...
  Reply With Quote

Old   October 22, 2006, 04:08
Default Re: 2d upwind
  #3
Tiz
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?
  Reply With Quote

Old   October 23, 2006, 01:23
Default Re: 2d upwind
  #4
the rock
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.
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


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 08:21
2nd order upwind scheme (Fluent and CFX) Far FLUENT 0 May 22, 2011 01:50
Roe upwind fluxes!! Magesh Main CFD Forum 2 July 17, 2003 11:35


All times are GMT -4. The time now is 19:02.