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

Convert coordinate system in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 2, 2010, 05:03
Default Convert coordinate system in OpenFOAM
  #1
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Dear all,

I am working with a project where we would like to implement a surface capturing method that requires information of the coordinate system in the form x(i,j,k). I have understood that OpenFOAM uses a cell list of the form x(i), so you do not really know the ijk position of a cell. The grid we want to use is a simple orthogonal grid. I would like to know the following:
  1. Does anyone know of a method to retrieve the "ijk information" of each cell in OpenFOAM?
  2. How can the cell number (or cell position info) be accessed in OpenFOAM? Is it a "real cell number" or a e.g. a pointer to a location in memory?
Many thanks in advance!
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

 


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
spherical coordinate system in Fluent Amir FLUENT 1 March 8, 2015 12:25
Defining local coordinate system bastil OpenFOAM Pre-Processing 11 August 8, 2011 08:26
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


All times are GMT -4. The time now is 10:17.