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.

Divergence of gradient of a variable calculation

Please login with a confirmed email address before reporting spam

Dear Support,
I need to calculate, in the post-processing stage, the divergence of the gradient (it is the laplacian) of a known variable, in a specified volume.
May you help me, please?

2 Replies Last Post 29.05.2012, 05:58 GMT-4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 11.05.2012, 01:28 GMT-4
Hi

pls do not call us "support" we are here on the user forum, we are all users, we can give tips and tricks and our ideas, true "support" is via the official COMSOL channel ;)

this said, some ideas yes: what about studying the internal COMSOl variables (turn ibn the equation view in the preferences) and locate the variables and their derivatives, so if you solve to T the temperature, then mostly you will find Tx Ty Tz and Txx first and second derivatives. You have also the d(,) operator.

One thing you need to have high order discretization function to get higher order derivatives, and sometimes your values are already the derivatives of the true dependet variables (e.g. often in ACDC). COMSOL provides most 1st and 2nd derivatives of the dependent variables, but the 2nd derivatives might be vera rough and have steps, then its worth to higher the order of the discretization, but you need then more time and RAM to solve

--
Good luck
Ivar
Hi pls do not call us "support" we are here on the user forum, we are all users, we can give tips and tricks and our ideas, true "support" is via the official COMSOL channel ;) this said, some ideas yes: what about studying the internal COMSOl variables (turn ibn the equation view in the preferences) and locate the variables and their derivatives, so if you solve to T the temperature, then mostly you will find Tx Ty Tz and Txx first and second derivatives. You have also the d(,) operator. One thing you need to have high order discretization function to get higher order derivatives, and sometimes your values are already the derivatives of the true dependet variables (e.g. often in ACDC). COMSOL provides most 1st and 2nd derivatives of the dependent variables, but the 2nd derivatives might be vera rough and have steps, then its worth to higher the order of the discretization, but you need then more time and RAM to solve -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 29.05.2012, 05:58 GMT-4
thanks
thanks

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.