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.

Non-zero divergence D field in the RF module

Please login with a confirmed email address before reporting spam

Hi everybody,


I am solving a TM scattering problem in the RF module. In particular I use "RF module -> In-plane waves -> TM waves -> Harmonic propagation".

I need to solve the inhomogeneous Maxwell equation, so I need to consider a current density vector into the Maxwell-Ampère equation and the relative charge density into the Gauss law for the D field.

It is quite easy to Include the current density vector into the Maxwell-Ampère equation in the weak form. Unfortunately it is not easy at all to include a charge density term in the Gauss law for the D field. No matter what I do, the code always impose that div D=0.


Could you help me to get out of this impasse?


Thank you very much in advance.

Giuseppe

0 Replies Last Post Jun 8, 2011, 5:37 a.m. EDT
COMSOL Moderator

Hello Giuseppe Toscano

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.