CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   how to get the number of cells, internal faces and boundary faces (http://www.cfd-online.com/Forums/openfoam/120022-how-get-number-cells-internal-faces-boundary-faces.html)

openfoammaofnepo June 28, 2013 10:39

how to get the number of cells, internal faces and boundary faces
 
Dear All,

I am a new OFer and could you please know how to extract the number of cells, internal face as well as boundary faces?

Thank you so much.

fumiya June 28, 2013 12:01

Hi,

You can find the answers in the following file:
https://github.com/OpenFOAM/OpenFOAM...intMeshStats.C

Hope this helps,
Fumiya

cfdonline2mohsen June 29, 2013 04:38

Quote:

Originally Posted by fumiya (Post 436595)
Hi,

You can find the answers in the following file:
https://github.com/OpenFOAM/OpenFOAM...intMeshStats.C

Hope this helps,
Fumiya

Yeah,it's the checkMesh utility.
type at the terminal:
Code:

checkMesh


All times are GMT -4. The time now is 02:26.