Multiport Simulations Export Huygens Source
-
Hey!
I constructed a multiport simulation with two ports. I used simulation combiner and extracted the field from the simulation combiner.
I am not able, despite normalizing the input power and refreshing, to export the Huygens source to use it later in other simulations.Can someone help me?
Thanks in advance
-
Hi Sylvain,
thanks for your answer.
I always see the Huygens Exporter, when choosing the total simulation or when E-H-fields selected. When exporting, the export itself doesnt work.
The information I get is: 'Could not retreive input power; Interpolation to correct frequency of incident field input power failed; Huygens exporter was unable to write ....". -
Hi, indeed, I managed to reproduce the error you saw.
I've notified our development team to investigate whether it's some sort of bug or if there is a more fundamental issue.
I can see two workarounds:- re-run the simulation as "single port" (use "Clone as Single Simulation") and set the amplitudes and phases before running the simulation (the obvious drawback is that you have to re-run everything if you want different amplitudes/phases)
- export a Huygens source for each port individually (i.e. do not use the Simulation Combiner), and set the amplitudes/phases of each Huygens source when you actually use them (this is actually very powerful if you need to simulate several amplitudes/phases configurations)
I hope this helps.
-
Hello Sylvain,
the point is to not run a single port simulation, as our Bodycoils are multiport. I've seen the tutorial about a single port and in CP mode.
TO the second point: This doesnt work either. THe sources can be imported, however, it tells me: Field interpolation: out of range at coordinate (-0.0448266,-0.21,-0.2985) and component 0.
The Source 'volume' (i.e. the volume you have to drag into the source) is identical to the sensor of the multiport simulation.Hope that clarifies my problem more.
-
- I see.
- That's a different issue, and not related to multiport/combiners/etc... The source volume (which you use in the "second" simulation, the one with Huygens Sources) has to be smaller (by at least one half grid cell, but I would recommend an extra margin of one grid cell) than the sensor of the "first" simulation (the one with the incident fields). The reason is that the incident fields are interpolated onto the "second" grid at the locations of the huygens sources (and the interpolation scheme has the requirements I mentioned above).
Check the coordinates given in the error message if you want to know the location where the "padding" condition was violated.
I hope this helps.