Can't pass checkMesh after several optimisation cycles #144
Replies: 1 comment 4 replies
-
Which optimizer you are using? We found that the SNOPT optimizer worked best for compressor cases because it has a mechanism to automatically reduce the optimization step size when mesh quality fails. SLSQP and IPOPT do not have this mechanism and will keep trying poor mesh quality designs. But even with SNOPT, compressor cases can still have mesh quality issues because it is an internal flow case. Another way you may want to check is to lower the upper and lower bounds of the design variables (e.g., from -2e-3 to 2e-3). We recently updated the DAFoam version and the optimization will output the bad quality mesh to the postProcessing folder. You can load them in Paraview and figure out which part of the mesh is failing, and then reduce the design variable bounds or adjust the mesh in that area. Let me know if this helps. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I am simulating a centrifugal compressor with DATurboFoam with a 140k cell unstructured mesh.
For the first 6 optimisation iterations everything runs smoothly and then it seems like he is not able to find a mesh without severe errors and after some time it stops. The error log is attached. I am wondering if there is anything i can do to prevent this from happening or if my simulation/mesh is just not setup correctly.
error_log.txt
Also it seems like he can not find the outlet patch faces, which is odd since he can find the faces of all other patches.
"Found matching patch outlet with 0 faces."
Should I be worried about this?
Thanks in advance
Alex
Beta Was this translation helpful? Give feedback.
All reactions