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 2016年5月4日 GMT-4 02:08
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年5月2日 GMT-4 05:50
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: 8 years ago 2016年5月3日 GMT-4 04:38
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: 8 years ago 2016年5月4日 GMT-4 02:08
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.