资源简介
FDTD算法的源程序代码,需要的可以直接下载使用
代码片段和文件信息
%***********************************************************************
% 3-D FDTD code with PEC boundaries
%***********************************************************************
%
% Program author: Susan C. Hagness
% Department of Electrical and Computer Engineering
% University of Wisconsin-Madison
% 1415 Engineering Drive
% Madison WI 53706-1691
% 608-265-5739
% hagness@engr.wisc.edu
%
% Date of this version: February 2000
%
% This MATLAB M-file implements the finite-difference time-domain
% solution of Maxwell‘s curl equations over a three-dimensional
% Cartesian space lattice comprised of uniform cubic grid cells.
%
% To illustrate the algorithm an air-filled rectangular cavity
% resonator is modeled. The length width and height of the
% cavity are 10.0 cm (x-direction) 4.8 cm (y-direction) and
% 2.0 cm (z-direction) respectively.
%
% The computational domain is truncated using PEC boundary
% conditions:
% ex(ijk)=0 on the j=1 j=jb k=1 and k=kb planes
% ey(ijk)=0 on the i=1 i=ib k=1 and k=kb planes
% ez(ijk)=0 on the i=1 i=ib j=1 and j=jb planes
% These PEC boundaries form the outer lossless walls of the cavity.
%
% The cavity is excited by an additive current source oriented
% along the z-direction. The source waveform is a differentiated
% Gaussian pulse given by
% J(t)=-J0*(t-t0)*exp(-(t-t0)^2/tau^2)
% where tau=50 ps. The FWHM spectral bandwidth of this zero-dc-
% content pulse is approximately 7 GHz. The grid resolution
% (dx = 2 mm) was chosen to provide at least 10 samples per
% wavelength up through 15 GHz.
%
% To execute this M-file type “fdtd3D“ at the MATLAB prompt.
% This M-file displays the FDTD-computed Ez fields at every other
% time step and records those frames in a movie matrix M which
% is played at the end of the simulation using the “movie“ command.
%
%***********************************************************************
clear
%***********************************************************************
% Fundamental constants
%***********************************************************************
cc=2.99792458e8; %speed of light in free space
muz=4.0*pi*1.0e-7; %permeability of free space
epsz=1.0/(cc*cc*muz); %permittivity of free space
%***********************************************************************
% Grid parameters
%***********************************************************************
ie=50; %number of grid cells in x-direction
je=24; %number of grid cells in y-direction
ke=10; %number of grid cells in z-direction
ib=ie+1;
jb=je+1;
kb=ke+1;
is=26; %location of z-directed
- 上一篇:Zernike多项式matlab代码
- 下一篇:MK突变检验MATLAB代码
相关资源
- 利用时域有限差分FDTD仿真三维3D电磁
- MATLAB时域有限差分法程序
- 基于matlab的FDTD程序实现
- 电磁场实验 MATLAB仿真直导线的磁场分
- FDTD 2Dmatlab实现
- Matlab一维FDTD卷积边界条件CPML
- 二维FDTD圆柱散射问题RCS计算matlab代码
- matlab画电磁场图,matlab小程序从仿真
- FDTD(时域有限差分法)算法的Matlab源
- FDTD算法的Matlab源程序
- MATLAB在电磁场与电磁波课程教学中的
- 微带贴片天线的MATLAB仿真程序
- 有限差分法求电磁场分布-电磁场程序
- PML吸收边界三维FDTD算法MATLAB代码
- 模拟光束在二维三维介质中传输,用
- FDTD3维matlab程序
- 用matlab实现一维fdtd 仿真
- 带Mur吸收边界的3DFDTD程序
- 一维fdtd的程序
- FDTD 一维 高斯激励源 matlab源文件 动态
- 2D FDTD + PML ABC
- 2维FDTD+摩尔吸收边界,遇金属块反射
- PML边界三维FDTD
评论
共有 条评论