# How can I get the area of a cell?

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

 October 21, 2002, 05:22 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.

 October 21, 2002, 10:45 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.

 October 22, 2002, 09:09 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)?

 October 22, 2002, 10:58 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

 October 23, 2002, 09:55 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.

 October 23, 2002, 10:12 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

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post krish Fluent UDF and Scheme Programming 20 September 16, 2015 05:08 Chiar FLUENT 0 March 7, 2007 04:53 Le FLUENT 0 February 18, 2007 23:15 Chinayu CD-adapco 0 May 6, 2006 22:44 Ossi CD-adapco 5 April 8, 2002 02:14

All times are GMT -4. The time now is 14:43.