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

Regarding box keyword in toposet Dict!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2013, 04:38
Exclamation Regarding box keyword in toposet Dict!
  #1
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 124
Rep Power: 17
mukut is on a distinguished road
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!!!!
mukut is offline   Reply With Quote

Old   September 28, 2013, 10:00
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
those points define two heads of main diameter of box,
so those cell which are placed on this region will be captured as cellSet
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   September 28, 2013, 10:14
Default
  #3
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 124
Rep Power: 17
mukut is on a distinguished road
Quote:
Originally Posted by nimasam View Post
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?
mukut is offline   Reply With Quote

Old   September 28, 2013, 10:21
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
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
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   September 28, 2013, 10:30
Default
  #5
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 124
Rep Power: 17
mukut is on a distinguished road
Quote:
Originally Posted by nimasam View Post
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
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
mukut is offline   Reply With Quote

Old   September 28, 2013, 10:38
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
well Mominul
its OK! consider an imaginary box larger than! domain what happens?
nothing special! that part of domain which are in that box are selected!
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   September 28, 2013, 10:49
Default
  #7
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 124
Rep Power: 17
mukut is on a distinguished road
Quote:
Originally Posted by nimasam View Post
well Mominul
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 is offline   Reply With Quote

Old   September 28, 2013, 20:24
Default
  #8
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 124
Rep Power: 17
mukut is on a distinguished road
Quote:
Originally Posted by mukut View Post
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 is offline   Reply With Quote

Old   September 29, 2013, 00:36
Default
  #9
Senior Member
 
Mominul MuKuT
Join Date: Mar 2009
Location: Bangladesh
Posts: 124
Rep Power: 17
mukut is on a distinguished road
Quote:
Originally Posted by nimasam View Post
well Mominul
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)
mukut is offline   Reply With Quote

Reply

Tags
box, multi regions, open foam, simulation, toposet


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
[DesignModeler] change/increase model size box oewnce932c ANSYS Meshing & Geometry 5 April 8, 2022 02:37
[snappyHexMesh] HOW to set a circular face by toposet Jessica OpenFOAM Meshing & Mesh Conversion 2 September 12, 2013 21:54
topoSet geometry than more than 1 box Grimoli OpenFOAM Pre-Processing 1 April 14, 2013 09:54
Junction Box Anil CFX 2 June 27, 2006 11:18
Immersol Simulation of a Heated Box Dong Phoenics 0 March 2, 2006 22:20


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