I have a private RF project for which I want to simulate an RF coupler. I've been previously using commercial tools like CST, ADS Momentum, HFSS etc.
However, for a private project all of these commercial tools are anavailable. After a little bit of search, I stumbled across elmer. From the Tutorial for ElmerGUI, I did the "bent Waveguide example" and after a little bit of struggling, managed to get it somehow working.
Unfortunately, I don't really know how to proceed from there. I haven't found any tutorials etc, showing an EM simulation besides the one waveguide example (http://www.nic.funet.fi/index/elmer/doc ... orials.pdf). I still have a lot of open questions:
Question 1:
I understood most of the settings, of the example. However, the input and output port boundary conditions really confuse me. The tutorial says:
Code: Select all
Magnetic Boundary Load 2 [enter]
Variable Coordinate 1
Real MATC "-2*beta0*k0/kc*sin(kc*(tx+a/2))"
Close
Electric Robin Coefficient im = $ beta0
What is Magnetic boundary Load 2? The 2 somehow has someting to do with tangenntial/parallel etc. But I don't really get it.
What is Variable Coordinate 1? (reading the docs, it specifies the X coordinate axis, but I'm not sure)
Real MATC somehow allows you to calculate stuff, right? What is the difference to the simple $-sign used in other equations?
What is tx? It is never set anywhere. I guess it is the x coordiante and is filled in by the simulator
Can someone explain the Electric robin coefficient?
(small sidenote: I basically hang 1 Week at this point. The solver always complained about some invalid syntax. I needed serveral days to figure out that
I need a semicolon between "Variable Coordinate 1" and the "Real MATC ...". Why isn't it present in the tutorial?)
Question 2:
If I basically have to know the field distribution of my input port, how am I going to simulate a microstrip line? I don't have an analytical solution for this. I couldn't find anything online regarding this.
Is there a possibility to somehow let Elmer automatically determine the mode of a given port? The commercial tools I've used basically do this on their own. It's fine, if this won't work with elmer. But I need some hint on how to model a microstrip port.
A coax Port would also be very helpful. I know the fields of a coaxial cable. Unfortunately I'm currently unable to transfer this knowledge into the Elmer boundary settings
Question 3
How do I get my electrical parameters? Basically, I need S-Parameters.
How do I get S-Parameters?
How do I do an automatic frequency sweep?
I'm really sorry, if a lot of these questions are basic knowledge. However, I'm a little overwhelmed by the amount of questions and documentation and can't really wrap my head around all of it.
Is there any tutorial on EM simulations with Elmer besides the "Bent waveguide example"?
If someone could give me a few answers that would be great! My next goal is to draw a coaxial cable in Freecad and simulate it in Elmer. However, I'm stuck with the boundary setting. I model it basically as an air cylinder and set the inner and outer boundaries to PEC, so I only have to mesh the air inside the coax cable. However, I'm stuck with the input and output port boundaries.