CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Is OpenFOAM appropriate for a river simulation

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

Like Tree1Likes
  • 1 Post By liu

Reply
 
LinkBack Thread Tools Display Modes
Old   February 11, 2009, 22:50
Default This seems to be by far the mo
  #1
New Member
 
Jason Neuswanger
Join Date: Mar 2009
Location: Fairbanks, AK
Posts: 3
Rep Power: 8
jasonneuswanger is on a distinguished road
This seems to be by far the most comprehensive open-source CFD system around, but I can't find any examples of a fairly commonplace CFD task: simulating the flow of a river.

I would like to be able to simulate 3D steady state flow in a 100m reach of river based on about 2000 field-surveyed points defining the bathymetry. Is OpenFOAM appropriate for that, and if so can somebody point me to resources involving a similar application? At first glance it doesn't look like the meshing format is very conducive to inputting a 2000-point survey.

I also need to track the density of invertebrates drifting in the river. They need to be able to have positive, negative, or neutral "buoyancy" (depending on behavior). I'm considering two ways to do this: tracking them as individual particles, or tracking their probability density like a plume of ink or something. Is either option possible in OpenFOAM, and if so, what components should I read up on?

Thanks in advance for any advice.
jasonneuswanger is offline   Reply With Quote

Old   February 12, 2009, 07:13
Default hi, have a look on the "dam
  #2
Senior Member
 
Wolfgang Heydlauff
Join Date: Mar 2009
Location: Germany
Posts: 136
Rep Power: 9
wolle1982 is on a distinguished road
hi,

have a look on the "damn-break" tutorial in OpenFoam. this mostly fits your problem. you can mesh your river with Salome which also is OpenSource or use the snappyHexMesh Tool which would fit perferct on your problem.
wolle1982 is offline   Reply With Quote

Old   February 12, 2009, 12:27
Default We did some 3D CFD modeling of
  #3
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
We did some 3D CFD modeling of a river.

Here are two pictures



ramakant likes this.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   February 12, 2009, 12:42
Default I tried many method to model t
  #4
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
I tried many method to model the river bathymetry. The way used to generate the previous two plots is a little bit unusual.

First a flat bottom river mesh is generated. Then an "scour" mesh deformation process is done to move the mesh according to the bathymetry.

This mesh deformation method is used in the sediment transport model I developed for my Ph.D. thesis. The details can be found in

[1] X. Liu and M.H. García (2008). A 3D Numerical Model with Free Water Surface and Mesh Deformation for Local Sediment Scour. Journal of Waterway, Port, Coastal, and Ocean Engineering. 134(4): 203-217

[2] X. Liu. Numerical Models for Scour and Liquefaction around Object under Currents and Waves. Ph.D. thesis, University of Illinois at Urbana and Champaign, 2008
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   February 12, 2009, 13:03
Default Hi Xiaofeng The pics look r
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,619
Rep Power: 25
ngj will become famous soon enoughngj will become famous soon enough
Hi Xiaofeng

The pics look really nice ... where in the world are we?

The meshing routine: did you complete that in one "time step", or was it more stable to achieve the final bathymetry using several updating steps? Here I am thinking about the conservation of the discretization of the bed boundary layer, and how the discretization changes under large deformations given a certain diffusivity in the mesh-moving algorithm.

Did you do morphology in this setup as well or was it restricted to a flow analysis?

Best regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   February 12, 2009, 16:03
Default It's a river connecting two of
  #6
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
It's a river connecting two of the Great Lakes.

The mesh is deformed to its final status through many steps. The meshing routine is not ideal especially when you have steps or holes. And you don't have direct control on the grid space above the bed, i.e., the boundary layer. What I do is to try different diffusivity schemes and different parameters.

Maybe someone else has better idea to mesh a river with real bathymetry. I read somewhere people used the "projection" operation in Gridgen to project a flat bottom mesh into the bathymetry database. I tried but no luck. These things depend a lot on the experience of the user.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   February 12, 2009, 17:23
Default Thanks Xiaofeng. I got your p
  #7
New Member
 
Jason Neuswanger
Join Date: Mar 2009
Location: Fairbanks, AK
Posts: 3
Rep Power: 8
jasonneuswanger is on a distinguished road
Thanks Xiaofeng. I got your paper and I'll be studying it tonight.

Does anyone have any thoughts on my invertebrate "tracers"?
jasonneuswanger is offline   Reply With Quote

Old   December 14, 2010, 02:26
Default Simulation the flow of river by OpenFoam
  #8
New Member
 
Wind
Join Date: Nov 2010
Posts: 10
Rep Power: 6
fuji is on a distinguished road
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.
send me all reference document about it please!


Thank you very much.
Fuji
fuji is offline   Reply With Quote

Reply

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
CFD internship on simulation of racing cars using OpenFOAM vinz OpenFOAM 0 July 25, 2008 03:35
transonic simulation with OpenFoam Shyam Main CFD Forum 0 June 12, 2008 02:39
river flow richard CFX 1 February 9, 2007 18:53
Documentation OpenFOAM engine simulation kukikano OpenFOAM Running, Solving & CFD 1 November 17, 2005 05:30
problem of river flow simulation Liu Main CFD Forum 0 May 27, 2004 22:01


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