Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Simple fdtd program is very easy write, especially you are using matlab.
Once the formulation are derived, writing the code is just a matter of time. You may first start by writing a simple 1D code with both side PEC, then adding ABC. This step will verify and solidify your concept. After 1D, then 2D and 3D. You may try implementing PML in 2D, after it is verified then extend to 3D.
Extending regular grid to irregular grid is just a piece of cake, but you may take care of the stability condition.
For updating fields in your simulation domain, try avoid using "for loop". "For loop" is incredible slow in matlab.
hi everyone,i'm a beginner in electromagnetic field. i'm very interested in evaluating sar distribution in a human head due to cellular phone. i want to evaluate it using matlab. thus i do not know how to start. can someone give me any fdm or fdtd code.thanks