We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Photonics How to calculate modal overlap coefficient during the second harmonic generation Reply To: How to calculate modal overlap coefficient during the second harmonic generation

Amrita Pati
Ansys Employee

Hi 宇 范,

Are you using the intensities to caluclate the mode overlap? I believe the simplest approach would be to load the mode data into the global decks and then use the overlap script command. You can try something like this:

setanalysis("wavelength",1.55e-6);
findmodes;
copydcard("mode1","test_mode_1");
switchtolayout;
setanalysis("wavelength",0.775e-6);
findmodes;
copydcard("mode7","test_mode_2");
ol = overlap("test_mode_1","test_mode_2");

Feel free to let me know if you have any questions or concerns.

 

Regards,
Amrita

Â