# 2d upwind

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

 October 20, 2006, 11:56 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 ...

 October 22, 2006, 02:37 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...

 October 22, 2006, 04:08 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?

 October 23, 2006, 01:23 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.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Far Main CFD Forum 7 March 14, 2013 13:29 kjetil OpenFOAM Running, Solving & CFD 1 November 10, 2012 05:55 Far CFX 9 May 31, 2011 08:21 Far FLUENT 0 May 22, 2011 01:50 Magesh Main CFD Forum 2 July 17, 2003 11:35

All times are GMT -4. The time now is 21:00.