Discussion Groups

Simulation CFD

*Expert Elite*
Posts: 426
Registered: ‎10-02-2012
Accepted Solution

Trick to know the meshcount before finishing 0th iteration

130 Views, 1 Replies
10-10-2013 07:53 AM

I have found a very interesting and useful trick which has been successful in my tests so far. Not sure if it is documented or known fact, thoguht it will be useful for others hence sharing.


The approximate meshcount in the mesh dialogue box is often misleading. Especially for large and complicated meshes. And  one has to wait until the meshing is completed before they know the actual mesh count. There is a trick to know the mesh count even before the meshing is completed.


Here is what I do:
1) Open the Task manager >> Processes and click on "Show processes from all users."
2) Sort the processes as per memory usage.
3) Start the meshing by running for 0 iterations in SimCFD and monitor the processes in task manager. You want to track the process called SimCFDMesher.exe which slowly starts consuming more memory.
4) Wait until the last line in output pane message changes from "creating volume mesh" to "optimizing volume mesh" and then quickly check the memory consumed by SimCFDMesher.exe. The size in KB will be the approximate meshcount.


I have successfully tried this trick on 3 models for different mesh sizes as below:


3.05 GB - 3.27 million mesh
5.3 GB -   5.9 million mesh
4.03 GB - 4.14 million mesh
3.5 GB -  3.98 million mesh


So if you see that the approximate meshcount (indicated by consumed memory ) is too small or too large, you can stop the meshing. It stops immediately. Then you can refine/coarsen and again mesh. If you wait until "meshing completed" message, the Solver is triggered and then you have to wait until the 0th iteration is finished  with "Analysis is completed".  And this takes as much time again. This trick saves half the time in meshing and useful especially for large meshes.


I do not know if it works across the board. I am curious to know the experience of other users if they have come across this earlier. 





Please use plain text.
Product Support
Posts: 570
Registered: ‎08-24-2011

Re: Trick to know the meshcount before finishing 0th iteration

10-10-2013 10:31 AM in reply to: OmkarJ
Hi Omkar,

That is what I do as well, and you did a good job documenting. The rule of thumb is 1 GB per 1 million elements for the mesher.exe.

For large models I will watch to see how large the process is and if it becomes much larger than I expect then I will stop the analysis and adjust my mesh.

This is sometimes key when you turn on gap refinement because the estimator only really works reasonably well for the basic automatic (edge) or manual sizing.

Royce Abel
Please use plain text.