CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > System Analysis

1D second order upwind

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 1, 2014, 13:59
Default 1D second order upwind
  #1
New Member
 
peter_3m
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?
Regards,
Attached Files
File Type: txt upwindscd_1_1_14.txt (8.8 KB, 61 views)
tgts is offline   Reply With Quote

Reply


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 Off
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 09:21
2nd order upwind scheme (Fluent and CFX) Far FLUENT 0 May 22, 2011 02:50


All times are GMT -4. The time now is 22:06.