prism with low brightness beam
Never posted a question on stack before, please forgive any question upload mistakes.
As seen in the image above, I'm having trouble visualizing beam propagation in a prism. The source is a GaussianBeamSource. The beam is not bright enough to see. I assume the issue is that normalization and spread of the beam, but I need to see how this beam propagates to create structures in its path. I thought about manipulating the amplitude but don't know how to modify that in this specific source type, or if it would be normalized back to the same state of brightness/visibility. Another guess is that the short wavelength (473nm) combined with the large sim size (50x50um) is leading to low visibility.
Thanks in advance if anyone can offer help or advice. Hope this group is still active.
The code below is just snippets for the simulation parameters. If more is needed I can add later.
# basic simulation parameters
resolution = 50 # pixels/um
cell = mp.Vector3(100, 100, 0)
pml_layers = [mp.PML(1.0)]
fcen = 1/0.473 # pulse center frequency
df = 0.1 # pulse width (in frequency)
sources = [mp.GaussianBeamSource(
src = mp.ContinuousSource(wavelength = 0.473),
center = mp.Vector3(-40,22.5,0),
size = mp.Vector3(0,4.1,0),
component = mp.Hz,
beam_x0 = mp.Vector3(0,0,0),
beam_kdir = mp.Vector3(1,0,0),
beam_w0 = 2.05,
beam_E0 = mp.Vector3(0,0,1)
)]
plt.figure()
sim.plot2D(fields=mp.Ez, eps_parameters={'contour':True})
plt.axis('on')
plt.show()