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.

Error Jacobi with user-defined function

Please login with a confirmed email address before reporting spam

I defined a function in Global Definition to describe the graded-index. However, when I used the Solve-Modal Analysis, the COMSOL popped a window to warn error in Jacobi matrix.

Plus, I suppose my function was working well, I am not sure whether it can be a assignment in Material dialog.

If I replace my function with a constant in index value setting, the model works well.

Thank you.

1 Reply Last Post 2013年2月25日 GMT-5 13:55
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2013年2月25日 GMT-5 13:55
Hi

it could well be that it should rather be defined in the Mode - Definitions rather than Global definitions, particularly if it contains references to the geometry.
Then why add it to the material ? if it's a definition of the index, OK perhaps you should define it in the material section

--
Good luck
Ivar
Hi it could well be that it should rather be defined in the Mode - Definitions rather than Global definitions, particularly if it contains references to the geometry. Then why add it to the material ? if it's a definition of the index, OK perhaps you should define it in the material section -- Good luck Ivar

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.