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.

evaluating elliptic integral in COMSOL40a

Please login with a confirmed email address before reporting spam

The vector potential solution for circular current loop is given in (5.37) of "Classical Electromagnetics". J D Jackson, this solution has arguments of elliptic integrals

K(k) = INT{ dt/sqrt((1-t^2)(1-k^2*t^2)} for t[0,1]

The argument k is a spatial function of x, y and z. K(k) is a definite integral. t is the integrand, 0 to 1.

Please how do I DEFINE such integral in COMSOL40a Definitions node? And evaluate the vector potential?

My second question, I have a MATLAB routine for this vector potential. Can I and how do I DEFINE this MATLAB code in COMSOL40a?


--
merci

0 Replies Last Post 2010年11月10日 GMT-5 14:02
COMSOL Moderator

Hello Xife

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.