COMSOL Multiphysics 5.2 (and above) has a solved Mach-zehnder interferometer in its model library for which part of its geometry is S-shape. I am using version 4.3b which doesn't have that model. Anyone using COMSOL 5.2 can kindly sent me the parameters available at mach_zehnder_modulator_parameter.txt in the model library. Thank you.