Hello I am trying to mimic a terahertz pulse (about 910GHz) signal measured from a laser spectroscopy machine. The time-domain waveform has a unique shape so I have to use CustomSource (i.e. sources = [mp.GaussianBeamSource(src=mp.CustomSource). I obtained the expression using MATLAB curve fitting toolbox. I use "sim.get_field_point" to collect the time-domain e-field value at focus point.
However, the simulation terminated with the error "simulation fields are NaN or Inf". I have no geometry defined, but I still have this error when the resolution and Courant are set to 40 and 0.1. The computational cost would be too high if I keep increasing the resolution. Would you please let me know what could cause this problem? Thank you very much! Sincerely Max
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss