Ansys Learning Forum › Forums › Discuss Simulation › Photonics › normalization in nonlinear optics › Reply To: normalization in nonlinear optics
Hello ,Â
I would suggest to use the following script, where P_watt will return your power in watts. You can use the Poyinting-vector and then integrate it in space, and it gives the same result. PLease refer to this link for more infomration: https://optics.ansys.com/hc/en-us/articles/360034397034-Units-and-normalization-conventions-in-Lumerical-solvers
T=transmission("monitor"); # this function always gives normalized result.
f=getdata("monitor","f");
p_watt_Hz=T*sourcepower(f); #power spectrum
P_watt=integrate(p_watt_Hz,1,f); # in Watt
I hope I helped. Please let me know how it went and feel free to contact for further assistance.
Kind regards
Dimitris