CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Basic Question (http://www.cfd-online.com/Forums/openfoam/69622-basic-question.html)

a_yoshi October 28, 2009 23:19

Basic Question
 
I 'm studying OpenFOAM now.
I wonder that there is nothing the loop
do i=0,nx
do j=0,ny
do k=0,nz

in turbuFoam source code in $FOAM_APP/solvers/turbFoam.

Please teach me where the loop
the loop
do i=0,nx
do j=0,ny
do k=0,nz

in the OpenFOAM Source code ?


Regards, yoshi

alberto October 28, 2009 23:55

Hi Yoshi,
OpenFOAM is a fully unstructured code, as a consequence there is no direct relation between cells and the principal directions of the coordinate system. You might want to take a look at the programmer's guide, page 29 and following for some more detail.

Best,

a_yoshi October 29, 2009 02:45

Quote:

Originally Posted by alberto (Post 234431)
Hi Yoshi,
OpenFOAM is a fully unstructured code, as a consequence there is no direct relation between cells and the principal directions of the coordinate system. You might want to take a look at the programmer's guide, page 29 and following for some more detail.

Best,

Thank you for your replying, Verdana

I understand that OpenFoam solver is unstructured meshed solver.

But , I want to know,

Which routine does it process the unstructured mesh for the solver ?

Regards, Yoshi


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