|
[Sponsors] |
September 9, 2011, 18:06 |
chtMultiRegionSimpleFoam
|
#1 |
New Member
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16 |
hello
I am confused my question is in the sample multiregionheterradiation in OpenFoam 2.0.0 what is the relation between dimentions in the blockMeshDict file and the regions in any directhion? I mean that the volume of regions is not equl to the volume of hex in blockMeshDict,i cannot understand why. is there any conversion factor? i can not understand the coordinates in file makeCellSets.setSet thanks for your attention |
|
September 10, 2011, 16:48 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
the points in makeCellSets.setSet is some how strange but you can create ur mesh easily , you just need to know that:
for creating a box with cellSets, you need two points which are the points on the main diagonal of box! |
|
September 17, 2011, 15:15 |
makecellset.setSet
|
#3 |
New Member
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16 |
hi
I'm using chtMultiRegionFoam and i'm trying to understand the example in toturial. I don't know how to make regions and I don't know how to make the file makecellset.setSet please help me to make the file thanks |
|
September 17, 2011, 16:38 |
|
#4 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
its not hard make ur region by commands below:
to make box : cellSet regionName new boxToCell (x1 y1 z1) (x2 y2 z2) which point1 and point2 are the point one main diagonal of box to make cylinder: cellSet regionName new cylinderToCell (x1 y1 z1) (x2 y2 z2) R point1 and point2 are the first and the end of cylinder axis and R is radius to add two regions together you can use: cellSet regionName1 add cellToCell regionName2 |
|
|
|