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

How can I get the area of a cell?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2002, 05:22
Default How can I get the area of a cell?
  #1
cloudz
Guest
 
Posts: n/a
I want to calculate the airflow between zones. So the velocity and current cell area are need to know,how can I get it? thanks.
  Reply With Quote

Old   October 21, 2002, 10:45
Default Re: How can I get the area of a cell?
  #2
Eugene
Guest
 
Posts: n/a
Try http://htex.mpei.ac.ru/~krinitsky/index1.html software. Load PHI file, enter to analyze mode and click mouse button on cell and you see velocity value and X,Y,Z cell size.
  Reply With Quote

Old   October 22, 2002, 09:09
Default Re: How can I get the area of a cell?
  #3
cloudz
Guest
 
Posts: n/a
i mean,i want to calculate the airflow in ground.for. so i wonder whether there are any symbol used to represent the area of current cell(or the x,y,z extent of current cell)?
  Reply With Quote

Old   October 22, 2002, 10:58
Default Re: How can I get the area of a cell?
  #4
Rami
Guest
 
Posts: n/a
Hi cloudz,

If you wish to access the EAST face (say) of all cells -

get the 0-location index by

l0a = L0B(ASURFE)

loop on the range of indices (e.g., ix1<= ix <=ix2, etc.), and retrieve the area fro the F array by:

do izz = iz1,iz2

jz = Nx*Ny*(izz-1)

do ix = ix1,ix2

do iy = iy1,iy2

icell = iy + Ny*(ix-1)

area = F(l0a + icell + jz)

enddo ! iy

enddo ! ix

enddo ! izz

Note, that part of the above variables (e.g., Nx, Ny etc.) are passed in commons included in some of d_includ/ folder.

I hope this helps. Rami

  Reply With Quote

Old   October 23, 2002, 09:55
Default Re: How can I get the area of a cell?
  #5
cloudz
Guest
 
Posts: n/a
Rami,thank you very much. Can you explain more detailedly,what's the function L0B(ASURFE) meaning? I've looked for the polis,but just find the L0F(variable name) function subroutine.
  Reply With Quote

Old   October 23, 2002, 10:12
Default Re: How can I get the area of a cell?
  #6
Rami
Guest
 
Posts: n/a
See explanation in POLIS encyclopaedia, entry F-ARRAY of EARTH, (k) Block-location Indices (LB's); BFC Geometrical Quantities, file:/phoenics/d_polis/d_enc/enc_fa11.htm
  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
Area of a particular face of the cell using UDF krish Fluent UDF and Scheme Programming 20 September 16, 2015 05:08
cell surface area in boundary.. Chiar FLUENT 0 March 7, 2007 03:53
How to calculate the cell area Le FLUENT 0 February 18, 2007 22:15
cell velocity U and its cell face area Chinayu Siemens 0 May 6, 2006 22:44
total cell area Ossi Siemens 5 April 8, 2002 02:14


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