CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Aspect ratio (http://www.cfd-online.com/Forums/openfoam/109038-aspect-ratio.html)

tayo November 7, 2012 16:14

Aspect ratio
 
Hi all,

I'm doing some post-processing and I want to count the number of cells across a bubble interface i.e. from one end of the interface to the other for a horizontal vertical planes defined from the center. I want to use this to compute the aspect ratio but I don't know how to go about this. Kindly provide an idea or sample code to help with this. Thanks

nimasam November 8, 2012 03:19

i guess you can do it with these steps:
1- contour (alpha1=0.5)
2-plot over line
3- in information, bound you will see x,y and z range

tayo November 8, 2012 13:47

Thanks for that idea Nima.


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