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.

calculate the gradient of solid.pm

Please login with a confirmed email address before reporting spam

the result of d(solid.pm,z) is zero,how can I get the gradient of solid.pm

3 Replies Last Post 04.05.2016, 02:08 GMT-4
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 02.05.2016, 05:50 GMT-4
Hi,

You should take the gradient with respect to the material coordinates, that is d(solid.pm,Z), instead.

Regards,
Henrik
Hi, You should take the gradient with respect to the material coordinates, that is d(solid.pm,Z), instead. Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 03.05.2016, 04:38 GMT-4
thanks for your help.but the result of d(solid.pm,Z) is 0.
thanks for your help.but the result of d(solid.pm,Z) is 0.

Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 04.05.2016, 02:08 GMT-4
Hi,

What kind of material model, element shape, and discretization is ti in the model? If for example solid.pm is constant over each element, its derivative would be zero even if it looks like a smooth field when averaged in a plot.

Regards,
Henrik
Hi, What kind of material model, element shape, and discretization is ti in the model? If for example solid.pm is constant over each element, its derivative would be zero even if it looks like a smooth field when averaged in a plot. Regards, Henrik

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.