CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By fumiya
  • 1 Post By cfdonline2mohsen

Reply
 
LinkBack Thread Tools Display Modes
Old   June 28, 2013, 10:39
Default how to get the number of cells, internal faces and boundary faces
  #1
Senior Member
 
Join Date: Jan 2013
Posts: 197
Rep Power: 4
openfoammaofnepo is on a distinguished road
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.
openfoammaofnepo is offline   Reply With Quote

Old   June 28, 2013, 12:01
Default
  #2
Senior Member
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 169
Rep Power: 7
fumiya is on a distinguished road
Hi,

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

Hope this helps,
Fumiya
ScarFace likes this.
fumiya is offline   Reply With Quote

Old   June 29, 2013, 04:38
Default
  #3
Senior Member
 
cfdonline2mohsen's Avatar
 
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 117
Rep Power: 7
cfdonline2mohsen is on a distinguished road
Quote:
Originally Posted by fumiya View Post
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
ScarFace likes this.
__________________
“If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas.”
cfdonline2mohsen is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 2 November 25, 2012 09:54
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37


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