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.

Slow Meshing for CFD Channel

Please login with a confirmed email address before reporting spam

Hi everyone,

I am very new to COMSOL, but I have a decent amount of experience in fluid dynamics and CFD (mostly Fluent and CFX). I am trying to set-up a simple 2-D laminar flow model on a micro-fluidic channel (a channel with arrays of small pins in it). I am planning on doing a parameteric sweep on geometrical parameters (such as pin angle, height etc) to characterize the flow and optimize the pressure drop in the channel.

My main issue is meshing time. I tried a somewhat simplified geometry to get my feet wet and making sure that I was setting things right, and everything seemed to work, but the meshing time was 30+hrs for an 4E6 DOF mesh, while the solution time was only 15 mins (although I set the residual to 1E-3 since it was only a test). I am running on a relatively powerful desktop with 64GB of RAM and 2x12 core Xeon processors and COMSOL 5.4.

If I understand the meshing nodes correctly, I am setting two sizes, one for the bulk domains and one for the internal and external boundaries, a corner refinement and I am using a free triangular mesh with 3 layers of boundary layers. The resulting mesh quality is quite good I believe (with a minimum element quality of ~0.5 and avg ~0.9) but again the generation time seems too long. I would like to speed it up as much as possible since I would like to explore a large parameteric space for the sweep.

Is this somewhat normal or am I doing something wrong? Does the meshing algorithm run in parallel by default? Can I enable it or are only some of meshing algorithms parallelizable?

Thanks in advance for your help, and let me know if you need more information,

Krsto


0 Replies Last Post 24.07.2020, 13:17 GMT-4
COMSOL Moderator

Hello Krsto Sbutega

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.