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

Accessing Cell Properties

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 29, 2010, 12:00
Default Accessing Cell Properties
  #1
Member
 
O R
Join Date: Mar 2009
Posts: 50
Rep Power: 9
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

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
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 08:29
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
Accessing Neighbouring Cell info Murali CD-adapco 1 December 9, 2002 07:10


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