Maxwell equations with time-dependent boundary conditions

Click For Summary

Discussion Overview

The discussion revolves around coding a Maxwell solver for problems involving time-dependent boundary conditions, particularly in the context of an electrode with a time-varying potential. Participants explore various computational methods and their applicability to this scenario, focusing on the challenges of maintaining consistency in the calculations of electric and magnetic fields.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Andrew expresses uncertainty about how to implement a Maxwell solver, particularly regarding the self-consistency of calculations when using time-dependent boundary conditions.
  • Andrew proposes two methods for solving the problem but feels they may not be appropriate, highlighting concerns about mixing electrostatics with electrodynamics.
  • One participant suggests using the Finite Difference Time Domain (FDTD) method with the Yee algorithm, noting its ability to discretize differential equations in both time and space.
  • Another participant agrees with the FDTD approach but points out that it primarily addresses the curl equations, raising concerns about how to incorporate time-dependent boundary conditions defined in terms of potential.
  • A further contribution discusses the use of delta gap sources in FDTD and mentions that more complex methods may involve identifying principal excitation modes, emphasizing the need for clarity on the excitation type to provide tailored advice.
  • Participants suggest exploring various computational methods, including FDTD, finite element method (FEM), and method of moments (MOM), while recommending specific texts for further guidance.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to handle time-dependent boundary conditions in the context of Maxwell's equations. Multiple competing views and methods are presented, and the discussion remains unresolved regarding the most effective strategy.

Contextual Notes

There are limitations in the discussion regarding the assumptions made about boundary conditions and the specific nature of the excitations involved. The participants do not fully resolve the mathematical steps necessary for achieving self-consistency in their proposed methods.

checkfrogger
Messages
2
Reaction score
0
Hi folks,

I was wondering how to code a Maxwell solver for a problem with time-dependent boundary conditions. This is not my homework, but I love programming and would like to implement what I learned in my physics undergrad course to get a better understanding.
More precisely, if I have an electrode with a time-dependent potential, how do I obtain the electric and magnetic field around it?
I basically came up with two ways, which both seem inappropriate to me:
1)
- calculate the potential using the Poisson equation with boundary conditions at time t=0
- then obtain E as the neg. gradient of the potential.
- calculate E and B at the next time step using the two curl equations of Maxwell equations
- repeat steps 1 and 2 at the next step and it might not be consistent with the third step...
I have the feeling that I mix electrostatics and electrodynamics here
2)
- set a boundary condition for E, solve the divergence equations of Maxwell equations at t=0
- calculate the next time step using the curl equations of Maxwell equations. The obtained E at t=1 might be inconsistent with the new potential at t=1.
-> similar problem here: I am not sure how to make this self-consistent

Thanks for your help!
Andrew
 
Physics news on Phys.org
Easiest way is the Finite Difference Time Domain (FDTD) analysis using the Yee algorithm which discretizes the differential equations in both time and position.
 
Born2bwire said:
Easiest way is the Finite Difference Time Domain (FDTD) analysis using the Yee algorithm which discretizes the differential equations in both time and position.

Thanks, but as far as I understand this algorithm only solves the two curl equations. It is fine if you start with a solution that satisfies the divergence equations.
My problem is still how to incorporate boundary conditions which are time-dependent and given in terms of the potential only.
 
Many excitations in computational electromagnetics are given as voltages. The simplest is to do a delta gap source which is simple to do in FDTD as well. More complex methods would involve say finding the principle excitation mode of your source (like in a transmission line) and exciting the principle mode's field. Without having been given what the excitation is we can't really begin to provide any advice on how to model it. Still, any time or frequency domain computational solver like FDTD, finite element method (FEM) or method of moments (MOM) will probably be satisfactory for you. I would suggest looking at an appropriate text to see how excitations are handled. Taflove is good for FDTD and I like a recent text by Walter Gibson for MOM.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K