CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   concerning the fvOptions of explicitPorositySource (https://www.cfd-online.com/Forums/openfoam-solving/214316-concerning-fvoptions-explicitporositysource.html)

carye January 28, 2019 00:30

concerning the fvOptions of explicitPorositySource
 
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
https://i.ibb.co/BCDvn2J/image.png

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
https://i.ibb.co/hs3w2Kb/image.png
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:)

Honey July 31, 2019 08:45

Quote:

Originally Posted by carye (Post 723073)
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
https://i.ibb.co/BCDvn2J/image.png

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
https://i.ibb.co/hs3w2Kb/image.png
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

carye August 9, 2019 03:24

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.

roshanak.rabiee878 March 10, 2020 09:58

Yes, I noticed that by changing porosity form 0.9,0.7-0.5, nothings is changed.

Quote:

Originally Posted by Honey (Post 740611)
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


poplar June 1, 2021 05:18

Quote:

Originally Posted by carye (Post 741604)
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.

https://i.ibb.co/NFjXMk7/2021-06-01-180732.jpg

D is actually the porosity/permeability. so modify the value of D to apply porosity.

vitto July 10, 2023 13:27

Constant Value
 
What constant is C2 and what is its value?


All times are GMT -4. The time now is 13:18.