I am facing some problems during the mesh creation. The geometry has been created in OnShape and exported as a STEP. The fact is that since July I have been working with a geometry created with the same procedure without any problem, but now I did some minor modifications on the geometry and now the mesher complains like this:
A problem occured in surface mesh generation. Retrying meshing with quadrangle surface elements disabled for the following solid: B24_TE28463
I tried some slightly different geometries, modified from the original mesh that worked, and all of them give me the same error but changing the name of the āsupposed solidā. And I say āsupposed solidā because thereās no solid named like that in my geometryā¦
Another thing I tried is to import directly the geometry from Onshape, which gives out the same error. This time, however, in one of the trials it points out to an actual solid of my geometry. A solid that hasnāt suffered any change from the previous geometry iterationā¦ Below you can see the original geometry and the modified geometry:
What can I do to skip these problems and get the mesh done?
Thanks in advance.
Alex
Edit: I already watched this video by @BenLewis but I couldnāt figure out what can be happening since I donāt use Solid Works but Onshape. Is there any tool like Geometry Analysis in Onshape?
Besides that, I also tried to remesh the original mesh again so as to check if there was a problem with the mesher itself, since a lot of changes have been introduced recently and maybe some of them introduced some bug to the mesher, but the mesh of the original geometry keeps working fineā¦
I also thought that it could be a problem with Onshape, maybe some software update from July on affected the geometry generation internally somehow. Do you know if it can be possible?
I am trying to identify the cause but could not find anything so far. If I am not mistaken you could use feature scripts on Onshape to check your geometry but I never tried it tbh. Darren (@1318980), do you know if these scripts also work for FEA because for CFD they do for sure. Inviting the PowerUsers_FEA here, maybe they have a good solution on how to efficiently check geometries with Salome or anything else.
Hi @jousefm@alex_roque , yer feature scripts can do pretty much whatever you want them to do, but beware, because they are features you could create a script that says, queries all small faces, a large geometry will take ages, potentially time out and will do the operation upon every re-generation, so you need to delete it once you have found what you are looking for.
there seems to be some issue with the refinement you have chosen. When removing every refinement I get a coarse mesh without any error messages. I will try to increasingly refine the mesh later on and let you know about my progress.
thanks to your information I developed some tests reaching the same results as you, that is to say, by removing all the refinements I can get a mesh no matter what geometry I use. Which is not very useful since I need the refinements. After that I carried out some other tests so as to try to find out a solution to this issue I am facing, with no luck I am sorry to sayā¦
I will list all the tests I have been doing so as to shed some light in order to solve the problem:
Mesh from NEW geometry (STEP) without any refinement/coarsening: OK it works
Mesh from NEW geometry (STEP) with ANY refinement/coarsening: FAIL no matter what refinement/coarsening I use. In the original mesh I used 4 diferent refinements/coarsenings. I tried all of them one by one applied to the same parts and the error I get is the same for all. Besides I tried to apply a refine to only one part reaching the same result.
Mesh from NEW geometry (Imported directly from Onshape) with refinement/coarsening: FAIL. Same as 2 (I only tried to get the mesh with all the original refinements, I didnāt try to add the refinements one by one).
Mesh from ORIGINAL geometry (STEP) uploaded in July: It works exactly as it did in July when I first meshed it.
Mesh from ORIGINAL geometry (STEP) reuploaded today: FAIL. Same as 2 (I only tried to get the mesh with all the original refinements, I didnāt try to add the refinements one by one).
Mesh from NEW geometry (x_t) with all the refinements: FAIL. Same as 2.
Mesh from NEW geometry (IGES) with all the refinements: FAIL. The geometry itself seems to be uploaded with some error since the Geometry Event Log reports the following messages: Geometry import reported body check errors. In case you face issues in meshing consider cleanup operations in your CAD tool. Number of small faces: 2 Number of open shells: 36 Geometry is not watertight.
After all these tests I realized that the Geometry Event Log and the Mesh Operation Event Log now give slightly different information compared to July. Besides that, now the uploading process respects the original part names, which is something very helpful. However, all these changes in the geometry handling make me think that something might have changed for bad during the software update you did in the platform causing these problems with the refinments. What do you think? Have you noticed this problems before or heard from someone elseās experince?
I really need to solve this issue to be able to carry on my simulations. I hope my inputs can give you valuable information in order to solve it.
Exactly what I experienced as well with the refinement ON/OFF approach. @yosukegb4, can you see if there is some kind of overlap or corrupted component with Rhino? Unfortunately I did not manage to get a tool on my machine so far (shame on me) to check weird behavior of CAD models. Tagging my colleague Richard (@rszoeke) here who might give his two cents on this issue.
Hi @alex_roque,
I think we found the issue. I just filed a bug report. There is indeed an issue with refinements on Tet-Dominant meshes with newly uploaded geometries (where we would use our new CAD kernel).
I will let you know as soon as I have any updates.
PS: To unblock you, if you like, I can upload your model to the project using the old kernel. Just let me know which CAD files and I will do it on a copy of your project.
Thanks for the feedback. It would be nice if you could upload my geometries with the old kernel, how can we do it? How can I send you the geometries so that you can upload them?
Hi @alex_roque,
no need to send me the geometries they are already uploaded to the project. If not please just upload them.
I would only need the names of the geometries which you would need to be re-imported.
Hi @alex_roque,
here is the project with the leswt 3 geometries re-uploaded using the old kernel (you can notice this by the different names of the solids, with the new kernel we can directly show the original CAD names): SimScale
I tried to mesh the first of the three and it worked just fine:
Hi @alex_roque
Thanks for reporting this issue! I have just pushed a fix to the live system which ensures that the mesh is created correctly with the new CAD backend as well. Feel free to try it out and report back if there are any problems.
Hannes
I will reuse this thread to mention a kind of bug I am facing since you fixed the problem with the meshing algorithm. Although now I can mesh my geometries without a problem, now it produces infinitesimal faces where there should be edges, resulting in a distorted mesh in these areas and affecting the accurateness of the results. Here comes the problem.
As you can see, the edge is converted into a very tiny face, which enforces the creation of very distorted and sharp tets and a refinment around these edges. This fact in the end turns into poor accurateness results in this area as you can see in the picture below.
Not a problem @jousefm! Actually I am used to report bugs due to my previous experience with OpenFOAM! Always helping to improve the software and willing to help!