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

topoSet geometry than more than 1 box

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2013, 00:36
Default topoSet geometry than more than 1 box
  #1
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
Grimoli is on a distinguished road
Is there a way to add more than 1 box on a topoSet geometry??Im trying to do a geometry like this,but im failing all the time =/
What should I do??


cellSet heater new boxToCell (0 4 10)(20 16 15)
cellSet heater add boxToCell (0 4 15)(20 4.5 15.5)
cellSet heater add boxToCell (0 5 15)(20 5.5 15.5)
cellSet heater add boxToCell (0 6 15)(20 6.5 15.5)
cellSet heater add boxToCell (0 13.5 15)(20 14 15.5)
cellSet heater add boxToCell (0 14.5 15)(20 15 15.5)
cellSet heater add boxToCell (0 15.0 15)(20 16 15.5)
cellZoneSet heater new setToCellZone heater


cellSet leftSolid new boxToCell (0 0 10 )(20 4 15)
cellZoneSet leftSolid new setToCellZone leftSolid


cellSet rightSolid new boxToCell (0 16 10 )(20 20 15)
cellZoneSet rightSolid new setToCellZone rightSolid

cellSet bottomAir new boxToCell (0 0 0 )(20 20 10)
cellZoneSet bottomAir new setToCellZone bottomAir


cellSet topAir clear
cellSet topAir add cellToCell heater
cellSet topAir add cellToCell leftSolid
cellSet topAir add cellToCell rightSolid
cellSet topAir add cellToCell topAir
cellSet topAir invert
cellZoneSet topAir new setToCellZone bottomAir

Last edited by Grimoli; April 11, 2013 at 01:27.
Grimoli is offline   Reply With Quote

Old   April 14, 2013, 09:54
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Gabriel,

Do you mean setSet? Because those commands are for setSet, not topoSet

I took a look at the tutorial "heatTransfer/chtMultiRegionFoam/multiRegionHeater" and I think I understand your confusion. It still has the file "makeCellSets.setSet", but the tutorial actually uses topoSet instead, which relies on the dictionary file "system/topoSetDict".

To use, you must run setSet like this:
Code:
setSet -batch makeCellSets.setSet
This briefly explained if you run:
Code:
setSet -help
Best regards,
Bruno
__________________
wyldckat 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
problem when imported geometry from 3D CAD to star ccm, TAREK GANAT STAR-CCM+ 1 May 21, 2013 23:15
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 20:42
[snappyHexMesh] Irregular mesh generation for simple box geometry ajl42 OpenFOAM Meshing & Mesh Conversion 0 March 7, 2011 18:04
[snappyHexMesh] SnappyHexMesh meshes inside and outside of an STL geometry villier OpenFOAM Meshing & Mesh Conversion 17 June 15, 2010 20:51
Incorrect geometry file name Fabián Betancourt Phoenics 3 March 15, 2006 09:36


All times are GMT -4. The time now is 21:52.