Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Mode analysis - changing refractive index
Posted 2011年5月6日 GMT-4 07:33 RF & Microwave Engineering, Materials, Parameters, Variables, & Functions, Results & Visualization 3 Replies
Please login with a confirmed email address before reporting spam
Hi,
I am currently doing a mode analysis and need to do a simulation with different refractive index. I want
the refractive index for one region in my geometric model to vary between '2 + eps' to '2 - eps'. How can I
do this the best way?
Is it possible to .. create a parameter 'nd' = 2, and then another parameter 'deps' = 0. Next step is creating a function called 'n_func(deps)', in which is equal to 'n_func = nd + deps'. Then I create a parametric sweep for variable called 'deps' between [2 + eps, 2 - eps] and placing n_func(deps) in the refractive index input for that material of the wanted region?
The problem is I dont get the same result (same refractive index and nodes) for when deps = 0, that is when nd = 2 = n_func(deps). As far as I can see I haven't changed the two files that much other than adding n_func to the one of the files.
Is there a way to save the resulting effective refractive index per n_func(deps) as vector text file or similar to be opened in matlab?
Many thanks for any assistance.
I am currently doing a mode analysis and need to do a simulation with different refractive index. I want
the refractive index for one region in my geometric model to vary between '2 + eps' to '2 - eps'. How can I
do this the best way?
Is it possible to .. create a parameter 'nd' = 2, and then another parameter 'deps' = 0. Next step is creating a function called 'n_func(deps)', in which is equal to 'n_func = nd + deps'. Then I create a parametric sweep for variable called 'deps' between [2 + eps, 2 - eps] and placing n_func(deps) in the refractive index input for that material of the wanted region?
The problem is I dont get the same result (same refractive index and nodes) for when deps = 0, that is when nd = 2 = n_func(deps). As far as I can see I haven't changed the two files that much other than adding n_func to the one of the files.
Is there a way to save the resulting effective refractive index per n_func(deps) as vector text file or similar to be opened in matlab?
Many thanks for any assistance.
3 Replies Last Post 2011年5月13日 GMT-4 16:42