-general outfile= /tmp/UserName/fdtd-result scratch= /tmp/UserName/scratch- # # We 'define' some filename here, since we later need that name # in two separate places: # define(INFILE, /tmp/UserName/some-name-res) # # Define the geometry, by loading the geometry from the database # of the previous eigenvalue computation: # -lgeometry infile= INFILE, doit -fdtd # # Define the inital field, by loading an electric field # from the database of the previous eigenvalue computation: # -linitialfields infile= INFILE symbol= e_2, factor= 1, static= no, doit # # We want to have a port-boundary condition: # -ports name= Output, plane= xhigh, modes= 1, doit # # We store the electromagnetic field at selected times, # in order to be able to compute the stored energy: # define(FREQ, 2.9e9) # The frequency of the loaded mode (e_2). -time firstsaved= 18 / FREQ lastsaved= 20 / FREQ distance= 0.2 / FREQ tmin= 20 / FREQ tmax= 20 / FREQ # # Now we perform the FDTD-computation with the selected parameters: # -fdtd doit