CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] topoSetDict (https://www.cfd-online.com/Forums/openfoam-meshing/121455-toposetdict.html)

m5m5kh July 29, 2013 09:05

topoSetDict
 
3 Attachment(s)
hi dear foamers
I need your help
I used Gambit for modeling of my case which was is a furnace
I want to model flow in a furnace considering it as a porous medium with constant porosity of 0.5.
I do not know how to modify the long tube-shape region as a porous media
please help me if you can.
some one told me I should modify topoSetDict but I do not know how to do it
please help me,I am not so advanced user of openfoam.
If you know please tell me in detail.

thanks
Mohsen

mturcios777 August 12, 2013 13:31

If you look at topoSetDict, you can define sets of points/faces/cells with you different entries and sources. For the region you want, you should look at the cylinderToCell source.

m5m5kh August 12, 2013 14:15

Quote:

Originally Posted by mturcios777 (Post 445238)
If you look at topoSetDict, you can define sets of points/faces/cells with you different entries and sources. For the region you want, you should look at the cylinderToCell source.

Hi
I used fluent3DtoFoam and I open my "constant/polyMesh" folder
I can see my boudries file but while I want to see cellZones file I just see something like these:
"00/00/000/000/00/00/........"
I do not what to do :(

how should I modify a porous region for porousSimpleFoam solver :(

wyldckat August 16, 2013 09:09

Greetings to all!

@Mohsen: Check the file "applications/utilities/mesh/manipulation/topoSet/topoSetDict" for a complete option list: https://github.com/OpenFOAM/OpenFOAM...et/topoSetDict

In addition, have a look into the tutorials that use this utility:
Code:

find $FOAM_TUTORIALS -name topoSetDict

On the other hand, if your converted mesh already has the cellZone assigned, then it's just a matter of using the respective name. You can see the existing cellZones by running paraFoam and then turning on the option "Include Zones".

Best regards,
Bruno

hesamgh November 16, 2013 03:43

hi wyldckat

thanks for your useful guidance..

i defined my porous medium in gambit as a fluid and convert it by fluent3DMeshToFoam in openfoam,but i do not know how i can define this medium in toposet or porousZones as porous media?? would you mind please help me to solve this problem...

wyldckat November 16, 2013 09:09

@hesamgh: Quick answer:
Quote:

Originally Posted by wyldckat (Post 446140)
Check the file "applications/utilities/mesh/manipulation/topoSet/topoSetDict" for a complete option list: https://github.com/OpenFOAM/OpenFOAM...et/topoSetDict

In addition, have a look into the tutorials that use this utility:
Code:

find $FOAM_TUTORIALS -name topoSetDict

And in your case, have a look into the file "compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/porosityProperties" that is in the "tutorials" folder.


All times are GMT -4. The time now is 10:19.