|
[Sponsors] |
March 28, 2006, 07:57 |
Could someone tell me what boxToCell means
|
#1 |
New Member
Dan Chang
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
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, 09:18 |
It specifies two opposite poin
|
#2 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
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, 09:19 |
"box (0 0 -1) (0.1461 0.292 1)
|
#3 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
"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, 22:24 |
Thank you all. But something c
|
#4 |
New Member
Dan Chang
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
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, 08:05 |
The 'convertToMeters' in block
|
#5 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
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, 22:17 |
Thanks,I already know it. Ther
|
#6 |
New Member
Dan Chang
Join Date: Mar 2009
Posts: 4
Rep Power: 17 |
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: 17 |
Quote:
Please could you tell me how can i set the makeCellSets file "boxToCell" is case? Thank you in advance |
||
May 5, 2013, 02:55 |
Zmin y Zmax
|
#8 | |
New Member
Alexander Villamizar Hernández
Join Date: Mar 2013
Posts: 5
Rep Power: 13 |
Quote:
I have a question. Why the zmin is -1 and zmax is 1?. Thanks |
||
September 3, 2014, 15:44 |
Questions about SetFields
|
#9 |
Member
Parisa
Join Date: Feb 2013
Posts: 51
Rep Power: 13 |
I have 2 questions about setFields. I was partially answered based on the the following post:
http://www.cfd-online.com/Forums/ope...ell-means.html However, my questions are: 1- How the minimum and maximum corners are determined? 2- Why zmin and zmax are -1 and +1, as exactly the last forumer aske? I appreciate if you help me, Parisa Last edited by wyldckat; September 28, 2014 at 12:20. Reason: rectified link and moved post to the same thread |
|
September 28, 2014, 12:28 |
|
#10 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer, based on previous answers of mine:
|
||
February 17, 2016, 16:26 |
add boxtoCell
|
#11 |
New Member
Nadine
Join Date: Feb 2016
Location: MS
Posts: 8
Rep Power: 10 |
Hello ,
i need help regarding those 2 lines what is the difference between add and new , and is it true that openFoam no longer use cellSet should i replace it with something else ? cellSet refine new cellSet refine add boxToCell (0.0 0.0 0.0) (0.584 0.146 0.584) cellSet refine new boxToCell (0.0 0.146 0.0) (0.548 0.292 0.584) Thank you |
|
February 21, 2016, 13:56 |
|
#12 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers:
Quote:
|
||
February 22, 2016, 20:17 |
|
#13 |
New Member
Nadine
Join Date: Feb 2016
Location: MS
Posts: 8
Rep Power: 10 |
Thank you very much i am now able to refine the region i wanted !
|
|
June 25, 2018, 14:48 |
|
#14 |
Member
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 9 |
Hello Foamers,
I want to ask if there is a way i can code a cylinderTocell field to oscillate. Indeed, I created cylinderTocell field using topoSetDict, I want to know it can be put in motion. I have seen in interFoam tutorials, setFieldsDict is used to give a linear velocity to a boxtocell Field. Is it posible to give it also an oscillating velocity? Please help me to find out if there is a way this cylinderTocell Field can be moved(oscillating motion). my ultimate goal is to simulate flow over that cylinder? (stationary and oscillating). I thought that cylinder will be immersed not body fitted? Does it sound feasible? I will be happy to hear from you. Regards! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
means of this error | mohammad dehghani | FLUENT | 2 | November 26, 2007 04:05 |
How to use BoxToCell | waynezw0618 | OpenFOAM Running, Solving & CFD | 0 | December 17, 2006 23:39 |
Could someone tell me what boxToCell means | dan | OpenFOAM | 0 | March 28, 2006 07:55 |
What means % in Fortran? | What means % in Fortran | Main CFD Forum | 2 | April 20, 2004 15:34 |
What this means? | neu | FLUENT | 1 | June 2, 2003 04:44 |