How to simulate Photonic Crystal cavity using CST MWS
Hi!
I was trying to simulate the PhC based optical cavity, which is exampled at the cst website (https://www.cst.com/Applications/Art...ystal-Cavities).
I did set all the dimensions as given. Put a discrete edge port (current) and tried with 1 A, 1e-6, 1e-22 A of current.
All the boundary is set to open-boundary. The symmetry planes have been chosen according to the example.
When trying to run the transient solver, the following error is occurring
"Distance between discrete port 1 and open boundary at xmax is too small. Must be at least three mesh steps. Please check the port location."
1. Should I have to set the boundary as open(add space)
OR
2. Something else with the discrete port
you can try to set boundary as open. if it does not work, try adaptive mesh refinement.
Hi!
I was trying to simulate a photonic crystal based wave-guide bend. Although, the simulation results was OK for a pure periodic structure, it diverges for the wave-guide bend. I have tried with adaptive mesh refinement option and by reducing the stability factor to 0.1. But no improvement was observed.
Please help
i dont have solution for your problem because i have never done photonic crystal simulation before. you can try to do below changes to see if you get the results you want.
1) change discrete port to phase port if phase port works for your design.
2) change solver to freq domain/time domain.
best of luck
This seems to indicate that port and boundary are too close together. Changing to open (add space) should increase the distance. I could be wrong, but it seems like if the port is too close to the boundary (or assuming at the boundary), could cause some field issues with reflections from boundary, therefore ensuring that distance of at least three mesh steps is achieved.
Thanks a lot. It works! It works for the second case too......