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

OpenFOAM basic Question

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 7
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: 647
Rep Power: 11
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Question Abhi FLUENT 1 August 4, 2007 08:07
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19: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 19:03
Basic Question on Convergence Anshul FLUENT 1 August 2, 2002 02:14


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