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

Total Number of Cells

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2013, 14:50
Default Total Number of Cells
  #1
New Member
 
MM
Join Date: Aug 2011
Posts: 15
Rep Power: 5
mk_mard is on a distinguished road
Hello,

Is there any way to count total number of cells in a simulation - I have several regions.

The 'Mesh Diagnostics' give the numbers for each region separately and not all at once.

Thanks
mk_mard is offline   Reply With Quote

Old   April 16, 2013, 15:08
Default
  #2
Super Moderator
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 313
Rep Power: 9
rwryne is on a distinguished road
Quote:
Originally Posted by mk_mard View Post
Hello,

Is there any way to count total number of cells in a simulation - I have several regions.

The 'Mesh Diagnostics' give the numbers for each region separately and not all at once.

Thanks
Edit: original message below in italics, I was wrong! Corrected edit in bold

In the overall simulation tree, go to Representations->Volume Mesh. Clicking on the volume mesh parent node will give you an overall sum for all regions.
Expand the volume mesh node to see a per region total too (easier than diagnostics)



Original message (with incorrect information!):
No, there isn't a way to get the total cell count afaik.

There is an easier way to get it for each region though (Mesh diagnostics outputs a lot more than just that obviously). Go to Representations near the bottom and expand it.... each region will have an entity under Volume Mesh, click those and you get a cell count.


You could make a script to do it fairly easily. Youll need to use "FvRepresentation" and related objects.

Last edited by rwryne; April 16, 2013 at 16:18.
rwryne 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
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
ERROR #001100279 has occurred in subroutine ErrAction. smnaryal CFX 7 January 3, 2013 19:09
error in parallel run immortality OpenFOAM Running, Solving & CFD 7 January 1, 2013 14:35
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36


All times are GMT -4. The time now is 04:58.