|
[Sponsors] |
October 21, 2002, 06:22 |
How can I get the area of a cell?
|
#1 |
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, 11:45 |
Re: How can I get the area of a cell?
|
#2 |
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, 10:09 |
Re: How can I get the area of a cell?
|
#3 |
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, 11:58 |
Re: How can I get the area of a cell?
|
#4 |
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, 10:55 |
Re: How can I get the area of a cell?
|
#5 |
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, 11:12 |
Re: How can I get the area of a cell?
|
#6 |
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
|
|
|
|
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 06:08 |
cell surface area in boundary.. | Chiar | FLUENT | 0 | March 7, 2007 04:53 |
How to calculate the cell area | Le | FLUENT | 0 | February 18, 2007 23:15 |
cell velocity U and its cell face area | Chinayu | Siemens | 0 | May 6, 2006 23:44 |
total cell area | Ossi | Siemens | 5 | April 8, 2002 03:14 |