Electric field due to dipole in Comsol RF. Difference between closed form solution and comsol results

Varatharajan Meenakshi Sundaram

Please login with a confirmed email address before reporting spam

The field produced by the electric point dipole in COMSOL RF differs from that of the closed-form solution.

Simulation details:

  • Simulation domain is a square region of side length 2.2m with 0.1m allocated for PML along all six sides
  • Electric Dipole is located at the origin
  • Dipole moment is 0.001Am along the Z direction.
  • Frequency is 433 MHz

The closed-form expression is evaluated using the attached Matlab code, which implements the equations in the attached image in spherical coordinates and transforms the fields to cartesian coordinates. The absolute value of the field along the Z direction is plotted for the 2D slice at z=0.

Problem: The absolute values of electric fields are drastically different.

Question: Why is there a considerable deviation in the amplitude of electric fields? Is there anything wrong with the Comsol settings or the code implemented?

Can any one of you point out the issue?



2 Replies Last Post May 21, 2024, 3:30 a.m. EDT
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 6 months ago May 17, 2024, 10:55 a.m. EDT

Just a couple quick guesses here: 1. This entry at the top of your .m file appears suspect: "epsilon0 = 8.85418782 " What happened to the 10^-12 factor?
2. The IdL dipole moment in your .m file is .01, but .001 in your .mph file, I think. Take another look at that too. 3. There are other features of your model I would probably investigate further and adjust, but let's start with those two items. I hope that helps.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Just a couple quick guesses here: 1. This entry at the top of your .m file appears suspect: "epsilon0 = 8.85418782 " What happened to the 10^-12 factor? 2. The IdL dipole moment in your .m file is .01, but .001 in your .mph file, I think. Take another look at that too. 3. There are other features of your model I would probably investigate further and adjust, but let's start with those two items. I hope that helps.

Varatharajan Meenakshi Sundaram

Please login with a confirmed email address before reporting spam

Posted: 5 months ago May 21, 2024, 3:30 a.m. EDT
Updated: 5 months ago May 21, 2024, 3:33 a.m. EDT

Thanks a lot. I am out of my institution for a week. So I was not able to reply. I will investigate it further and post if there are further issues.

Thanks a lot. I am out of my institution for a week. So I was not able to reply. I will investigate it further and post if there are further issues.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.