# Simulation the flow of river by OpenFoam

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

 December 14, 2010, 01:34 Simulation the flow of river by OpenFoam #1 New Member   Wind Join Date: Nov 2010 Posts: 10 Rep Power: 9 Dear all I want to simulate the 3D steady state flow in river (about 2km) based on about 1000 field -surveyed point defining the bathymetry. The boundary inlet is the water level. Could you help me to do it. Thank you very much. Fuji

 December 14, 2010, 03:38 #2 Senior Member   Bernhard Join Date: Sep 2009 Location: Delft Posts: 790 Rep Power: 15 What information do you want to obtain using the simulation?

 December 14, 2010, 04:29 #3 Senior Member   Cyprien Join Date: Feb 2010 Location: Stanford University Posts: 262 Rep Power: 11 There is a Shallow water solver called shallowWaterFoam (you can find it in the incompressible directory). I never try it but I think it is a good start to your problem. Shallow water equations are the classical way to simulate flow in the case where the horizontal length scale is much greater than the vertical length scale. The shallow water equations are derived from depth-integrating the Navier-Stokes equations. In these equations, the water level is a variable of the system. Regards, Cyp

 December 15, 2010, 03:23 #5 Member   Nico T Join Date: Aug 2010 Location: Leipzig, Germany Posts: 39 Rep Power: 9 Hello Fuji, I'm working on a same problem, river flow over theoretical as well as measured bedforms. I found a way to create a mesh by using Matlab->Blender->SnappyHexMesh. Maybe it's not the easiest way, but it works and the results a good. I use Matlab with a stl-file add-on and create stl files for every boundary wall (bedform, inlet, outlet, top, sidewalls). These stl files I merge in Blender and check the face orientation (all should show outside). Afterwards, I use snappyHexMesh to create a mesh. I'm not sure if OF can handle sediment transport?! Btw, which method did you use to measure 1000 survey points? Nico

 December 19, 2010, 23:43 #6 New Member   Wind Join Date: Nov 2010 Posts: 10 Rep Power: 9 Thank you very much Nico it is an excellent idea but I do not know how to use matlap. Is there other way to enter the input data (e.g. temporal variation of water elevation boundary) ? If I now study matlap, how long can I use matlap? please help me! Thank you very much Best regards Fuji

 December 20, 2010, 04:17 #7 Member   Nico T Join Date: Aug 2010 Location: Leipzig, Germany Posts: 39 Rep Power: 9 Hi Fuji, I think at first you need a mesh of your domain, including your bedform, and all other walls... inlet, outlet. Afterwards you can define a temporal water elevation bc at the inlet. I use groovyBC (http://openfoamwiki.net/index.php/Contrib_groovyBC) for this in interFoam (2-phase flow). But, I think there are many other possibilities. For creation of your bedform, I'm sure you can also use some import functions of CAD-Software. That would make more sense, if you want to use real measured data. But I didn't try it up to now, so that would be interesting for me as well. Hope that helps, Nico

 December 22, 2010, 00:15 #8 Member   Robert Ong Join Date: Aug 2010 Posts: 77 Rep Power: 9 Hi All, Do you know where can I find the proper description of what shallowWaterFoam does and that sort of thing? And is it possible to incorporate this with irradiance (attenuating of irradiance with respect to the water depth)? Kind Regards, Robert

 December 22, 2010, 02:17 #9 New Member   Wind Join Date: Nov 2010 Posts: 10 Rep Power: 9 Thanks a lot Nico, I will try to use groovyBC. Could you send me some picture about your method? Best Regards Fuji

 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 Weihua Main CFD Forum 6 November 17, 2015 10:33 AirS OpenFOAM 0 January 12, 2010 08:08 universez OpenFOAM Running, Solving & CFD 0 January 3, 2010 14:08 SimonH. OpenFOAM 0 October 27, 2009 05:39 Kes FLUENT 2 May 27, 2008 04:48

All times are GMT -4. The time now is 07:39.