CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Flow through porous media

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2010, 11:40
Default Flow through porous media
New Member
Join Date: Jun 2010
Location: Germany
Posts: 13
Rep Power: 15
marango is on a distinguished road
Hello everybody,

I'm a newbie in OpenFOAM and have some problems with the implementation in OpenFOAM. As you can see in the title I'm examing flow through porous media using a new approach.

Similar to the Darcy-Forchheimer-Equation I want to add a new term to rhs of the incompressible Navier-Stokes-Equation. As a basis I use the simple-solver in OpenFOAM. Now I'd like to change the implemented differential equation. The rhs looks in x-direction as follows:
... = dp/dx - a* u_x - b* (u_x) .
( a,b - scalar values)
I tried a lot to implement it. But certainly I don't know the right commands. Can anybody help me?

Many thanks in advance!
marango is offline   Reply With Quote

Old   June 28, 2010, 11:46
Senior Member
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 17
herbert is on a distinguished road
Hi marango,

you don't have to do anything on your own. Please have a look on rhoPorousSimpleFoam and its tutorials. This is a compressible solver, but you can use nearly the same commands for incompressible solvers.

herbert is offline   Reply With Quote

Old   June 28, 2010, 13:15
New Member
Join Date: Jun 2010
Location: Germany
Posts: 13
Rep Power: 15
marango is on a distinguished road
Thanks, Stefan, for your instant answer.

I already used the rhoPorousSimpleFoam-solver and implemented an incompressible version of this solver. Unfortunately the results were completely wrong.

So I use a new approach, which also changes the lhs of the NSE. This is working right, but only the rhs makes problems.

I also considered to use some commands from rhoPorousSimpleFoam, but either I couldn't find out what this command actually does or the mathematical background doesn't suite to my approach.
marango is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
no converge - for Low Re Porous media seepage flow lee CFX 3 August 31, 2007 01:12
Modeling porous media flow in prostar Nirmal Kumar Pathak Siemens 8 November 23, 2005 07:18
Flow Through Porous Media + Biochemical Reactions Paresh Jain CFX 0 September 20, 2003 05:06
How to simulate flow in porous media? may song Phoenics 2 August 28, 2002 23:10
Flow resistance of porous media Desheng Kong Main CFD Forum 3 December 19, 2000 11:07

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