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

.setSet problems

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2013, 19:31
Default .setSet problems
  #1
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
Grimoli is on a distinguished road
Hello
How is everyone doing??
So,Im doing a OpenFoam when my geometry is based on parallel boxes,with a retangular base,as shown :

cellSet heater new boxToCell (0.049925 0.050 0 ) (0.155925 0.156 0.004)
cellSet heater add boxToCell (0.049925 0.050 0.004)(0.155925 0.052 0.018) //1
cellSet heater add boxToCell (0.049925 0.058 0.004)(0.155925 0.060 0.018) //2
cellSet heater add boxToCell (0.049925 0.066 0.004)(0.155925 0.068 0.018) //3
cellSet heater add boxToCell (0.049925 0.074 0.004)(0.155925 0.076 0.018) //4
cellSet heater add boxToCell (0.049925 0.082 0.004)(0.155925 0.084 0.018) //5
cellSet heater add boxToCell (0.049925 0.090 0.004)(0.155925 0.092 0.018) //6
cellSet heater add boxToCell (0.049925 0.098 0.004)(0.155925 0.100 0.018) //7
cellSet heater add boxToCell (0.049925 0.106 0.004)(0.155925 0.108 0.018) //8
cellSet heater add boxToCell (0.049925 0.114 0.004)(0.155925 0.116 0.018) //9
cellSet heater add boxToCell (0.049925 0.122 0.004)(0.155925 0.124 0.018) //10
cellSet heater add boxToCell (0.049925 0.130 0.004)(0.155925 0.132 0.018) //11
cellSet heater add boxToCell (0.049925 0.138 0.004)(0.155925 0.140 0.018) //12
cellSet heater add boxToCell (0.049925 0.146 0.004)(0.155925 0.148 0.018) //13
cellSet heater add boxToCell (0.049925 0.154 0.004)(0.155925 0.156 0.018) //14
cellZoneSet heater new setToCellZone heater


THe problem is that I need to separate it in 2 regions,the parallel boxes ( 1 to 14) need to be separated from the base,but Im having problem because the command boxToCell seems to be used only when the boxes are connected to the main on(the one without any number)
How I am supposed to make a region between these boxes??Please help me
Grimoli is offline   Reply With Quote

Old   July 8, 2013, 19:34
Default
  #2
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
Grimoli is on a distinguished road
I tried to do this,but it's giving a error on aleta11 ,but I dont know why!!:
Whats wrong??

cellSet heater new boxToCell (0.049925 0.050 0 ) (0.155925 0.156 0.004)
cellZoneSet heater new setToCellZone heater

cellSet aletas new boxToCell (0.049925 0.050 0.004)(0.155925 0.052 0.018) //1
cellSet aletas add boxToCell (0.049925 0.058 0.004)(0.155925 0.060 0.018) //2
cellSet aletas add boxToCell (0.049925 0.066 0.004)(0.155925 0.068 0.018) //3
cellSet aletas add boxToCell (0.049925 0.074 0.004)(0.155925 0.076 0.018) //4
cellSet aletas add boxToCell (0.049925 0.082 0.004)(0.155925 0.084 0.018) //5
cellSet aletas add boxToCell (0.049925 0.090 0.004)(0.155925 0.092 0.018) //6
cellSet aletas add boxToCell (0.049925 0.098 0.004)(0.155925 0.100 0.018) //7
cellSet aletas add boxToCell (0.049925 0.106 0.004)(0.155925 0.108 0.018) //8
cellSet aletas add boxToCell (0.049925 0.114 0.004)(0.155925 0.116 0.018) //9
cellSet aletas add boxToCell (0.049925 0.122 0.004)(0.155925 0.124 0.018) //10
cellSet aletas add boxToCell (0.049925 0.130 0.004)(0.155925 0.132 0.018) //11
cellSet aletas add boxToCell (0.049925 0.138 0.004)(0.155925 0.140 0.018) //12
cellSet aletas add boxToCell (0.049925 0.146 0.004)(0.155925 0.148 0.018) //13
cellSet aletas add boxToCell (0.049925 0.154 0.004)(0.155925 0.156 0.018) //14
cellZoneSet aletas new setToCellZone aletas

cellSet topAir clear
cellSet topAir add cellToCell heater
cellSet topAir add cellToCell aletas
cellSet topAir invert
cellZoneSet topAir new setToCellZone topAir
Grimoli is offline   Reply With Quote

Old   July 9, 2013, 03:39
Default
  #3
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
Grimoli is on a distinguished road
someone help please =/
Grimoli is offline   Reply With Quote

Old   July 9, 2013, 04:52
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
Dear,
look carefully at chtmultiRegion tutorial, you will find how to recall the space between box, in brief
you need a create a CellSet, then add to this CellSet all present boxes, then invert cellSet to choose remain cells
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   July 23, 2013, 16:55
Default
  #5
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
Grimoli is on a distinguished road
what does the function invert does??
Grimoli is offline   Reply With Quote

Old   July 24, 2013, 04:17
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
consider you have two sets A and B, which B is a sub-set of A, when you use invert B,
means all cells which are in A but not in B
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   July 25, 2013, 16:59
Default
  #7
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
Grimoli is on a distinguished road
OKay,i have a problem now that i cant solve!!I have 2 regions in the same place.How do I erase a part of it??Is there a way I can do it ??I have 2 regions on the same place,i want to clear to it so the program doesnt crash.
Grimoli is offline   Reply With Quote

Old   July 25, 2013, 18:30
Default
  #8
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
look at tutorials its easier way to find each dictionary how works , however you can use command remove, to remove one cellSet, or easily you can go to polyMesh in setSet folder and see whats your cellSet name is and remove it manually
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   July 31, 2013, 13:13
Default
  #9
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
Grimoli is on a distinguished road
i managed my problem thanks you
Where I can find the chtmultiregion tutorial??I tried to find it on google and on open foam website but i didnt found it.Any links??I want to improve my skills at OPenFOAM
Grimoli is offline   Reply With Quote

Old   July 31, 2013, 13:24
Default
  #10
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
look at OpenFOAM tutorials the address is :

Quote:
/tutorials/heatTransfer/chtMultiRegionFoam
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 11:12
[mesh manipulation] Problems with rotational cyclic boundaries TReviol OpenFOAM Meshing & Mesh Conversion 8 July 11, 2014 03:45
[ICEM] Flow channel meshing problems StefanG ANSYS Meshing & Geometry 19 May 15, 2012 06:44
Two-phase air water flow problems by activating Wall Lubrication Force challenger85 CFX 5 November 5, 2009 05:44
Help required to solve Hydraulic related problems aero CFX 0 October 30, 2006 11:00


All times are GMT -4. The time now is 19:58.