CFD Online Logo CFD Online URL
Home > Forums > General Forums > System Analysis

1D second order upwind

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

LinkBack Thread Tools Display Modes
Old   January 1, 2014, 13:59
Default 1D second order upwind
New Member
Join Date: Dec 2013
Posts: 1
Rep Power: 0
tgts is on a distinguished road
Hi all,
I am working on modeling hydrodynamic flow using a 2nd order upwind scheme (2nd order Runge-Kutta for the temporal discretization). The code mainly involves solving the Saint-Venantís equation (SWE) for a one-dimensional flow with a given boundary condition. Here I have attached the code. While running the model it has a problem both in stability and accuracy. But, according to the classical boundary condition that I used, it has to converge to a uniform 1m flow depth throughout the profile.

Could anyone help me please?
Attached Files
File Type: txt upwindscd_1_1_14.txt (8.8 KB, 58 views)
tgts is offline   Reply With Quote


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
Implementation of 2nd order upwind scheme jaason OpenFOAM Running, Solving & CFD 4 February 6, 2015 18:40
2nd order upwind vs 2nd order upwind!!! Far Main CFD Forum 7 March 14, 2013 13:29
How to active "3rd Order Upwind Monotonicity Preserving" ? wind FLOW-3D 1 February 21, 2012 11:16
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

All times are GMT -4. The time now is 12:52.