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

cell in 2D

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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


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
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 Siemens 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 08:47
[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


All times are GMT -4. The time now is 02:32.