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.
How to inject an AC Current
Posted 14 mars 2021, 15:56 UTC−4 Low-Frequency Electromagnetics Version 5.5 9 Replies
Please login with a confirmed email address before reporting spam
Howdy,
I have been working on a simulation where current is being injected into a medium through two electrodes. I realized that the current I was injecting was DC current. How do I inject AC current? I have the AC/DC module. I am currently trying to use a terminal to inject the current and putting a sinusoidal equation but keep getting errors. Any help is appreciated
Attachments:
Please login with a confirmed email address before reporting spam
When working in the frequency domain (which you seem to be), you don't specify a time domain style input of a sine function to represent the current. Instead, you specify a frequency and a port or other boundary condition (there are various options available) to launch the current. I think you may find some helpful examples in the applications library.
-------------------Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Please login with a confirmed email address before reporting spam
When working in the frequency domain (which you seem to be), you don't specify a time domain style input of a sine function to represent the current. Instead, you specify a frequency and a port or other boundary condition (there are various options available) to launch the current. I think you may find some helpful examples in the applications library.
Thank you for the quick response, I have been looking through some applications and haven't found exactly what im looking for. Do you have any recommended applications?
Please login with a confirmed email address before reporting spam
Well, among others, consider the "inductor_3d" example, in the Application Library, under "Inductive Devices and Coils." You can also download the pdf description for that example, which is titled "Modeling of a 3D Inductor."
-------------------Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Please login with a confirmed email address before reporting spam
Well, among others, consider the "inductor_3d" example, in the Application Library, under "Inductive Devices and Coils." You can also download the pdf description for that example, which is titled "Modeling of a 3D Inductor."
Looking into the paper I see that the electrical ciruits Physics were used to create the AC Current source. Is there any way in the Electric Current Physics to create the AC Current?
Please login with a confirmed email address before reporting spam
I've attached another example. It's a simple current ring, driven by an AC lumped port. I hope this helps.
-------------------Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Attachments:
Please login with a confirmed email address before reporting spam
I've attached another example. It's a simple current ring, driven by an AC lumped port. I hope this helps.
Howdy, I was unable to open this file because I am currently running COMSOL 5.5. Is there any chance you have this example for COMSOL 5.5?
Thanks in advance
Please login with a confirmed email address before reporting spam
Here's a 5.5 version.
-------------------Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Attachments:
Please login with a confirmed email address before reporting spam
Here's a 5.5 version.
Howdy, Thank you for that. What I got from the application was to use the Magnetic and Electric Fields physics to add a Lumped Port. Currently the simulation I am running is an Electric Current Physics with a Terminal and Ground to inject current and two voltage probes to detect voltage difference (See picture attached). Is the only way to add an AC current through the Magnetic and Electric Field Physics? When adding that physics it requires me to put permeability which is not a material property I have at the moment. Is there not a way to add the AC Current through the Electrical Currents physics? My apologies if some of this is a bit repetitive, I felt I didn't give you a clear explanation of the project upfront.
I really appreciate the help
Attachments:
Please login with a confirmed email address before reporting spam
If you are not using magnetic materials, you can usually just set the relative magnetic permeability = 1. In regard to other ways to specify AC ports or boundary conditions, I believe that several exist. What works best in one application may not work so well in another. I encourage you to experiment with the options available to you to see what works. Also, perhaps some others on this forum can offer other more specific suggestions and examples. Good luck.
-------------------Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
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.