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

concerning the fvOptions of explicitPorositySource

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

Like Tree2Likes
  • 1 Post By carye
  • 1 Post By poplar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2019, 01:30
Question concerning the fvOptions of explicitPorositySource
  #1
Member
 
Join Date: May 2013
Posts: 34
Rep Power: 12
carye is on a distinguished road
Hi, everyone here, I have some questions about the default fvOptions of explicitPorositySource.

What I was trying to solve was a tube reactor filled with catalyst,
so I applied a explicitPorositySource to simulate the DarcyForchheimer law.
The result seems very good and no problem.
But when I reading the code, I was confused.

I found a reference called "Porous Media in OpenFOAM" written by Haukur Elvar Hafsteinsson.
In the file, he gave the momentum equation like


in which the Si represents the porous resistance calculated by explicitPorositySource,
and there is a porosity(Gamma) appearing in the time derivative term.

However, the code of the solver is like

in which the time derivative term do not contain the porosity.

So, does anyone know why is this?
Does this mean that if I want to simulate a porous media, I just set the explicitPorositySource,
and do not need to modify the time derivative term in other equations such as the mass and species and energy equations?

Thanks
vitto likes this.
carye is offline   Reply With Quote

Old   July 31, 2019, 09:45
Default
  #2
New Member
 
Honey
Join Date: Mar 2011
Location: Dmg
Posts: 23
Rep Power: 15
Honey is on a distinguished road
Quote:
Originally Posted by carye View Post
Hi, everyone here, I have some questions about the default fvOptions of explicitPorositySource.

What I was trying to solve was a tube reactor filled with catalyst,
so I applied a explicitPorositySource to simulate the DarcyForchheimer law.
The result seems very good and no problem.
But when I reading the code, I was confused.

I found a reference called "Porous Media in OpenFOAM" written by Haukur Elvar Hafsteinsson.
In the file, he gave the momentum equation like


in which the Si represents the porous resistance calculated by explicitPorositySource,
and there is a porosity(Gamma) appearing in the time derivative term.

However, the code of the solver is like

in which the time derivative term do not contain the porosity.

So, does anyone know why is this?
Does this mean that if I want to simulate a porous media, I just set the explicitPorositySource,
and do not need to modify the time derivative term in other equations such as the mass and species and energy equations?

Thanks

Hi,


I have a similar question. In fvOptions, we have the option to define the Darcy and Forcheimer coefficients for the momentum sink term, as well as the porosity (Gamma) which appears in the time derivative term. However, I noticed that by specifying various different porosity ranging from 0.5 to 0.99, there is no change in the solution. So, does this mean that the porosity defined in fvOptions is not used in the time derivative term of a transient solver (i.e. pimpleFoam)??


B.R.
Honey
Honey is offline   Reply With Quote

Old   August 9, 2019, 04:24
Default
  #3
Member
 
Join Date: May 2013
Posts: 34
Rep Power: 12
carye is on a distinguished road
Hi,

Which fvOptions you used?
I used explicitPorositySource, and found that I have nowhere to specify porosity (Gamma).
The only coefficients I can change is d and f and coordinateSystem.

if you change the Darcy and Forcheimer coefficients accordingly when porosity changes, then the solution should change, such as the pressure drop.
carye is offline   Reply With Quote

Old   March 10, 2020, 10:58
Default
  #4
New Member
 
roshan
Join Date: Dec 2019
Posts: 10
Rep Power: 6
roshanak.rabiee878 is on a distinguished road
Yes, I noticed that by changing porosity form 0.9,0.7-0.5, nothings is changed.

Quote:
Originally Posted by Honey View Post
Hi,


I have a similar question. In fvOptions, we have the option to define the Darcy and Forcheimer coefficients for the momentum sink term, as well as the porosity (Gamma) which appears in the time derivative term. However, I noticed that by specifying various different porosity ranging from 0.5 to 0.99, there is no change in the solution. So, does this mean that the porosity defined in fvOptions is not used in the time derivative term of a transient solver (i.e. pimpleFoam)??


B.R.
Honey
roshanak.rabiee878 is offline   Reply With Quote

Old   June 1, 2021, 06:18
Default
  #5
New Member
 
pop
Join Date: Feb 2010
Posts: 13
Rep Power: 16
poplar is on a distinguished road
Quote:
Originally Posted by carye View Post
Hi,

Which fvOptions you used?
I used explicitPorositySource, and found that I have nowhere to specify porosity (Gamma).
The only coefficients I can change is d and f and coordinateSystem.

if you change the Darcy and Forcheimer coefficients accordingly when porosity changes, then the solution should change, such as the pressure drop.


D is actually the porosity/permeability. so modify the value of D to apply porosity.
vitto likes this.
poplar is offline   Reply With Quote

Old   July 10, 2023, 14:27
Default Constant Value
  #6
New Member
 
Vittorio Nardin
Join Date: Jun 2023
Posts: 5
Rep Power: 2
vitto is on a distinguished road
What constant is C2 and what is its value?
vitto is offline   Reply With Quote

Reply

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
interFoam and scalarTransport function object with fvOptions sources fusij OpenFOAM Running, Solving & CFD 4 April 18, 2022 08:12
Can I use fvOptions to couple a solid region and a fluid region? titanchao OpenFOAM Running, Solving & CFD 4 January 14, 2022 08:55
fvMatrix, fvOptions and SuSp: automatic implicit/explicit source-term treatment Zeppo OpenFOAM Programming & Development 7 December 15, 2021 11:20
New output variable for source term in fvoptions - without changing the solver vincent.clary OpenFOAM Programming & Development 2 June 26, 2018 06:21
problem with fvOptions in twophase eulerfoam Hamzeh_Mirab OpenFOAM Running, Solving & CFD 0 January 27, 2015 12:04


All times are GMT -4. The time now is 08:51.