⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmisplitter.txt

📁 关于 fdtd的模拟软件,不错的软件,请踊跃下载
💻 TXT
字号:
########################################################################
#   This is an example of the input file for F2P.
#   It is a MMI 50%-50% splitter.
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#------------------------------------------------Prepared by Dr. Min Qiu
########################################################################

########################################################################
#Calculate the TM or TE modes??
#              ==0: TE modes
#              ==1: TM modes
  1
########################################################################

########################################################################
#Define the materials used in the calculations.
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#The number of materials 
   2
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#The dielectric constant, and conductivity of each material
#Index---dielectric constant---conductivity
   1           1.0000            0.00E+0  #air
   2          10.5000            0.00E+0  #InP/GaInAsP (n=3.24)
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#End of material definition.
########################################################################

########################################################################
#define the size of the computational domain
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#--- lattice constant (For normalized purpose)
          1.0    
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#The size of the computational domain.
#---Sx-------Sy--
    65.0    10.0
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Background materials index 
     1                                
########################################################################

########################################################################
#Absorbing boundary condition (ABC)
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#ABC type: =0 All surrounded by PML; =1 Only the Y direction surrounded 
#by PML, while periodic BC in the X direction.
#---ABC type----------------------------------------------------------
      0              
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#---number of PML layers in X----in Y---------The exponent index for PML
             12                   12                 2.0
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
########################################################################

########################################################################
#Define parameters for FDTD
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#----Dx---------Dy------
    0.05       0.05
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Dt coefficient. Dt=Dt_coe*1/sqrt(1/(Dx*Dx)+1/(Dy*Dy))/vc
#Should be less than 1.0. 
#For example, 0.95 or 0.866 are all good choices.
#---Dt_Coe---
    0.95     
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Number of total time steps 
    10000
########################################################################

########################################################################
#Output the z-field component in some time steps. 
#For snapshot purpose.
#If interval is less than 1, no output. 
# The current z-field distribution is always stored in "Fieldz_Bin.dat".
#----Start Time steps---------End Time steps------Interval--------------
          20                     10000              -20
########################################################################

########################################################################
#define the inclusions, could be waveguides, cylinders, ...
#-----------------------------------------------------------------------
#Inclusion type:
#  == 1: ellipse
#  == 2: quadrilateral
#  == 3: triangular
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#The total number of inclusions
    4
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Inclusion No. 1, rectangular, MMI
#Inclusion Type ----Material index----
    2                    2  
#---X1------Y1------X2------Y2------X3-------Y3------X4------Y4---------
   10.0    1.0     10.0    9.0     60.0      9.0    60.0     1.0
#---Mx-----Lx-----My-----Ly----Alpha---(For Repeat)
    1     0.00     1    0.00    0.0
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Inclusion No. 2, rectangular, waveguide incident
#Inclusion Type ----Material index----
    2                    2  
#---X1------Y1------X2------Y2------X3-------Y3------X4------Y4---------
   -1.0    4.50    -1.0   5.50     10.2      5.50   10.2    4.50
#---Mx-----Lx-----My-----Ly----Alpha---(For Repeat)
    1     0.00     1    0.00    0.0    
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Inclusion No. 3, rectangular, waveguide output up
#Inclusion Type ----Material index----
    2                    2  
#---X1------Y1------X2------Y2------X3-------Y3------X4------Y4---------
   59.9    6.50    59.9    7.50     90.0     7.50   90.0    6.50
#---Mx-----Lx-----My-----Ly----Alpha---(For Repeat)
    1     0.00     1    0.00    0.0     
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Inclusion No. 3, rectangular, waveguide output down
#Inclusion Type ----Material index----
    2                    2  
#---X1------Y1------X2------Y2------X3-------Y3------X4------Y4---------
   59.9    2.50    59.9    3.50     90.0     3.50   90.0    2.50
#---Mx-----Lx-----My-----Ly----Alpha---(For Repeat)
    1     0.00     1    0.00    0.0         
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Examples of Triangular 
#Inclusion Type ----Material index----
#    3                    2  
#---X1------Y1------X2------Y2------X3-------Y3---
#   10.5    0.0    24.5    3.964   16.0    9.964   
#---Mx-----Lx-----My-----Ly----Alpha---(For Repeat)
#    1     0.00     1    0.00   0.0
########################################################################

########################################################################
#Source part
#-----------------------------------------------------------------------
#  For source type: ==1 point source
#                   ==2 line source, direction, from P1 to P2, in P3
#                   ==3 waveguide mode source
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#----Number of Source------------
     1
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Point Source Examples
#---Source Type------Source frequency (a/lambda)---Pulse Width (Delta_w)-
#     1                    0.305                        0.007
#----XS-----YS-------- (Point source position)
#    4.0    6.06218
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Gaussian Line Source sample
#For line source, direction == +1(X); -1(-X); +2(+Y); -2(-Y);  
#---Source Type------Source frequency (a/lambda)---Pulse Width (Delta_w)-
#     2                    0.25                       0.1
#----direction---XS-----YS-----Beam Width---Material Type----Theta------- 
#     1          9.00   6.06218     2.0            2           0.0
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Waveguide Source sample
#For Waveguide source, direction == +1(X); -1(-X); +2(+Y); -2(-Y);  
#---Source Type------Source frequency (a/lambda)---Pulse Width (Delta_w)-
#     3                   0.295                          0.007
#----direction---XS-----YS-----Waveguide Width---Mode Number-----------
#     1          1.00  6.06218   2.60            1
#---Material Up (Left)----Material Core----Material Down (Right)------- 
#     1                        2                 1 
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#A Waveguide Source
#For Waveguide source, direction == +1(X); -1(-X); +2(+Y); -2(-Y);  
#---Source Type------Source frequency (a/lambda)---Pulse Width (Delta_w)-
     3                   0.487                          -0.10
#----direction---XS-----YS-----Waveguide Width---Mode Number-----------
     1          1.00   5.00     1.00               1
#---Material Up (Left)----Material Core----Material Down (Right)------- 
     1                        2                 1 
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
########################################################################

########################################################################
#detectors definition
#-----------------------------------------------------------------------
#  For detector type: ==1 point detector
#                     ==2 line detector
#                            direction == +1(X); -1(-X); +2(+Y); -2(-Y);
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#FT frequency range and points in between
#-W_min---------W_max-------NF---
   0.30         0.70       201
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#----Number of Detector------------
     0
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Detector No. 1, a Line detector, right input, reference
#---Detector Type-----Starting Time Steps-----Ending Time Steps--------
     2                      0                  1500
#----direction-----Xc-------Yc---------Length------- 
     1            1.5      5.0         2.00
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Detector No. 2, a Line detector, right input, down
#---Detector Type-----Starting Time Steps-----Ending Time Steps--------
     2                      0                  3000000
#----direction-----Xc-------Yc---------Length------- 
     1            64.0     3.0         2.00
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Detector No. 2, a Line detector, right input, up
#---Detector Type-----Starting Time Steps-----Ending Time Steps--------
     2                      0                  3000000
#----direction-----Xc-------Yc---------Length------- 
     1            64.0     7.0         2.00     
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Detector No. 4, a Line detector, right input, reflection
#---Detector Type-----Starting Time Steps-----Ending Time Steps--------
     2                      1500               3000000
#----direction-----Xc-------Yc---------Length------- 
     1            1.5      5.0         2.00     
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#Point Detector Example
#---Detector Type-----Starting Time Steps-----Ending Time Steps--------
#     1                      0                    500000
#-----Xc--------Yc-------
#   11.00     6.06218     
########################################################################

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -