|
[Sponsors] |
October 19, 2013, 01:23 |
topoSet
|
#1 |
Senior Member
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14 |
Hi Foamers
I want to define a sphere inside a cubic block and cubic block it self as a porous media.I know I should use topoSetDict but I have no idea how to define the sphere as a porous medium. I used celltobox for defining my domain as as a porous medium in my previous case. what should I do? regards Mohsen |
|
October 19, 2013, 04:57 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Mohsen,
Have a look into this file: https://github.com/OpenFOAM/OpenFOAM...et/topoSetDict You can find it on your system by running: Code:
find $FOAM_UTILITIES -name topoSetDict Best regards, Bruno
__________________
|
|
October 19, 2013, 05:53 |
|
#3 | |
Senior Member
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14 |
hi bruno
I know spheretocell is good but how should I cut the sphere out of the cubic domain? for example I used topoSet in terminal and define the origin and radius of sphere for porosity 0.5 and I want to set the prosity for cubic domain around the sphere as for example 0.2 what should I do with that domain ? is the zone to cell OK? br Mohsen Quote:
|
||
October 19, 2013, 06:24 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer: read the thread http://www.cfd-online.com/Forums/ope...mesh-used.html - there you'll find how 2 meshes are created, where one is shaped like a sphere and the other is a cube that is around that sphere, then they are merged+stiched together.
__________________
|
|
October 19, 2013, 06:46 |
|
#5 | |
Senior Member
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14 |
thanks bruno
I will follow it br Mohsen Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
topoSet simpleFoam parallelized run error | HakikiCanakkaleli | OpenFOAM Pre-Processing | 5 | October 5, 2018 10:52 |
Possible to create cyliner baffle (internal) using topoSet or stl Mesh? | keepfit | OpenFOAM | 4 | February 19, 2017 14:40 |
[mesh manipulation] Problem with topoSet and FaceZone creation | ADGlassby | OpenFOAM Meshing & Mesh Conversion | 7 | September 16, 2013 11:05 |
[snappyHexMesh] HOW to set a circular face by toposet | Jessica | OpenFOAM Meshing & Mesh Conversion | 2 | September 12, 2013 20:54 |
Can post-processing use topoSet and createPatch without screwing up the results? | karkar | OpenFOAM Post-Processing | 0 | July 24, 2012 05:41 |