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

Darcy-Forchheimer law for specifying Porous Zones

Register Blogs Community New Posts Updated Threads Search

Like Tree25Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2014, 16:05
Default
  #21
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by g.hamel View Post
Hello,

I reopen the post because the answers are bugging me.

if we have

and
then d = b and f = a (!?), could somebody tell me if it is the case? Then why define alpha and beta?

I have read a few topics about this question but the definition of D and F remains unclear.

Thanks in advance.
Hi,

i use porous media in my model also. i searched a lot for answers for your question. really i don't have solid data but if you studies the two definitions you will find that a, b are factors for the membrane itself whatever fluid flows across it. where alpha and beta are coefficients for specified fluid with specified membrane as they are factors of density and viscosity. when alpha and beta are implemented in equation delta p becomes function in alpha. beta, and velocity. but if you use a, and b delta P becomes function of a, b, v. density, and viscosity.

hope you will find it helpful.

good luck.
Ahmed Khattab is offline   Reply With Quote

Old   November 12, 2014, 02:31
Default
  #22
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning,

The confusion about the f and d coefficients are exactly the reason that we created a small calculator for waves2Foam, such that one can define physical meaningful parameters like porosity and grain size of the material:

https://openfoamwiki.net/index.php/Contrib/waves2Foam

Best of luck,

Niels
Tobi likes this.
__________________
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   November 17, 2014, 04:28
Default
  #23
New Member
 
gaetan Hamel
Join Date: May 2014
Posts: 4
Rep Power: 15
g.hamel is on a distinguished road
I made my owm research about D and F coefficients and now I am sure of their definition :

http://www.tfd.chalmers.se/~hani/kur...ukurReport.pdf

When dp = a*v˛ + b*v

Following the equation (2) page 2

a = 1/2 * rho * F => F = 2a/rho [no unit]
b = visc * D => D = b /visc [1/m]

In OpenFoam

Code:
d [0 -2 0 0 0 0 0] [1/m˛]
f [0 -1 0 0 0 0 0] [1/m]
When we compare the units, the missing 1/m comes from dp/dx where dx is the size of the porous medium in the x direction (considering an anisotrop medium).

Finally :
Code:
F = 2 * a / (rho * dx)

D = b / (visc * dx)
I obtained my a and b coefficients by fitting a polynomial of the 2nd degree using matlab and the curve dp=f(v).

With the calculated coefficients, I obtained what I wanted.
I think it is correctly explained now.
g.hamel is offline   Reply With Quote

Old   July 30, 2015, 14:00
Post Meaning of trTU() in porousSimpleFoam
  #24
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 11
AJAY BHANDARI is on a distinguished road
Hi all,

Can somebody please tell me what trTU() means and how it works in Ueqn.H file in porous simple Foam. I am very much confuse about its working. From the code I understand that Ueqn.A() gives the diagnol coeff of matrix U and tensor(I)*Ueqn.A() = tTU . then inverse of of the diagnol coeff of tTU are being stored in trTU(). as trTU() = inv(tTU).

But can someone tell me the maths behind it . How the matrix is being formed. How U is being calculated from that. Plz help. Any help will be appreciated.
AJAY BHANDARI is offline   Reply With Quote

Old   June 20, 2016, 11:47
Default
  #25
Member
 
António Soares
Join Date: Mar 2015
Location: Lisbon, Portugal
Posts: 48
Rep Power: 11
Outbound is on a distinguished road
Greetings,

I'm having a bit of trouble adapting a study previously conducted in ANSYS CFX onto OpenFOAM.

I'm getting a bit confused as to how to properly calculate and insert the porosity values into the OpenFOAM porosity properties.

My flow is simulating a submerged dense vegetation layer, so I take it as isotropic flow.

The ANSYS CFX study which was published gave the values used for the porous media permeability K and the Forscheimer tensor T.

I'm just a bit confused as to what the D and F values will be then because I see some mathmatical formulas where determining them will involve a porosity value and others where it doesn't.

Screen Shot 2016-06-20 at 15.42.05.jpg
From POROUS MEDIA APPROACH FOR RANS SIMULATION OF COMPOUND OPEN-CHANNEL FLOWS WITH SUBMERGED VEGETATED FLOODPLAINS, M Brito, J. Fernandes, JB Leal, 2015

Can anybody help me clarify how do I obtain the correct values for D and F based on the available information?

