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

porousSimpleFoam - comparison to Darcy's law

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sepp.zell

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 17, 2017, 11:57
Question porousSimpleFoam - comparison to Darcy's law
  #1
New Member
 
Sebastian
Join Date: Feb 2017
Posts: 22
Rep Power: 9
sepp.zell is on a distinguished road
Dear community,

I want to solve a the flow through a porous medium with constant permeability. For the beginning I wanted to start with an easy test case and try to reproduce the pressure drop given by Darcy's law.
Therefore I choose a rectangular geometry with given inflow velocity (0.01 m/s) in x-direction and in the middle a porous medium with constant thickness (1 cm) and constant permeability (1e-10 m^2). The boundary conditions at the walls are chosen as symmetric in y-direction and as empty in z-direction.
As fluid I use water (rho=1000 kg/m^3, mu = 1 mPas).
For this setup (and the assumption of an one-dimensional flow), Darcy's law yields a pressure drop delta p of 1000Pa.

If I use the porousSimpleFoam solver from openFoam, the results are quite different depending on the number of discretization cells for the porous medium (the files you find attached).

I have the feeling that in the openFoam solution one discretization cell is missing. If the discretization cells are equistant, the pressure drop over all cells are the same. Thus Darcy's law yields for the pressure drop in one discretization cell 1000 Pa / N, where N is the number of cells. After some computations for different number of cells, I think that openFoam is just getting the pressure drop of N-1 cells thus, the result from openFoam is (N-1)/N*1000 Pa.
Let me illustrate this with a few numbers from my computations:



Since I am just started with openFoam, I am not sure, if I did something wrong. Therefore I attached my files. Maybe someone can tell me, if they are correct.
If my results would be correct, is there some bug in openFoam for this example? Is openFoam neglecting or forgetting about one cell? Is this in some way related to some interpolation scheme?

If some more data are needed, please tell me.

Thank you in advance for your answers and your help.

Regards

Sebastian
Attached Files
File Type: zip Darcy_test.zip (5.7 KB, 94 views)
raj kumar saini likes this.
sepp.zell is offline   Reply With Quote

 

Tags
darcy's law, porous medium, poroussimplefoam


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
Darcy's Law? asd CFX 0 September 21, 2011 11:52
Density of air for calculating the mass flow rate from Darcy's law Hermano Main CFD Forum 0 August 22, 2011 11:17
Momentum equation of Darcy's law sambatra OpenFOAM Running, Solving & CFD 2 April 17, 2009 03:27
Pressure drop using Darcy's law Shankar FLUENT 2 August 29, 2002 11:35
Darcy's Law flow into and out of a box Paul Missel Main CFD Forum 6 July 20, 2001 05:26


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