Moving Mesh Simulation – Fatal Error During Assembly/Calculation

Please login with a confirmed email address before reporting spam

Dear colleagues,

I would like to seek your advice on a moving mesh simulation issue.

Current Model: I am simulating "the motion of a current-carrying conductor rod under the influence of a coil's magnetic field."

Physics Interfaces Used: Moving Mesh Magnetic Fields (AC/DC Module) Global ODEs and DAEs (for equation-based modeling)

Implementation Details: In the Magnetic Fields interface, I added a Force Calculation condition to compute the electromagnetic (Lorentz) force. The calculated force is passed to a global differential equation: F=ma=mxtt The displacement is then fed into the Moving Mesh interface to update the conductor rod's position. Since the electromagnetic force changes as the rod moves, I use Transient Analysis in the study step.

Issue: Despite multiple adjustments, the simulation consistently fails with the error: "A fatal error occurred during assembly or calculation."

Request: Has anyone encountered similar issues or have suggestions for troubleshooting? Any insights on: Correct coupling between Magnetic Fields, ODE, and Moving Mesh? Solver settings for such coupled electromechanical problems? Common pitfalls in force-driven moving mesh simulations? Thank you in advance for your expertise! Best regards,

Liu



Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.