|
[Sponsors] |
Solver for gas flow through porous media including heat transfer in OpenFOAM v3.0+ |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 3, 2019, 07:58 |
|
#21 |
New Member
Anna
Join Date: Feb 2019
Posts: 17
Rep Power: 7 |
Hello Germilly,
Really interesting work, we are working in chtMultiRegionTwoPhaseEulerFoam with two regions, one fluid (with air and iron inside) and another one solid (porous sand) trying to simulate filling a sand mold with iron. We have problems evacuating the air without outlet pipes and we are trying to find a boundary condition to fix it. have you got any idea how we can do this? Also, have you got any "tutorial case" to see how do you prepare your solver? Thanks in advance. |
|
December 12, 2019, 11:24 |
|
#22 | |
New Member
Germilly Barreto
Join Date: Jul 2016
Location: Portugal
Posts: 25
Rep Power: 10 |
Quote:
There were some good online tutorials, which are mentioned in #4, #12 and #18 of this thread, but they are not available now, and I dont know why. Have you seen my comments in #18 of this thread? See if the following tutorial can help. GB |
||
December 15, 2019, 16:16 |
|
#23 | |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi all,
I just want to jump in as I was developing a similar model for calculating the heating-up of a SCR catalyst (6 m³ volume) within an exhaust pipe system. I was using pimpleFoam for my approach with some extensions. My extension was as follows:
Even though I am working with foam for 9 years now, you guys have interesting ideas. Thanks for sharing your thoughts. Quote:
Personally, I would solve such topic with a codedFixed/Mixed boundary condition. E.g. if the face is in contact with air -> let the air escape (outlet) otherwise make it a fixed wall with velocity (0 0 0).
__________________
Keep foaming, Tobias Holzmann |
||
December 17, 2019, 09:58 |
|
#24 | |||
New Member
Anna
Join Date: Feb 2019
Posts: 17
Rep Power: 7 |
Hello foamers,
Thanks for your replies. Quote:
https://imgur.com/y0YnNWp Quote:
Thanks for your answer Tobi, in our case, we are working with chtMultiRegionTwoPhaseEulerFoam (which is new solver in Openfoam), since it allows to simulate a heat transfer between solid and fluid regions, and define two different phases in the fluid regions (air and iron). Quote:
For this we are trying to manipulate the values of pressure, velocity and fraction (alpha.air, alpha.iron) at the boundaries using the GroovyBC. However, we failed to reduce the pressure levels. Do you think the solution could be something which involves the mass fraction? Regards, Anna |
||||
December 17, 2019, 11:59 |
|
#25 | |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Quote:
during my PhD. I also did some mold filling but I was too lazy to investigate into such topic too much. Right now your pictures looks like "MAGMAsoft". You meshed with snappyHexMesh without snapping, right? For your boundary problem, I cannot give you a clear answer as I never did it.
__________________
Keep foaming, Tobias Holzmann |
||
December 17, 2019, 12:12 |
|
#26 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
@Germilly, can you please give some statement about the following code:
Code:
+ hconv*Tf-fvm::Sp(hconv, Ts)
__________________
Keep foaming, Tobias Holzmann |
|
December 17, 2019, 13:28 |
|
#27 | |
New Member
Germilly Barreto
Join Date: Jul 2016
Location: Portugal
Posts: 25
Rep Power: 10 |
Quote:
The energy equation for the solid structure (solid phase) is: The term , which describes the heat transfer between the solid and fluid, can be written as In OpenFOAM I have: Code:
+ hconv*Tf-fvm::Sp(hconv, Ts) Am I right? There are some parts of the code that need to be improved. If you have any suggestion, I would be grateful if you can share them here. GB |
||
December 18, 2019, 04:50 |
|
#28 | |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi, Quote:
Not 100 % correct. the fvm:: operator do belong to the implicit part. fvc:: is an explicit calculation. The Sp() term for me was always necessary for boundedness regarding the convective term (https://openfoam.org/release/2-2-0/n...s-boundedness/). However, I guess you are right that the Sp() term makes a source implicit and the SuSp does make it implicit and explicit. I never checked these things in detail. However, my latest results:
__________________
Keep foaming, Tobias Holzmann |
||
December 22, 2019, 14:21 |
|
#29 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi,
I just want to refer to my post I made a few days ago: How to implement equation of mixture fraction and variance of mixture fraction? Here, one can see the Sp() Term PDF: Nikolas
__________________
Keep foaming, Tobias Holzmann |
|
April 2, 2023, 18:45 |
|
#30 |
New Member
Salman
Join Date: Nov 2021
Location: India
Posts: 1
Rep Power: 0 |
Hello Germilly,
Here i am replying for your 3 year old post. i am working on something similar to what you have done. i wanted to follow the tutorial you provided above. Sadly it says "Page not found", may be i'm too late and they have taken down the page. Is there any other way to get that tutorial back? Thanks, Sal |
|
May 10, 2024, 08:37 |
Thoughts on heat transfer in porous media
|
#31 |
Member
|
Hi at all and thanks for all the contributions which helped me a lot with my current case of simulating a porous media.
Especially the catalyst tutorial from Tobi helped me saving hours! Thanks for that. I opened a new thread bcs I got a few thoughts about the setup with the geometrical data. Feel free to have a look at: Porous media - heat transfer - set up of mean values |
|
|
|
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 |