Correct usage of waveguide ports #302
Replies: 2 comments 7 replies
-
|
@mugundhan1 One general comment: you have uploaded the *.m file and the STL, but it takes a bit of work to get this running on other machines. Not everone is willing to spend that amount of time to see what you did. If you upload the *.XML model also (the file that is displayed in AppCSXCAD), it is more convenient for other users to quickly check what you did. |
Beta Was this translation helpful? Give feedback.
-
|
Update: I was able to get rid of the ''primitive not found'' error by placing mesh lines on all the metal edges and smoothing mesh-lines around it. But now I get a S11 and S21 value that is not very realistic. I'll work on finding out why it is that bad! Mugundhan |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have been trying to learn openEMS, and potentially use it in my research work too. I was trying to simulate a waveguide with a WR42 structure, similar to the one in the example, but used FreeCAD as a front-end to draw the structure.
The flow is as follows: Draw structure in FreeCAD, export components as stl files, import them in OpenEMS, and simulate.
When I do this, the structure gets imported properly, but when I run the simulation, i get the following warning:
Create FDTD operator (compressed SSE + multi-threading)
FDTD simulation size: 62x62x62 --> 238328 FDTD cells
FDTD timestep is: 9.47131e-13 s; Nyquist rate: 20 timesteps @2.63955e+10 Hz
Excitation signal length is: 505 timesteps (4.78301e-10s)
Max. number of timesteps: 1000000000 ( --> 1.9802e+06 * Excitation signal length)
Create FDTD engine (compressed SSE + multi-threading)
Warning: Unused primitive (type: Box) detected in property: port_excite_1!
Running FDTD engine... this may take a while... grab a cup of coffee?!?
I have uploaded my files here. I would be glad if someone helps me identify where the error is.
Steps I've taken:
I have added my stl files from FreeCAD and the matlab code (most of which was lifted and modified from the rectangular waveguide example.
I would be glad if someone can guide me here! :)
Sincerely,
Mugundhan
WR42.zip
Beta Was this translation helpful? Give feedback.
All reactions