CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

OpenFOAM basic Question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2009, 22:09
Default OpenFOAM basic Question
  #1
New Member
 
yoshihisa aoyagi
Join Date: Oct 2009
Posts: 4
Rep Power: 17
a_yoshi is on a distinguished road
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
a_yoshi is offline   Reply With Quote

Old   October 29, 2009, 05:13
Default
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hi Yoshi,
I bet you wrote your own solvers using finite differences on cartezian meshes.
To shortly answer your question, the loop over all the cells is performed when the linear equations are solved using the function (guess its name!) "solve".
I suggest you follow the existing documentation together with the tutorials to get a better overview on the library.

Regards,
Dragos
dmoroian is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Question Abhi FLUENT 1 August 4, 2007 09:07
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 20:01
Basic mutli component question Eduardo Mendoza FLUENT 0 February 17, 2005 09:15
LES..Basic Question NIK Main CFD Forum 13 May 19, 2004 20:03
Basic Question on Convergence Anshul FLUENT 1 August 2, 2002 03:14


All times are GMT -4. The time now is 02:57.