Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

Mesh quality and count through SpaceClaim API scripting

    • alrifai
      Subscriber

      Hello, 

      I would like to know the quality of my mesh after I generate it. So let's say if I find any cell OR large number of cells with very high skewness, I can remesh my face. 

      The only command which I found and hoped would perhaps be useful was ValidateMesh. 

      I tried the command as quality = ValidateMesh.Execute(bodySelection,0.3). And then print the value of it for my geometry which returns ALWAYS as True(refer screenshot), no matter what double value I put for the criteria. 

      Can anyone help me as to understand what exactly is this command doing? Also, how do I get number of skewed cells, aspect ratio above/below some criteria?

      Thanks!

    • Atharv Joshi
      Forum Moderator

      Hi Yasser,

      Let me check and get back to you.

      Thanks and Regards
      Atharv

    • ErKo
      Ansys Employee

       

      Hi

       

      This shows how to do this in mechanical.

      https://discuss.ansys.com/discussion/69/how-to-get-the-mesh-quality-using-act?utm_source=community-search&utm_medium=organic-search&utm_term=Mesh+Metric

      If this is not sufficient, then

      Post this in our dedicated script forum:

      https://discuss.ansys.com/

      All the best

      Erik

       

Viewing 2 reply threads
  • The topic ‘Mesh quality and count through SpaceClaim API scripting’ is closed to new replies.
[bingo_chatbox]