CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] topoSetDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2013, 10:05
Default topoSetDict
  #1
Senior Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14
m5m5kh is on a distinguished road
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
Attached Images
File Type: jpg Gambit_ImageFile1.jpg (11.6 KB, 17 views)
File Type: jpg Gambit_ImageFile2.jpg (36.4 KB, 17 views)
File Type: jpg Gambit_ImageFile4.jpg (55.8 KB, 17 views)
m5m5kh is offline   Reply With Quote

Old   August 12, 2013, 14:31
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
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.
mturcios777 is offline   Reply With Quote

Old   August 12, 2013, 15:15
Default
  #3
Senior Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14
m5m5kh is on a distinguished road
Quote:
Originally Posted by mturcios777 View Post
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
m5m5kh is offline   Reply With Quote

Old   August 16, 2013, 10:09
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   November 16, 2013, 04:43
Default
  #5
New Member
 
hesam
Join Date: Mar 2013
Posts: 13
Rep Power: 13
hesamgh is on a distinguished road
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...
hesamgh is offline   Reply With Quote

Old   November 16, 2013, 10:09
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
@hesamgh: Quick answer:
Quote:
Originally Posted by wyldckat View Post
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.
__________________
wyldckat is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
topoSetDict samiam1000 OpenFOAM 5 July 23, 2019 12:45
The sampled data is not restricted to the defined zone in topoSetDict jiaodanuma OpenFOAM Post-Processing 1 August 14, 2018 08:25
change the shape in the topoSetDict saatt OpenFOAM Pre-Processing 2 June 25, 2017 21:38
topoSetDict error JohnJohn8 OpenFOAM Pre-Processing 1 August 3, 2016 06:20
Introducing changeDictionaryDict and topoSetDict files in chtMultiRegionFoam fracasce OpenFOAM Pre-Processing 8 October 28, 2015 05:25


All times are GMT -4. The time now is 15:11.