Mesh quality analyzer v2!

Each topic contains a file uploaded by the creator. Browse, upload, download and comment on new and existing files.

Mesh quality analyzer v2!

Postby michaele » Fri Jan 23, 2015 9:44 pm

I've updated my old mesh quality analyzer with new features!

A small list of it's current features:
1. Outputs what percent of cells fail a criterion (quality, skewness, volume change), as well as displaying the worst skewness angle and quality. This is written to the output window and a text file.
2. Visualizes poor cells based on thresholds of cell quality, skewness, volume change, and the 'bad cell' criterion
3. Create histograms of all of these criterion automatically
4. Create a scene of prism cells
5. Write STAR-VIEW scenes of these visualizations.
6. Generate scenes of cell surfaces on orthogonal planes. The planes are positioned by geometric extents.
7. Each criterion and visualization has separate categories/displayers for fluid and solid cells
8. Save the sim file (useful for running in batch on massive grids or remote servers)
9. The macro can be run again to update anything or reset settings

Because of the plotting and other improvements in 9.06 onwards, there are two macros to use:
version <= 9.04, use meshQualityCheck.java
version >= 9.06, use meshQualityCheck2.java
Please login or register to access and download the files attached to this post.
michaele
 
Posts: 3
Joined: Tue Oct 16, 2012 1:33 pm

Re: Mesh quality analyzer v2!

Postby MarcR » Mon Feb 23, 2015 12:06 pm

Great tool, saves a lot of time! Thx
MarcR
 
Posts: 2
Joined: Thu Aug 07, 2014 11:23 am

Re: Mesh quality analyzer v2!

Postby MarcR » Fri Jul 08, 2016 11:21 am

The tool is not working with the new Version 11.04
Is there a fixed version MeshQualityAnalyzer_v3?
MarcR
 
Posts: 2
Joined: Thu Aug 07, 2014 11:23 am

Re: Mesh quality analyzer v2!

Postby Declan » Sun Jul 24, 2016 10:43 am

This is fantastic!!! Thank you so much for compiling it michaele, it worked first time on v90211
Declan
 
Posts: 1
Joined: Fri Jul 08, 2016 10:09 pm

Re: Mesh quality analyzer v2!

Postby christof.schloer » Thu Mar 30, 2017 6:59 am

Great tool, I used it till 11.06b. Unfortunatly in 1202a it cause a GUI freeze under Linux. The server is still running and can be reconnected.
christof.schloer
 
Posts: 1
Joined: Thu Dec 10, 2015 12:27 pm

Re: Mesh quality analyzer v2!

Postby valdesrj » Thu Apr 13, 2017 8:59 pm

christof.schloer wrote:Great tool, I used it till 11.06b. Unfortunatly in 1202a it cause a GUI freeze under Linux. The server is still running and can be reconnected.

Same for me. Running RHEL Release 6.8, Kernel Linux 2.6.32-642.15.1.el6.86_64, GNOME 2.28.2
Hopefully this can be fixed since this has been a very useful macro for me.
valdesrj
 
Posts: 1
Joined: Thu Jan 19, 2017 2:57 pm

Re: Mesh quality analyzer v2!

Postby frkasper » Wed Apr 19, 2017 2:27 pm

There is some kind of intermittent hang going on in v12.02. It does hang sometimes and at different states. A work around is to make the macro save the sim file...

Code: Select all
  1.         //save simulation after finished?

  2.         Boolean saveSim = true;



...and play it in batch mode with:

Code: Select all
  1. starccm+ -batch path_to_macro path_to_your_sim_file



Note this is done only once per sim file.

Hope this helps.
Fabio Kasper
User avatar
frkasper
 
Posts: 153
Joined: Mon Dec 12, 2011 5:55 pm

Re: Mesh quality analyzer v2!

Postby jfeng » Tue Jun 27, 2017 6:16 pm

Attached a new version v3 of the mesh quality check macro, which hopefully has fixed the intermittent hanging issue.

frkasper wrote:There is some kind of intermittent hang going on in v12.02. It does hang sometimes and at different states. A work around is to make the macro save the sim file...

Code: Select all
  1.         //save simulation after finished?

  2.         Boolean saveSim = true;

  3.  



...and play it in batch mode with:

Code: Select all
  1. starccm+ -batch path_to_macro path_to_your_sim_file

  2.  



Note this is done only once per sim file.

Hope this helps.
Please login or register to access and download the files attached to this post.
jfeng
 
Posts: 1
Joined: Mon Jun 28, 2010 4:44 pm

Re: Mesh quality analyzer v2!

Postby kmhord01 » Thu Jul 13, 2017 1:19 pm

A note on the intermittent hanging issue, this was identified as a bug in STAR-CCM+ for 12.02. I should be fixed in a later version.
kmhord01
 
Posts: 1
Joined: Fri Jun 26, 2015 8:54 pm


Return to Upload / Download Files

Who is online

Users browsing this forum: No registered users and 1 guest

cron