Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Undefined value found in the stiffness matrix, requested mesh quality cannot be achieved, and obstacle in the fluid channel

Dear All,

I am simulating a sphere flowing in a microchannel with solid traps (2D for simplification). Automatic re-meshing is activated. Two scenarios are considered: Scenario 1, the sphere will encounter a solid trap and get immobilized. Scenario 2, the sphere will flow in the channel beside the trap.

However, for Scenario 1, the simulation cannot go on (or get crushed) when the sphere draws near to the trap. The problem is 'requested mesh quality cannot be achieved', because the mesh near the trap changes so dramatically?

Moreover, how can I set a stop for the simulation, when the sphere achieves to hit the trap (obstacle)? or change the boundary condition?

For Scenario 2, the sphere cannot get through the narrow channel between the traps around it. The problem is 'Undefined value found in the stiffness matrix'. I guess this is also due to the mesh crushing? If I put the sphere at the crushed place and run the simulation again, the sphere can move again and get crushed at the next trap.

Could anybody find a way to solve these problem? Thanks a lot.

The files for scenario 1:
and for scenario 2:


0 Replies Last Post 23/01/2013, 11:59 GMT-05:00
COMSOL Moderator

Hello Zimeng Wang

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.