# Could someone tell me what boxToCell means

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

 March 28, 2006, 06:57 I get one queation in the damb #1 New Member   Dan Chang Join Date: Mar 2009 Posts: 4 Rep Power: 6 I get one queation in the dambreak tutorial of interFoam. The setFieldsDict are shown below: regions ( boxToCell { box (0 0 -1) (0.1461 0.292 1); fieldValues ( volScalarFieldValue gamma 1 ); } ); What does "box (0 0 -1) (0.1461 0.292 1)" mean? In this case ,I don't see anything related to (0 0 -1) and (0.1461 0.292 1). Could anyone help me,thanks?

 March 28, 2006, 08:18 It specifies two opposite poin #2 Senior Member   Markus Hartinger Join Date: Mar 2009 Posts: 102 Rep Power: 6 It specifies two opposite points of a box. All cells within that box are selected. It is used to set the void fraction gamma, in order to pile up a lot of water to be splash around. markus

 March 28, 2006, 08:19 "box (0 0 -1) (0.1461 0.292 1) #3 Senior Member   Eugene de Villiers Join Date: Mar 2009 Posts: 724 Rep Power: 10 "box (0 0 -1) (0.1461 0.292 1)" defines a rectangular prism aligned with the coordinate system with one point (minimum x, y and z) at (0 0 -1) and another point (maximum x, y and z) at (0.1461 0.292 1).

 March 28, 2006, 21:24 Thank you all. But something c #4 New Member   Dan Chang Join Date: Mar 2009 Posts: 4 Rep Power: 6 Thank you all. But something confused me is why is "box (0 0 -1) (0.1461 0.292 1)" in this case. eg: convertToMeters 0.146 0.1461*0.146=0.0213 is not the physical size of water column. So does 0.292,1,and -1. Could anyone help me,thanks?

 March 29, 2006, 07:05 The 'convertToMeters' in block #5 Senior Member   Markus Hartinger Join Date: Mar 2009 Posts: 102 Rep Power: 6 The 'convertToMeters' in blockMeshDict is only used inside the 'blockMesh' mesh-generator. x=0.1461 and y=0.292 is the 'top-right' corner of the water column in physical space. The other coordinates are just chosen to be bigger for convenience markus

 March 29, 2006, 21:17 Thanks,I already know it. Ther #6 New Member   Dan Chang Join Date: Mar 2009 Posts: 4 Rep Power: 6 Thanks,I already know it. There is a geometry figure in the uer guide U-55, it is different with the simulated case. So I am just a little confused. Thank you.

October 21, 2009, 10:33
#7
Member

toto
Join Date: Jun 2009
Posts: 71
Rep Power: 6
Quote:
 Originally Posted by eugene "box (0 0 -1) (0.1461 0.292 1)" defines a rectangular prism aligned with the coordinate system with one point (minimum x, y and z) at (0 0 -1) and another point (maximum x, y and z) at (0.1461 0.292 1).

Please could you tell me how can i set the makeCellSets file "boxToCell" is case?

Attached Files
 geaom.doc (67.5 KB, 87 views)

May 5, 2013, 02:55
Zmin y Zmax
#8
New Member

Alexander Villamizar Hernández
Join Date: Mar 2013
Posts: 5
Rep Power: 2
Quote:
 Originally Posted by dan Thank you all. But something confused me is why is "box (0 0 -1) (0.1461 0.292 1)" in this case. eg: convertToMeters 0.146 0.1461*0.146=0.0213 is not the physical size of water column. So does 0.292,1,and -1. Could anyone help me,thanks?

I have a question. Why the zmin is -1 and zmax is 1?. Thanks

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post mohammad dehghani FLUENT 2 November 26, 2007 04:05 waynezw0618 OpenFOAM Running, Solving & CFD 0 December 17, 2006 23:39 dan OpenFOAM 0 March 28, 2006 06:55 What means % in Fortran Main CFD Forum 2 April 20, 2004 15:34 neu FLUENT 1 June 2, 2003 04:44

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