|
[Sponsors] |
October 4, 2018, 11:44 |
Calculate the volume of one cell
|
#1 |
Senior Member
LT
Join Date: Dec 2010
Posts: 104
Rep Power: 16 |
As listed in the title, is there any function which can calculate the volume of one cell directly in OF 4.0?
Thanks! |
|
October 5, 2018, 08:35 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
The first item in the result list of a simple google search for openfoam cell volume gives this result:
How to get the volume of a cell |
|
October 6, 2018, 22:08 |
|
#3 |
Senior Member
LT
Join Date: Dec 2010
Posts: 104
Rep Power: 16 |
jherb, thanks very much!
I used the cellVolume() to get the volume of one cell. Now mesh().V() should be a better way. This thread should be finished! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Set cell volume integrated field values to preserve integral | Diro7 | OpenFOAM Pre-Processing | 2 | June 3, 2018 11:44 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
[General] Wrong Calculation of Cell Volume | olli191 | ParaView | 1 | August 3, 2016 05:09 |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 11:51 |
gradient calculation of cell centered finite volume method | zhengjg | Main CFD Forum | 10 | November 12, 2012 00:13 |