CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Regarding box keyword in toposet Dict! (http://www.cfd-online.com/Forums/openfoam-pre-processing/124140-regarding-box-keyword-toposet-dict.html)

mukut September 28, 2013 03:38

Regarding box keyword in toposet Dict!
 
To simulate flow induced by plasma actuator solid-fluid domain is necessary, hence in my previous post some foamers suggested me to learn chtMultiRegionFoam/chtmultiRegionSimpleFoam. Today I am practising multi region heat transfer related tutorials, but I don't understand following keyword used in those tutorials.....found in toposet dict.


// Heater
{
name heater;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (-0.01001 0 -100 )(0.01001 0.00999 100);
}
}

I want to know the details about the numbers at right side of box keyword, are they co-ordinates of box of a specific solid/fluid (in example, that box defines a heater)?

Thanks in advance.

update:

I think those are the indication of box co-ordinates, as stated here, if so...then the number '100' is confusing as in blockmeshDict I found the domain size is 0.2X0.08X0.1 (in meter) with 30X10X10 cells in xyz directions. If those are coordinates then 100 (z value) goes outside of domain!!!!

nimasam September 28, 2013 09:00

those points define two heads of main diameter of box,
so those cell which are placed on this region will be captured as cellSet

mukut September 28, 2013 09:14

Quote:

Originally Posted by nimasam (Post 454026)
those points define two heads of main diameter of box,
so those cell which are placed on this region will be captured as cellSet

Thanks for your reply. But I am not clear from your reply. How can I define that box location based on domain geometry?:mad:

nimasam September 28, 2013 09:21

as i said, if you want to define a box! you need to define two points
these points are two heads of main diameter of the box. if you want to define your box in domain :), then define these points in domian :D

mukut September 28, 2013 09:30

Quote:

Originally Posted by nimasam (Post 454033)
as i said, if you want to define a box! you need to define two points
these points are two heads of main diameter of the box. if you want to define your box in domain :), then define these points in domian :D

okey. The domain size is (tutorial: multiRegion Heater) 0.2X0.08X0.1 (in meter) with 30X10X10 cells......
box (-0.01001 0 -100 )(0.01001 0.00999 100);

so in z direction the box goes outside of domain?? Actually I am confused about the z location of box i.e. -100 t0 100

nimasam September 28, 2013 09:38

well Mominul:D
its OK! consider an imaginary box larger than! domain what happens?
nothing special! that part of domain which are in that box are selected!

mukut September 28, 2013 09:49

Quote:

Originally Posted by nimasam (Post 454037)
well Mominul:D
its OK! consider an imaginary box larger than! domain what happens?
nothing special! that part of domain which are in that box are selected!

Thank you. Let see what happen next when I apply it to my flow domain.

mukut September 28, 2013 19:24

Quote:

Originally Posted by mukut (Post 454039)
Thank you. Let see what happen next when I apply it to my flow domain.

Can I define the box geometry based on domain xyz coordinates? Here is my flow domain.

thanks

mukut September 28, 2013 23:36

Quote:

Originally Posted by nimasam (Post 454037)
well Mominul:D
its OK! consider an imaginary box larger than! domain what happens?
nothing special! that part of domain which are in that box are selected!

I have found it as follows from toposet dic of openfoamwiki

  • boxToCell: Select all cells with cellCentre within bounding box
boxToCell (MINX MINY MINZ) (MAXX MAXY MAXZ)


All times are GMT -4. The time now is 16:34.