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

Problem in implementation of Shallow water equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2011, 15:28
Default Problem in implementation of Shallow water equation
  #1
New Member
 
Sumit
Join Date: Apr 2011
Posts: 1
Rep Power: 0
DeliriousPsycho is on a distinguished road
I am trying to implement shallow water equations as described in Finite-Volume Model for Shallow_water Flooding of Arbitrary Topography(Bradford and sanders). I got matlab code from the site of Sanders( http://sanders.eng.uci.edu/matlabcodes.html). For 2D it didn't take into account for bed elevation and wet/dry boundary. I extended the implementation to take account for bed elevation and wet/dry boundary. But the system gets unstable after sometime(Courant no. increases more than 1).

For Wet/Dry Boundary,
instead of F = 0.5(FL + FR - R*A*dW), equation for equating fluxes at the interface
i m doing , F = 0.5*(FL + FR), for extrapolation, is it correct?
and when height goes below 0.0, i m setting F = 0;

Is there anything else i need to do? Can anyone guide me how to apply conditions for wet/dry boundary? or provide me link to the code in which case of wet/dry boundary is implemented.

Thanks in advance

Cheers
Sumit
DeliriousPsycho is offline   Reply With Quote

Old   December 23, 2011, 07:01
Default solved?
  #2
Member
 
Andreas Ruopp
Join Date: Aug 2009
Location: Stuttgart / Germany
Posts: 31
Rep Power: 16
andyru is on a distinguished road
hi DeliriousPsycho,

did you manage to solve the problem with the wetdrying front? Currrently, I'm working on that problem, too. So I would be happy, if you could share your progress!

Best regards,

Andy
andyru 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
discrete model problem (water droplet evaporation) rabaeto1984 FLUENT 4 October 1, 2018 04:16
Air & water mixing problem praveenkumar FLUENT 0 April 15, 2010 02:14
A fundamental problem about Pressure equation of the potentialFoam solver dbxmcf OpenFOAM Running, Solving & CFD 0 October 6, 2006 11:32
shallow water and simple scheme AO Main CFD Forum 0 January 13, 2004 20:07
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 20:47.