Skip to content

Why does the mesh not cover the entire polygon? #242

@Zwlzzm

Description

@Zwlzzm

Hi,
In function "Component: FDTD simulation for S-Parameters, create Compact Model" of sipeic ebeam pdk,
why does the mesh not cover the entire polygon, but only a small part? Are there any considerations for this?

lumapi.evalScript(_globals.FDTD, " \
  newproject; closeall; \
  addfdtd; set('x min',%s); set('x max',%s); set('y min',%s); set('y max',%s); set('z span',%s);\
  set('force symmetric z mesh', 1); set('mesh accuracy',1); \
  set('x min bc','Metal'); set('x max bc','Metal'); \
  set('y min bc','Metal'); set('y max bc','Metal'); \
  set('z min bc','%s'); set('z max bc','%s'); \
  setglobalsource('wavelength start',%s); setglobalsource('wavelength stop', %s); \
  setglobalmonitor('frequency points',%s); set('simulation time', %s/c+1500e-15); \
  addmesh; set('override x mesh',0); set('override y mesh',0); set('override z mesh',1); set('z span', 0); set('dz', %s); set('z', %s); \
  ?'FDTD solver with mesh override added'; " % ( FDTDxmin,FDTDxmax,FDTDymin,FDTDymax,FDTDzspan, \
     Z_symmetry, FDTD_settings['Initial_Z-Boundary-Conditions'], \
     wavelength_start,wavelength_stop, \
     FDTD_settings['frequency_points_monitor'], sim_time, \
     FDTD_settings['thickness_Si']/4, FDTD_settings['thickness_Si']/2) )

I see there are some sentence, are this becauses of convergence testing?

definitions:
z: thickness direction
z=0: centre of the waveguides, so we can use symmetric mesh in z
which will be better for convergence testing as the mesh won't move

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions