Questions tagged [electromagnetism]
For questions about modeling phenomena related to electromagnetic fields.
120
questions
1
vote
1
answer
80
views
How to Implement Analytical Magnetic Field Equations into a Physics-Informed Neural Network (PINN) in PyTorch?
I'm working on a project that involves modeling the magnetic field around Europa, one of Jupiter's moons, using a Physics-Informed Neural Network (PINN) in PyTorch. My goal is to implement analytical ...
0
votes
0
answers
51
views
Calculating a 2D Ewald sum for a multipolar expansion
I am attempting to calculate the potential of a particle at the center of an infinite two-dimensional lattice as per the following reference:
Reference: Lambin, PH & Senet, P. Ewald Summation of ...
0
votes
0
answers
31
views
Problems performing 1D-FDTD for dispersive dielectric uisng lorentz model in Julia
So I am trying to model a dispersive dielectric using the Lorentz model in Julia, more specifically I am trying to obtain the frequency-dependent reflectivity of the material. I am ultimately trying ...
3
votes
0
answers
159
views
Numerical integration in Fourier space over 3D grid
I am attempting to implement a model outlined in this paper:
General magnetostatic shape–shape interactions
Background
This model allows the calculation of magnetostatic interaction energies between ...
4
votes
1
answer
669
views
Is my differential equation solving code wrong?
I am trying to simulate LLG equation without damping. The equation is
$$\frac{d\vec{m}}{dt} = \vec{m}\times\vec{H}$$
I am solving in spherical coordinates as LLG equation is known to have problems in ...
2
votes
0
answers
54
views
In electromagnetic simulation, how much does the feed model impact an antenna's directivity performance and E-field phase readings?
Question: How much would a simplified feed model in an EM simulation alter an antenna's directivity and the E-field phase reading when compared to using a more complicated/realistic feed model?
I am ...
1
vote
0
answers
42
views
Spectral Intensity of complex signal
I'm simulating an electromagnetic wave that has a real and imaginary part. Something like:
$$ E(x,t) = A(x,t) e^{-i(\omega t - k x)} $$
Where $A(x,t)$ is some complex amplitude. Then taking the ...
1
vote
1
answer
310
views
Euler's Method for fast moving particle trajectory
I'm trying to figure out how a magnet affects the trajectory of a particle travelling near the speed of light downwards toward the ground. The equation for the force of the magnetic field is pretty ...
1
vote
0
answers
44
views
Stress and periodic boundary conditions
In the textbook definition of the stress tensor it is defined at each point in space and therefore position dependant.
When three dimensional periodic boundary conditions are used, I have seen it ...
1
vote
0
answers
31
views
How can the current-voltage relationship of a series of tunneling junctions be most easily computed?
I'm working on a research project with my professor where we're trying to figure out how to determine the necessary semiconductor composition for a solar cell to have a particular bandgap in order to ...
2
votes
0
answers
63
views
Symplectic (or alike) integrator for system with Coulomb singularity and time-dependent potentials
I am trying to calculate classical trajectories for a single positive ion and a single electron inside an RF trap. Therefore, I am dealing with a two-body system that possesses:
Coulomb potential ...
1
vote
0
answers
213
views
Magnetic field simulation for "quasi-solenoid" - Where to start?
I would kindly ask you which (preferably free) programs / codes do you suggest for the numerical simulation of the problem described below. I am not asking for the full solution, but just want to ...
0
votes
1
answer
184
views
Modeling ferromagnetic materials in a primitive python FEA
I am working on a primitive 2D DIY magnetic "FEA" solver for a class project. It's really just a big NumPy array where each element in the array can be one of the following:
Air
Current ...
-1
votes
1
answer
88
views
Billiard reflection inside a triangular mesh
I am currently interested in billiards and their trajectories. I would like to simulate a billiard inside a water-tight mesh.
A mesh basically consists of a list of points in 3D space (vectors with 3 ...
1
vote
1
answer
422
views
Integral of the Poisson Kernel
I am trying to solve the following integral:
$$ I (r,\theta) = \frac{1}{2\pi}\int_0^{2\pi}\frac{f(\phi)(1-r^2)}{1+r^2-2r \cos(\theta-\phi)}d\phi$$
where $0\le r<1$ and,
$$f(0\le\phi<\pi/2) = +\...