Thank you for any help you might provide,

Edit:

Am I right in assuming that

D=1/K

and

F=(2*C_E)/SQRT(K)

Or is it just that F is just the already calculated T. Aren't they both the Forscheimer tensor?

Last edited by Outbound; June 20, 2016 at 14:22. Reason: Adding extra information that may solve my own problem.
Outbound is offline   Reply With Quote

Old   August 18, 2016, 14:12
Default Gas fluid flow in porous media with heat transfer.
  #26
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10
dewey is on a distinguished road
Hi

I want to simulate A GAS FLUID FLOW inside a PIPE that has a POROUS obstacle in the middle and that pipe has a distribution of TEMPERATURE.

Do you know what solver i need to use? or some example that i can follow or something that i can use to help me?

thanks for your time.
dewey is offline   Reply With Quote

Old   August 18, 2016, 14:19
Post
  #27
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 11
AJAY BHANDARI is on a distinguished road
Hi alberto

Welcome to the CFD online community.

Yes the solver you can use to solve your problem is porousSimpleFoam.
It is present in incompressible folder of openFoam.

Also you can first practice the angledDuct case of it which will give you pretty much idea of how to solve your problem.

Hope this helps

Best
Ajay
AJAY BHANDARI is offline   Reply With Quote

Old   December 1, 2016, 10:16
Default
  #28
New Member
 
saran
Join Date: Nov 2016
Posts: 10
Rep Power: 10
Saran16 is on a distinguished road
[QUOTE=Ger_US;269500]Hi all,

I would like to use Darcy-Forchheimer law for specifying Porous Zones in an application. how to calculate the constants in Darcy-Forchheimer law.....

I am new to openfoam




how to find the a and b values ????
Saran16 is offline   Reply With Quote

Old   December 1, 2016, 14:15
Post
  #29
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 11
AJAY BHANDARI is on a distinguished road
Hi Saran

As you are new to open Foam I would advice you to first go through the angled duct case in porousSimpleFoam tutorial. Details of which can be found out in the following link.

http://www.tfd.chalmers.se/~hani/kur...ukurReport.pdf

You will be able to understand what DarcyForchiemmer law means and how d and f values are given.

Hope this helps

Best
Ajay
AJAY BHANDARI is offline   Reply With Quote

Old   December 2, 2016, 13:55
Default
  #30
New Member
 
saran
Join Date: Nov 2016
Posts: 10
Rep Power: 10
Saran16 is on a distinguished road
Thank You for Your time ajay
Saran16 is offline   Reply With Quote

Old   July 28, 2017, 01:50
Default Possibly useful reference
  #31
New Member
 
Join Date: Mar 2011
Posts: 16
Rep Power: 15
RygeltheXVI is on a distinguished road
Hello All,

This Tech Report may prove helpful for those having difficulty understanding Darcy-Forchheimer settings in OpenFOAM.

Kind Regards,
RygeltheXVI
RygeltheXVI is offline   Reply With Quote

Old   August 5, 2017, 04:00
Default
  #32
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by Ger_US View Post
Hi all,

I would like to use Darcy-Forchheimer law for specifying Porous Zones in Exhaust System application. But I am confused with coordinate system specification. Can anyone please explain what is e1 and e2?

and I have the values

a = 9.367
b = 1.029E7
alpha = 0.5 * a * density [kg/m^4]
beta = viscocity * b [kg/m^3s]

How can I calculate d and f parameters from the above data?

My guess: d= beta/viscocity [1/m^2]
f=alpha/density [1/m]

Am I correct?

if not, please tell me how to calculate d and f parameters.

thank you in advance
Hi Ger_US

According to d and f, you can say that d refers to Darian part of the Darcy-Forchheimer equation while f refers to Forchheimer part. So by comparing Darcy-Forchheimer equation by the source term added to Navier-stokes equation in OpenFOAM with Darcy-Forchheimer equation you will find that

D = 1/k while k is the permeability.
F = Cf/(k)^0.5

There us another way to express permeability by using power law.

Best Regards,

Ahmed

Sent from my SM-N9005 using CFD Online Forum mobile app
Ahmed Khattab is offline   Reply With Quote

Old   January 17, 2019, 05:01
Default non homogeneous resistance
  #33
New Member
 
Shai Aser
Join Date: Aug 2015
Posts: 25
Rep Power: 11
shaiashe is on a distinguished road
Hi all,

