CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   cell volume (http://www.cfd-online.com/Forums/openfoam/81026-cell-volume.html)

hyperion October 13, 2010 18:05

cell volume
 
Hello Everyone - I am a beginner at openFOAM and ParaView and I am wondering if there is an easy way to use the cell volumes of the domain to calculate new variables. I am aware of the calculator function in ParaView and I was hoping I could use it to do something like multiply the density of each cell by it's volume to determine the mass inside each cell. I know ParaView and openFOAM must know what the cell volumes are, but I just don't know how to access that information readily. Thank you so much for any and all help.

Brinx October 17, 2010 15:20

This is something I'm also interested in. As I'm using a wedge-shaped domain, the cells have a variable z-depth. This throws off some of the calculated quantities, which I have to correct by taking individual cell volumes into account. I'll be working on it tomorrow - if I find any useful information on quickly retrieving cell volumes I'll post it here.


All times are GMT -4. The time now is 20:19.