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.

How to compute the derivative of magnetic field?

Please login with a confirmed email address before reporting spam

Hello everyone.

I am learning "scattering nanosphere", a model in the library of wave optics module.
I try to acquire the derivative of magnetic field, e.g. , d(ewfd.By, z).
The result is zero everywhere. But ewfd.By is not homogenous in any direction at all.
I find that this problem happens in many 3D models, but 2D models are fine.

Please, anyone tells where I am wrong.
Thank you very much.

3 Replies Last Post 31 mars 2016, 07:28 UTC−4
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 31 mars 2016, 04:51 UTC−4
Hi Feng Cheng,

the derivatives of the magnetic field are not available by default. But it is possible to get them. I remember there were discussions in the past.
I recommend to search the forum, the blog posts and the knowledge base.

Cheers
Edgar

--
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Hi Feng Cheng, the derivatives of the magnetic field are not available by default. But it is possible to get them. I remember there were discussions in the past. I recommend to search the forum, the blog posts and the knowledge base. Cheers Edgar -- Edgar J. Kaiser emPhys Physical Technology http://www.emphys.com

Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 31 mars 2016, 05:38 UTC−4
Hi,

Here is, as Edgar mentions, a good blog post:

www.comsol.se/blogs/plotting-spatial-derivatives-magnetic-field/

Regards,
Henrik
Hi, Here is, as Edgar mentions, a good blog post: https://www.comsol.se/blogs/plotting-spatial-derivatives-magnetic-field/ Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 31 mars 2016, 07:28 UTC−4
Thank you Mr. Sönnerlind and Mr. Kaiser. I will read the blog.
Thank you Mr. Sönnerlind and Mr. Kaiser. I will read the blog.

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.