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.
Question defining frequency as a parameter in RF module
Posted 17 mar 2012, 14:15 GMT-4 RF & Microwave Engineering 4 Replies
Please login with a confirmed email address before reporting spam
Hi all,
I’m working on modeling the electric field of a gold nanowire under an incident electric field and I’m trying to set it up so I can change the frequency without having to manually change the dielectric constant in the materials section. I know the equation I have to use, but I’m having a bit of trouble actually getting it to work with the model.
The equation in question is ε=1-ωp2/ω(ω+iγ), with γ and ωp being constants that I have numbers for. What I’ve done is defined those two as parameters (currently under global definitions) and then further defined ω as another parameter with value 0. I then set a range for it in the “Step 1: Frequency Domain” node under Study 1 and also in “Parametric 1”. I put the equation as the value for the dielectric constant under its materials node.
The problem is that when I try to run it, I get either empty parameter errors or “undefined value found” errors with notes about large degrees of freedom giving NaN/Inf in the vector. I suspect that I’m only supposed to have ω defined one place, but I’m not sure how to do it and still have it work in the dielectric function I put in.
Basically, I’m having some trouble with defining parameters and how to use them in the model itself. Any help is appreciated.
I’m working on modeling the electric field of a gold nanowire under an incident electric field and I’m trying to set it up so I can change the frequency without having to manually change the dielectric constant in the materials section. I know the equation I have to use, but I’m having a bit of trouble actually getting it to work with the model.
The equation in question is ε=1-ωp2/ω(ω+iγ), with γ and ωp being constants that I have numbers for. What I’ve done is defined those two as parameters (currently under global definitions) and then further defined ω as another parameter with value 0. I then set a range for it in the “Step 1: Frequency Domain” node under Study 1 and also in “Parametric 1”. I put the equation as the value for the dielectric constant under its materials node.
The problem is that when I try to run it, I get either empty parameter errors or “undefined value found” errors with notes about large degrees of freedom giving NaN/Inf in the vector. I suspect that I’m only supposed to have ω defined one place, but I’m not sure how to do it and still have it work in the dielectric function I put in.
Basically, I’m having some trouble with defining parameters and how to use them in the model itself. Any help is appreciated.
4 Replies Last Post 22 mar 2012, 03:39 GMT-4