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.

Plotting derivative.....

Please login with a confirmed email address before reporting spam

Hello everyone.... I am working in magnetic and electric interface in AC/DC module. I applied a current to a conductor and want to measure the magnetic flux density along a line lying along the y-axis. For this I made a 1D plot(cutline) along along y-axis. Like I define a cutline 3D as I am working in 3D along the y-axis and in 1D plot I plotted mef.Bz the z-component with respect to y-axis it is giving me a nice and fine graph now i want to take the derivative of mef.Bz along y-axis, when i wrote the expression d(mef.Bz,y) it returned a zero valued graph although mef.Bz is not constant or zero along y-axis. Could anyone help weather the derivative i am taking is wrong or there is some other issue thanks....

1 Reply Last Post May 23, 2015, 7:08 a.m. EDT

Please login with a confirmed email address before reporting spam

Posted: 9 years ago May 23, 2015, 7:08 a.m. EDT
I am just guessing here:

If the element method uses second order polynomials (shape functions), then the second derivative of the function is constant or zero? I admit I am not a specialist here.

Lasse
I am just guessing here: If the element method uses second order polynomials (shape functions), then the second derivative of the function is constant or zero? I admit I am not a specialist here. Lasse

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.