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.

Fail to simulate 2 physics together

Please login with a confirmed email address before reporting spam

Hello,

I am trying to simulate a model which has both solid mechanics and magnetic field modules. I can simulate two physics seperately, but every time they are connected, an error returns:

Segregated group 1
Failed to evaluate variable Jacobian.
- Variable: mod1.curlAz
- Geometry: 1
- Domain: 1

Here I attached a simple coupled model. Could anyone help me with it? Thanks


1 Reply Last Post Nov 27, 2012, 10:56 a.m. EST

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 27, 2012, 10:56 a.m. EST
COMSOL support solved this problem:
The error is caused by a conflict in the handling of frames. The physics
interfaces in Comsol can be usually solved either in a Solid material
("Material" frame) or in a Non-solid material ("Spatial" frame).
Electromagnetic interfaces are however an exception, since they require a
special treatment in presence of deformations (for example, Lorentz
currents must be added to moving conductors).
Therefore, in the current version, the electromagnetic interfaces require
that the "Material type" setting is consistent in all the features (either
Solid or Non-solid) and with the frame selected in the physics node.

In your model, it is sufficient to change the Material type in Ampère's
Law to Non-solid.
COMSOL support solved this problem: The error is caused by a conflict in the handling of frames. The physics interfaces in Comsol can be usually solved either in a Solid material ("Material" frame) or in a Non-solid material ("Spatial" frame). Electromagnetic interfaces are however an exception, since they require a special treatment in presence of deformations (for example, Lorentz currents must be added to moving conductors). Therefore, in the current version, the electromagnetic interfaces require that the "Material type" setting is consistent in all the features (either Solid or Non-solid) and with the frame selected in the physics node. In your model, it is sufficient to change the Material type in Ampère's Law to Non-solid.

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.