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

Accessing Cell Properties

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2010, 12:00
Default Accessing Cell Properties
  #1
Member
 
O R
Join Date: Mar 2009
Posts: 50
Rep Power: 17
arkangel is on a distinguished road
Dear Forums members

I want to go through all cell of a domain and extract some properties

of example if i want to have the center coordinates

forAll(Cell, cellI){

mesh.C()[celli].x()
mesh.C()[celli].y()
mesh.C()[celli].z()
mesh.V()[celli]
}

any idea how it works ?
I also want to access the coordinates of points that made a cells /face
arkangel is offline   Reply With Quote

Reply

Tags
cell value


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
accessing upstream cell - UDF bohis FLUENT 0 April 7, 2008 05:12
Accessing cell thread from a boundary face thread? Vishal FLUENT 2 March 21, 2006 07:29
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
Warning 097- AB Siemens 6 November 15, 2004 04:41
Accessing Neighbouring Cell info Murali Siemens 1 December 9, 2002 06:10


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