How to add current source?


Suppose I know the current density J in the Maxwell. How should I set the property of the dipole in simulation? Specifically, how many dipoles should I add and how to set the amplitude of the dipole?


Hi @ztk18

Sorry for a late reply.

In the application example, we have simulated a single electron that travels with the speed of V using dipole source:

I believe the case will be quite complex if the current density is complicated, but you may follow the same approach to create the current density using dipole source.

Hope this was helpful.

1 Like

Thank you! But suppose I know the current density J rather than a continuous current. How should I convert J into the amplitude of dipole?


It looks like you have posted your question in the link below:
Source definition in FDTD

My colleague will follow up with you.


1 Like

Thank your, it’s of great help!