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

cell in 2D

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 27, 2007, 11:50
Default cell in 2D
  #1
Sangeeta
Guest
 
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
  #2
Rizwan
Guest
 
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

Regards

Rizwan
  Reply With Quote

Reply

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
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
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Programming & Development 0 October 26, 2009 13:10
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 10:14.