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

Porous Medium-entering D, F coefficients to code

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By tomf
  • 1 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2019, 09:36
Default Porous Medium-entering D, F coefficients to code
  #1
New Member
 
Sama
Join Date: Jan 2019
Posts: 16
Rep Power: 7
Samsam2 is on a distinguished road
I have calculated F and d coefficients for Darcy Forchheimer equation for my porous media and I have two scalars. I saw in code F and D should be entered like vectors:

type DarcyForchheimer;

d (500000 -1000 -1000);
f (0 0 0);

I dont know what those two -1000 mean and how I should calculate them!
I would appreciate it if any one could help me.
Samsam2 is offline   Reply With Quote

Old   January 7, 2019, 04:24
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 642
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

The -1000 is a way to do multiplication. As only a positive number is valid, OpenFOAM uses a negative number as a multiplier. So your D values are equivalent to:

d (500000 500000000 500000000);

This way, you can force directionality of your porous region (i.e. a radiator that typically shows higher resistance in cross-flow directions than in flow direction).

Regards,
Tom
Samsam2 likes this.
tomf is offline   Reply With Quote

Old   January 7, 2019, 08:46
Default
  #3
New Member
 
Sama
Join Date: Jan 2019
Posts: 16
Rep Power: 7
Samsam2 is on a distinguished road
Thank you so much Tom,
In cases that we are sure porous media is homogeneous and air permeability/resistance in all directions are same, should we enter (500000 50000 50000)?
Thank you,
Samsam2 is offline   Reply With Quote

Old   January 7, 2019, 09:46
Default
  #4
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 642
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Yes, or alternatively

(500000 -1 -1)
Samsam2 likes this.
tomf 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
Combustion in Porous medium (porous burner) moeinvh FLUENT 0 October 18, 2017 04:21
Turbulent flow in porous medium Chander CFX 4 January 17, 2017 09:50
Porous Medium Question hamzamotiwala STAR-CCM+ 1 April 20, 2012 02:55
Flow through porous medium Kiran AS FLUENT 6 September 16, 2011 07:38
porous medium - defining loss coeff for two fluids sudhakar CFX 0 December 9, 2006 08:11


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