i’d like to calculate the losses (via EME & FDTD) in s-bend waveguides of different types for different bend radii.
the problem is iam having trouble to define the structures.
for example i’d like to define a sine- or cosine-shaped s-bend. the s-bend example in lumerical is based on bezier curves so that’s not useful.
i tried to use the “custom structure” based on a formula but that didnt work.
the formula for cosine-shaped s-bend is: y(x) = H/2 * [1- cos(xpi/L)]
the formula for sine-shaped s-bend is: y(x) = xH/L - H/(2pi) * sin(x2*pi/L)
x is the propagation axis
H refers to the height of the bend
L refers to the length of the bend
anybody got any idea?