CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   chtMultiRegionSimpleFoam (https://www.cfd-online.com/Forums/openfoam/92317-chtmultiregionsimplefoam.html)

javad814 September 9, 2011 17:06

chtMultiRegionSimpleFoam
 
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

nimasam September 10, 2011 15:48

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!

javad814 September 17, 2011 14:15

makecellset.setSet
 
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

nimasam September 17, 2011 15:38

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



All times are GMT -4. The time now is 02:18.