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

cell index ijk -> i,j,k

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 18, 2012, 14:42
Question
  #1
New Member
 
mediode
Join Date: Mar 2009
Posts: 26
Rep Power: 8
mediode is on a distinguished road
Hello,

/comdeck/ijk.f transfers the three cell-indexes i,j,k, in the x,y, and z direction into the "3D cell index" ijk. I think this is done because the storage is actually done in an 1D-array.
Is there a way to do it the other way around? Is it possible to derive the cell indexes i,j,k from the 3D-index ijk?

Best regards

m*

Last edited by mediode; July 20, 2012 at 15:43.
mediode is offline   Reply With Quote

Old   July 26, 2012, 13:21
Default
  #2
New Member
 
mediode
Join Date: Mar 2009
Posts: 26
Rep Power: 8
mediode is on a distinguished road
possible:

use i_str(ijk), j_str(ijk) and k_str(ijk)

m*
mediode 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
OpenFOAM install on Ubuntu Natty 11.04 bkubicek OpenFOAM 13 May 26, 2011 05:48
Cells with t below lower limit Purushothama CD-adapco 2 May 31, 2010 21:58
Cell index in fluent Naresh FLUENT 0 May 9, 2007 15:56
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
Warning 097- AB CD-adapco 6 November 15, 2004 05:41


All times are GMT -4. The time now is 19:32.