Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

When I use MAPDL, I get an error

TAGGED: 

    • xiaolong ding
      Subscriber

      When I use the above code to implement the function of representing a matrix as a structure, an error is reported, which looks like this

      Does anyone know what's going on?

    • Ashish Khemka
      Forum Moderator

      Hi,

       

      Did you try using the suggested modification?

      Regards,

      Ashish Kumar

    • xiaolong ding
      Subscriber

      Thanks for your reply,

        Yes, I have suggested increasing or decreasing the Boolean tolerance. However, no matter how you do it, you will still get an error, and the code will run very slowly when the tolerance is relaxed to a certain extent. I found an example on Github where I reported the same error, but it was caused by a small area minus a large area causing the return value to be null. But I'm constantly cycling with boolean operations subtracting small areas from large areas, which shouldn't be his kind of problem. By the way, this error doesn't start in my code's for loop, but halfway through.

      Regards,

      Xiaolong Ding

    • mrife
      Ansys Employee

      Hi @xiaolong Please see the Mechanical APDL Help manual on Modeling & Meshing.  There is a section that discusses topological degeneracy with images of some situations that can cause them.  Not all can be solved by changing the BTOL.  With these you'll need to rethink the modeling steps.  

Viewing 3 reply threads
  • The topic ‘When I use MAPDL, I get an error’ is closed to new replies.