Hi all,
I am trying to simulate laser pulses in a multilayer system. I am not sure how to do this efficiently.
I tried:
ns.setstage('Qequation', 'supermesh'). Can I use supermesh here?
ns.editstagevalue(0, 'Q0 * (exp(-sqrt((x/Lx - 0.5)^2 + (y/Ly - 0.5)^2)/((d0/Lx)^2/(4*ln(2)))))*step(z-30e-9) * exp(-(t-2*tau)^2/(tau^2/(4*ln(2))))')
Here I am trying to use a step function in z to control the laser in z. But it doesn't work at all. I am not sure of the coordinate system when we use supermesh. Isn't it the same as the coordinates that we use while defining the meshes?
Best regards,
Krishnanjana