lumped port excitation

How to use openEMS. Discussion on examples, tutorials etc

Moderator: thorsten

Post Reply
akelainc
Posts: 2
Joined: Wed 22 Aug 2018, 02:31

lumped port excitation

Post by akelainc » Wed 22 Aug 2018, 02:37

The following error gets tossed when I try to use a lumped port for an excitation source. Does anyone know what it is trying to say about the port setup? The result is that the simulation has no source excitation.

Create FDTD operator (compressed SSE + multi-threading)
Operator::Calc_LumpedElements(): Warning: Lumped Element snapping failed! Dimension is: 0 skipping. ID: 8 @ Property: port_resist_1
Operator::Calc_LumpedElements(): Warning: Lumped Element snapping failed! Dimension is: 0 skipping. ID: 9 @ Property: port_resist_2

FDTD simulation size: 149x149x82 --> 1.82048e+006 FDTD cells
FDTD timestep is: 7.19254e-012 s; Nyquist rate: 17 timesteps @4.0892e+009 Hz
Excitation signal length is: 228 timesteps (1.6399e-009s)
Max. number of timesteps: 1000000000 ( --> 4.38596e+006 * Excitation signal length)
Create FDTD engine (compressed SSE + multi-threading)

Warning: Unused primitive (type: Box) detected in property: port_resist_1!
Warning: Unused primitive (type: Box) detected in property: port_resist_2!

Hale_812
Posts: 171
Joined: Fri 13 May 2016, 02:54

Re: lumped port excitation

Post by Hale_812 » Wed 22 Aug 2018, 03:32

probably, the port is smaller than the mesh cell.
make some code that snaps to the nearest mesh nodes (you can use matlab's interpolation functions in nearest point mode), when creating lumped port's box. of course, as a resistor, it should connect some metal pads.

akelainc
Posts: 2
Joined: Wed 22 Aug 2018, 02:31

Re: lumped port excitation

Post by akelainc » Thu 23 Aug 2018, 02:33

Thank you. That works.

Post Reply