We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Photonics Pockels effect EOM Reply To: Pockels effect EOM

Guilin Sun
Ansys Employee

This post raises two questions. Here are the answers:

1: Error: LN_phase_modulator_CHARGE.lsf line 41: in expression A(i,...) the index was out of range.  If you did not modify the script, it should work. This error indicates size(E) might has something wrong. I modified the applied voltage and the script works fine:

2: "at some point n_eff increase becomes not linear with respect to voltage and even decreases further"

If the doping is strong and the applied voltage is too high, it may not keep linearity, and might be saturated. Please check the material properties /doping/vlotage and make sure they are physical.