|
[Sponsors] |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
can anyone tell me with which macro i can access the volume of a cell. it must be somewhere, but I could not find it. urgent. thanks in advance.
KK |
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
Hi, with C_VOLUME(c,t) you can access to the cell vol. You can include it in several macros, depends what do you want to do. Also you have to include it inside a loop to get the volumes of the all cells inside a thread.
I hope this helps you! |
|
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
alphaEqn.H in twoPhaseEulerFoam | cheng1988sjtu | OpenFOAM Bugs | 15 | May 1, 2016 16:12 |
FvMatrix coefficients | shrina | OpenFOAM Running, Solving & CFD | 10 | October 3, 2013 14:38 |
Accessing velocity at the cell center | alastormoody11 | STAR-CCM+ | 0 | February 8, 2011 23:12 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |
calculate cell volume, center...? | Paul | Main CFD Forum | 5 | June 21, 2003 12:55 |