Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Control the size of the output mesh after Automatic Remeshing occurs

Victor Garcia Bennett

Please login with a confirmed email address before reporting spam

Hello all!

I am having troubles with a "Laminar Two-Phase Flow, Moving Mesh" model: the mesh elements are becoming very distorted and eventually the simulation crashes. Therefore, I have added the "Automatic Remeshing" option (I have tried changing the "Condition Type" and the options in each condition type).

However, I have found that each time it remeshes it creates a finer mesh and, thus, it is easier that a mesh element does not satisfy the automatic remeshing condition. Furthermore, if the mesh is finer the simulation takes longer to run. In the end, my model enters a loop where it remeshes basically every step the solver takes (for example, my last simulation remshed 26 times in 0.2 seconds) and it eventually crashes because "can't find a solution that satisfies the tolerance" (I have reduced the tolerance to less restrictive values).

Does anyone know how to control the size or the properties of the output mesh? Or does anyone have any recommendations for this problem?

Thank you very much in advance.

PS: I've attached a screenshot of the original mesh and the final mesh (before it crashes)



0 Replies Last Post 2018年4月23日 GMT-4 05:28
COMSOL Moderator

Hello Victor Garcia Bennett

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.