|
[Sponsors] |
February 17, 2017, 11:57 |
porousSimpleFoam - comparison to Darcy's law
|
#1 |
New Member
Sebastian
Join Date: Feb 2017
Posts: 22
Rep Power: 9 |
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 |
|
Tags |
darcy's law, porous medium, poroussimplefoam |
|
|
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 |