|
[Sponsors] |
[snappyHexMesh] defining porous zone in toposet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 31, 2017, 02:02 |
defining porous zone in toposet
|
#1 |
Senior Member
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17 |
Dear all
I am new to snappy and openfoam. I want to simulate flow through the porous zone. I am using snappy (attachment) to create a mesh. I have defined porouzzone1 STL file which is my porous zone. I want to see it in ParaView. When I observed the boundary in polyMesh, I did not find any patches related to porouszone1. I thought I need toposet to pass. I saw toposet to be used for regular geometries. How can I use it for user-defined geometries (as in my STL file)? Please note that Another stl file - fluid.stl is the solid obstruction which is removed by considering location in mesh point. Thank you Mahesh |
|
January 31, 2017, 14:12 |
|
#2 |
Member
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10 |
Hey Mahesh,
I am not quite sure what you are trying to simulate but maybe ihFoam could be a good solver for you? Its based on interFoam and includes the flow through porous material. Its quite easy to define porous zones with it. Also you defined your porous zone as patch type "wall". Is it supposed to be a boundary and not an actual zone? I am a little confused... Cheers, Mona |
|
January 31, 2017, 22:04 |
|
#3 |
Senior Member
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17 |
Hi Mona
Thanks for your reply. We specify bounding box with dimension in toposetdict to patch the specific zone as porous. Now here, in this case, I want to specify irregular shape (as in STL file) instead bounding box with dimension. I can see cellZones in constant/polyMesh directory which consists of my porous zone. My question is how can I treat irregular shape (i.e STL file) or porous zone of cellZones in topoSetDict? Am I clear? Thank you Mvee |
|
February 1, 2017, 06:21 |
|
#4 |
Member
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10 |
okay I think I got it! I have never done that before but maybe one of these threads can help you:
https://www.cfd-online.com/Forums/op...s-toposet.html Open Foam /Setfields |
|
February 1, 2017, 23:40 |
solved
|
#5 |
Senior Member
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17 |
Hi Mona
I solved the problem. I used zoneToCell. I am surprised that Do I really need to convert zone to cell in order to treat porosity? Thanks for your reply Regards Mvee |
|
July 13, 2020, 13:28 |
|
#6 |
New Member
Joshua
Join Date: Mar 2019
Location: Berlin
Posts: 2
Rep Power: 0 |
Hi Mvee,
Could you elaborate on how you used the zoneToCell? It would be great to see examples of your dict files and the STL file you used. I would like to define a porous zone using a source term defined in fvOptions. I would like to apply the porous zone to the cells inside of the STL mesh very similar to what you did I think. I am trying to calculate wind flow through a tree canopy and tree canopy being defined as a porous zone. Would you be willing to share your example case? Look forward to your reply. Regards Joshua |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Degassing B.C. and porous zone | C.C | FLUENT | 0 | December 18, 2018 08:24 |
using toposet for creating porous zone | zeinelserfy | OpenFOAM Pre-Processing | 1 | December 17, 2018 02:05 |
Substituting a porous geometry with equivalent porous zone parameters | stein.robins | Main CFD Forum | 0 | September 23, 2015 16:08 |
Journal file error | magicalmarshmallow | FLUENT | 3 | April 4, 2014 13:25 |
Problem in IMPORT of ICEM input file in FLUENT | csvirume | FLUENT | 2 | September 9, 2009 02:08 |