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

cell index ijk -> i,j,k

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2012, 15:42
Question
  #1
New Member
 
mediode
Join Date: Mar 2009
Posts: 27
Rep Power: 17
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 16:43.
mediode is offline   Reply With Quote

Old   July 26, 2012, 14:21
Default
  #2
New Member
 
mediode
Join Date: Mar 2009
Posts: 27
Rep Power: 17
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


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
OpenFOAM install on Ubuntu Natty 11.04 bkubicek OpenFOAM 13 May 26, 2011 06:48
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 22:58
Cell index in fluent Naresh FLUENT 0 May 9, 2007 16:56
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
Warning 097- AB Siemens 6 November 15, 2004 05:41


All times are GMT -4. The time now is 20:59.