Is there a way to define the A and B coefficients such that they vary in space within the porous zone?

thanks,
shaiashe is offline   Reply With Quote

Old   January 17, 2019, 09:56
Default
  #34
Member
 
António Soares
Join Date: Mar 2015
Location: Lisbon, Portugal
Posts: 48
Rep Power: 11
Outbound is on a distinguished road
The quickest solution I can think of is by defining different porous zones, but if you want to have a smooth transition of porous coef values I don't know if it's easy to define the coefs by the use of functions, although it should be possible.
Outbound is offline   Reply With Quote

Old   May 10, 2019, 11:00
Default
  #35
Senior Member
 
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 9
deepbandivadekar is on a distinguished road
Quote:
Originally Posted by olesen View Post
Note there is also useful little trick in darcy/forchheimer specification: since negative coefficients are physically meaningless, they can (mis)used to specify a multiplication factor for strongly anisotropic porous media. This can be quite convenient.
This is an old thread but what does this mean exactly? Can someone illustrate?
deepbandivadekar is offline   Reply With Quote

Old   October 30, 2020, 06:00
Default
  #36
New Member
 
David
Join Date: Oct 2020
Posts: 21
Rep Power: 6
fidu is on a distinguished road
Quote:
Originally Posted by Outbound View Post
Greetings,

I'm having a bit of trouble adapting a study previously conducted in ANSYS CFX onto OpenFOAM.

I'm getting a bit confused as to how to properly calculate and insert the porosity values into the OpenFOAM porosity properties.

My flow is simulating a submerged dense vegetation layer, so I take it as isotropic flow.

The ANSYS CFX study which was published gave the values used for the porous media permeability K and the Forscheimer tensor T.

I'm just a bit confused as to what the D and F values will be then because I see some mathmatical formulas where determining them will involve a porosity value and others where it doesn't.

Attachment 48453
From POROUS MEDIA APPROACH FOR RANS SIMULATION OF COMPOUND OPEN-CHANNEL FLOWS WITH SUBMERGED VEGETATED FLOODPLAINS, M Brito, J. Fernandes, JB Leal, 2015

Can anybody help me clarify how do I obtain the correct values for D and F based on the available information?

Thank you for any help you might provide,

Edit:

Am I right in assuming that

D=1/K

and

F=(2*C_E)/SQRT(K)

Or is it just that F is just the already calculated T. Aren't they both the Forscheimer tensor?

Hi am want to simulate as well some vegetation with the leaf area density (LAD) [m^2/m^3] where I calculate the frochheimer coefficient as f= 2 c_d LAD [1/m] where c_d [. ] is my form drag coefficient. As I want to do a comparable study to a windtunnel experiment I have to scale the entire case by 1:160. Now my question is, how do I ensure a good scaling when f has the dimension [1/m] quantity or better when LAD has the dimension [m^2/m^3]? How did you solve that?

Thanks in advance

Best
fidu

Last edited by fidu; November 11, 2020 at 07:01.
fidu is offline   Reply With Quote

Old   April 6, 2022, 11:27
Default
  #37
Member
 
Jingxue Wang
Join Date: Sep 2017
Posts: 58
Rep Power: 9
Jingxue Wang is on a distinguished road
I also have the same question. Where can I get the values of a and b for porous medium? For my case,I want to simulate the flow around trees where the tree canopy is treated as porous media.
Jingxue Wang is offline   Reply With Quote

Old   April 10, 2022, 04:38
Default that's research
  #38
New Member
 
Shai Aser
Join Date: Aug 2015
Posts: 25
Rep Power: 11
shaiashe is on a distinguished road
Hi Wang,

This is a complicated issue. There are no two single values. You should do some reading; Start with Finnigan (2000), and work your way to the present. Otherwise, calibrate against field measurements.

Shai
shaiashe is offline   Reply With Quote

Reply


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
Oscillating velocity and porous zones alberto OpenFOAM Running, Solving & CFD 4 October 28, 2016 04:14
power law flow through porous media Francesca Chiusa FLUENT 1 November 3, 2006 15:30
Help:What's wrong with my porous zones setting!!? jjw FLUENT 2 August 26, 2005 06:16
Permeability for porous zones A8anato_psofimi FLUENT 1 February 17, 2004 14:25
Inputs for porous zones in FLUENT Roel van Os Main CFD Forum 1 September 1, 1998 13:41


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