CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Example Breaking of Dam (https://www.cfd-online.com/Forums/openfoam/117223-example-breaking-dam.html)

avillamizarh May 5, 2013 02:05

Example Breaking of Dam
 
Hello. I need help. In the example of the breaking of a dam, on the line boxTo Cell.

box (0 0 -1) (0.1461 0,292 1);

Why zmin is -1 and zmax is 1?. Whereas the geometry of the problem defined in the point z 0 and 0.1. I do not understand.

I hope you can help me. Thanks.

fabian_roesler May 5, 2013 06:33

Size of box merged with cells
 
Hi

The size of the box does not matter when it's bigger than your domain. All cells in z-direction are between -1 and 1 so all are set to alpha1 = 1.

Regards

Fabian

avillamizarh May 5, 2013 12:42

Quote:

Originally Posted by fabian_roesler (Post 425297)
Hi

The size of the box does not matter when it's bigger than your domain. All cells in z-direction are between -1 and 1 so all are set to alpha1 = 1.

Regards

Fabian


Thanks Fabian. Then I can define zmin = 0 and zmax = 1, and I get the same answer that zmin = -1 and zmax = 1.


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