|January 20, 2010, 09:25||
Help with multiRegionHeater tutorial
Join Date: Oct 2009
Posts: 15Rep Power: 8
I'm trying to understand the Allrun file in the multiRegionHeater tutorial. Reading from the top I get into trouble quite early: Old files are removed. BlockMesh is run. Looking through the blockMeshDict file all that is declared is a simple cube - nothing else. Then setSet with the batch file makeCellSets.setSet.
Looking through makeCellSets.setSet I can figure out what's going on here. The heater is created, something is added to the heater. Left and right solids declared. TopAir is set and bottomAir is created of what's left.
What puzzles me are the coordinates. The box defined in blockMeshDict is only 0.2x0.08x0.1. Having coordinates like (-0.01 0 -100 ) makes no sense. I can't for the life of me figure out what I'm looking at. What are the arguments passed on to cellSet in this case?
cellSet heater new boxToCell (-0.01 0 -100 )(0.01 0.01 100)
|January 21, 2010, 21:12||
Join Date: Jan 2010
Posts: 9Rep Power: 8
boxToCell defines a box, and every cell whose cell center is within that box is selected.
The Coordinates are simply the Coordinates of two opposing corners of that box: (minX minY minZ) (maxX, maxY, maxZ)
So the dimensions of the box would be (maxX-minX maxY-minY maxZ-minZ), in this case 0.02 x 0.01 x 200.
The box is not required to be limited to "valid" coordinates within Your mesh; -100 and 100 just select the entire mesh in Z direction.
boxToCell is also one of a few very rare issues where the UserGuide would have actually been helpful, have a look at tutorial 2.3 Breaking of a dam, 2.3.3 Setting initial field.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Tutorial for subcooled nucleate boiling||Asghari||FLUENT||36||June 21, 2016 15:41|
|Problem on Fluent Tutorial: Horizontal Film Boilig||Feng||FLUENT||2||April 13, 2013 05:34|
|STAR-CD Tutorial||shekhar aryal||STAR-CD||4||March 22, 2010 04:25|
|CFD-ACE Tutorial for Serpentine Fuel cell Channel||Taqi||Main CFD Forum||0||April 13, 2008 13:12|
|Rotor/stator tutorial, and how to...||gilberto||CFX||5||January 21, 2002 10:41|