CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

topoSet geometry than more than 1 box

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 10, 2013, 23:36
Default topoSet geometry than more than 1 box
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 4
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 00:27.
Grimoli is offline   Reply With Quote

Old   April 14, 2013, 08:54
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,929
Blog Entries: 34
Rep Power: 92
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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:
setSet -batch makeCellSets.setSet
This briefly explained if you run:
setSet -help
Best regards,
wyldckat is offline   Reply With Quote


Thread Tools
Display Modes

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 On
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 22:15
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 20:42
Irregular mesh generation for simple box geometry ajl42 OpenFOAM Native Meshers: snappyHexMesh and Others 0 March 7, 2011 18:04
SnappyHexMesh meshes inside and outside of an STL geometry villier OpenFOAM Mesh Utilities 17 June 15, 2010 19:51
Incorrect geometry file name Fabián Betancourt Phoenics 3 March 15, 2006 09:36

All times are GMT -4. The time now is 06:11.