CFD Online Logo CFD Online URL
Home > Forums > FLUENT

cell in 2D

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

LinkBack Thread Tools Display Modes
Old   March 27, 2007, 11:50
Default cell in 2D
Posts: n/a
I want to know the number of cells, area of each cell and the length of each cell(if quad mesh) in 2D geometry. Is there any macro or any other way to get the above. Please let me know.

Thanks in advance.
  Reply With Quote

Old   March 28, 2007, 15:11
Default Re: cell in 2D
Posts: n/a
when u chek the grid, i guess u can find all the abouve parameters, ryt? if u need to write a udf, then i guess F_AREA(face,face_thread) macro givs u area of each face.

but finding length of each cell, i hope this is cumbersome even using udf's. as u need to 1. loop through each cell thread, 2. then through each cell then loop through nodes and 3. find the coordinates of each node 4. then try to find the distance between them (analytical geom relationship) or finding the position vector w.r.t 1 cell nodes to others then find the maginitude of such a postion vector.

hope this helps


  Reply With Quote


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
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Programming & Development 1 October 11, 2016 13:17
Cells with t below lower limit Purushothama CD-adapco 2 May 31, 2010 21:58
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Running, Solving & CFD 0 October 27, 2009 09:47
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 15:00.