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

Solver for gas flow through porous media including heat transfer in OpenFOAM v3.0+

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

Like Tree1Likes
  • 1 Post By Cyp

Reply
 
LinkBack Thread Tools Display Modes
Old   July 18, 2016, 08:08
Default Solver for gas flow through porous media including heat transfer in OpenFOAM v3.0+
  #1
New Member
 
Germilly
Join Date: Jul 2016
Posts: 6
Rep Power: 3
Germilly is on a distinguished road
Hello;

I'm working in a problem that has gas flowing through porous media. The porous media (solid matrix) has heat source. So, this problem includes heat transfer between the solid matrix and the gas (I'll have two energy equations: Gas and solid matrix).

I'm having problem about which solver should i start to use in OpenFoam to solve this problem.

I've already tried rhoPorousSimpleFoam, but this solver doesn't includes heat transfer between the gas and the solid matrix (It includes only one energy equation).

I think the solver twoPhaseEulerFoam can be an option, because it includes heat transfer between two different fluid phase.

Can anyone tell me which is the best solver which should i start?

Thank you.

Best regards
Germilly Barreto

Last edited by Germilly; July 18, 2016 at 11:09.
Germilly is offline   Reply With Quote

Old   November 25, 2016, 13:23
Default
  #2
Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 70
Rep Power: 3
dewey is on a distinguished road
Hi Germilly

could you find what solver to use?

I think i am doing something related.
dewey is offline   Reply With Quote

Old   November 25, 2016, 14:03
Default
  #3
New Member
 
Germilly
Join Date: Jul 2016
Posts: 6
Rep Power: 3
Germilly is on a distinguished road
Hello Dewey;

Now, i'm trying to solve the equations presented in the following paper: http://dx.doi.org/10.1016/j.enconman.2016.01.074, by changing the "simpleFoam" Solver, i.e, changing its momentum equation and including the heat transfer equations for porous media.

But, i'm having many problems.

GB
Germilly is offline   Reply With Quote

Old   November 28, 2016, 19:47
Default
  #4
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 258
Rep Power: 11
Cyp is on a distinguished road
What about coding your own solver based on Darcy's law? No need to solve Navier-Stokes if you only have a porous domain.

See the tutorials https://web.stanford.edu/~csoulain/O...NG_v5-1-EN.pdf page 68 to 101 (also include a two temperatures model).

Cheers
Cyp is offline   Reply With Quote

Old   November 29, 2016, 07:07
Default
  #5
New Member
 
Germilly
Join Date: Jul 2016
Posts: 6
Rep Power: 3
Germilly is on a distinguished road
Hello Cyp

Thank you for your answer. I have already done the exemple presented in the tutorial you provided (using Darcy's law).

I will need to improve my model (include turbulence ...).

I think to inprove it, i should start using Navier-Stoke equation, or not?

But, for the first version i can use Darcy's law, how you have suggested.

GB
Germilly is offline   Reply With Quote

Old   November 29, 2016, 13:23
Default
  #6
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 258
Rep Power: 11
Cyp is on a distinguished road
Hi,

I suggest you first to do some literature review on flow and transport in porous media, so you will have a clear idea of the different scale or representation of physics of flow and transport. The concept of porous media is related to the concept of average: when you represent explicitly the pore-scale structure (I mean you have a full description of the pores) then you solve the flow with Navier-Stokes based solvers. On the other hand, if you represent the porous region by an aggregate of fluid and solid (you don't know the real geometry of the pores), then you have effective properties like permeability and porosity and the flow is governed by a Darcy-like law.

In your case, I guess that you are in the second situation and you want to consider higher flow rate. The best thing is to keep this Darcy-like formulation and to add Forchheimer correction to include inertia terms. We showed in a recent paper that the Forchheimer formalism can also represent turbulence effects.

Some papers:
https://web.stanford.edu/~csoulain/P...hap1_Darcy.pdf
http://oatao.univ-toulouse.fr/11304/...aine_11304.pdf

Cheers,
amir_hiwa likes this.
Cyp is offline   Reply With Quote

Old   November 29, 2016, 14:10
Default
  #7
New Member
 
Germilly
Join Date: Jul 2016
Posts: 6
Rep Power: 3
Germilly is on a distinguished road
Hello Cyp

Thank you for your attention.

Yes, my case is the second one " ... represent the porous region by an aggregate of fluid and solid (you don't know the real geometry of the pores), then you have effective properties like permeability and porosity ... ".

I will see the documents you sent me. If i have some problem, i will come here again.

I can't open the first link, it is not working (error when loading the pdf).


GB
Germilly is offline   Reply With Quote

Old   December 5, 2016, 12:56
Default
  #8
New Member
 
Germilly
Join Date: Jul 2016
Posts: 6
Rep Power: 3
Germilly is on a distinguished road
It is working now.

Thank you
Germilly is offline   Reply With Quote

Old   April 1, 2017, 14:35
Default
  #9
Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 70
Rep Power: 3
dewey is on a distinguished road
Do you know if for heat transfer and porosu media can works modify chtMultiRegionSimpleFoam or buoyancySimpleFoam instance of SimpleFoam?
dewey is offline   Reply With Quote

Old   April 4, 2017, 06:11
Default
  #10
New Member
 
Germilly
Join Date: Jul 2016
Posts: 6
Rep Power: 3
Germilly is on a distinguished road
Hello dewey,

I think it is possible if you modify chtMultiRegionSimpleFoam or buoyancySimpleFoam.

I think that the choice of the solver depends of kind of precision you want to include in your model.

I have concluded that it is better to start from an basic solver, and changing it for what you want.
Germilly is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flow through two combined porous media with diffrent permeability Sandee Main CFD Forum 0 March 28, 2015 11:35
Flow through porous media: permeability issue butterfly1 CFX 3 December 23, 2013 22:23
Reactive flow in porous media with volume expansion smhosseini Main CFD Forum 3 December 5, 2013 08:52
rotating porous media in a general flow a_dores FLUENT 0 October 31, 2010 05:50
porous media: Fluent or Star-CD? Igor Main CFD Forum 0 December 5, 2002 16:16


All times are GMT -4. The time now is 12:00.