CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Mesh aspect ratio (

aka August 21, 2011 02:43

Mesh aspect ratio
Can any one help me how I can continue adding the following parameter in one of the OpenFoam source files? If dx, dy, and dz are the cell sizes of each grid, and m=max(dx,dy,dz). I want to get parameters, b1=dx/m,b2=dy/m, b3=dz/m. I appreciate if any one gives me a clue how to get and include it in the OpenFoam C++ code?

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