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 a vector field

Aravinthan Athmanathan

Please login with a confirmed email address before reporting spam

Hello,

I am new to COMSOL and I am trying to build a physics interface module. I would like to calculate the divergence of current density. I defined a variable for the same, but when I input the divergence of current density in the variable declaration, an error pops up saying "Expression of the nable operator is not supported".

Can anyone tell me why I see this error.? How else I can calculate the divergence?

Thanks,
Aravinth.


1 Reply Last Post 29 giu 2013, 20:29 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 29 giu 2013, 20:29 GMT-4
Hi,


I have never used div(.) operator, so do not know.

Since you have not posted the mph file, not sure what the problem is.

But could you not just use d(.) operator itself to arrive at the div() operator.


Suresh
Hi, I have never used div(.) operator, so do not know. Since you have not posted the mph file, not sure what the problem is. But could you not just use d(.) operator itself to arrive at the div() operator. Suresh

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.