|
[Sponsors] |
January 20, 2010, 09:25 |
Help with multiRegionHeater tutorial
|
#1 |
New Member
Join Date: Oct 2009
Posts: 15
Rep Power: 17 |
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? Code:
cellSet heater new boxToCell (-0.01 0 -100 )(0.01 0.01 100) |
|
January 21, 2010, 21:12 |
|
#2 |
New Member
kpm
Join Date: Jan 2010
Location: Germany
Posts: 9
Rep Power: 16 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tutorial for subcooled nucleate boiling | Asghari | FLUENT | 42 | December 10, 2018 12:42 |
Problem on Fluent Tutorial: Horizontal Film Boilig | Feng | FLUENT | 2 | April 13, 2013 06: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 14:12 |
Rotor/stator tutorial, and how to... | gilberto | CFX | 5 | January 21, 2002 10:41 |