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

chtMultiRegionSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 9, 2011, 18:06
Default chtMultiRegionSimpleFoam
  #1
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16
javad814 is on a distinguished road
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
javad814 is offline   Reply With Quote

Old   September 10, 2011, 16:48
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
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!
nimasam is offline   Reply With Quote

Old   September 17, 2011, 15:15
Default makecellset.setSet
  #3
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16
javad814 is on a distinguished road
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
javad814 is offline   Reply With Quote

Old   September 17, 2011, 16:38
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
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

nimasam 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



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