Page 1 of 1

Accelerate initialization of many excitations

Posted: Mon 14 Sep 2020, 15:39
by hannesko
Hello Thorsten,

another excitation-related question:
How are excitations loaded / introduced into the FDTD domain? I find all the sources located in the .xml file that are then supposedly read again for initialization of the simulation. I need up to several hundred stacked excitations with time delayed activation of the (custom) source function to represent a lightning channel. I observed that the initialization becomes very slow (up to several hours) whereas the simulation itself might be done within an hour.

What do you think is the reason for this slow init process and would it be possible to introduce many excitations more efficiently into the grid?
If you can give me any hints, maybe I find a way to implement a more efficient routine...

Many thanks in advance!

Best regards,
Hannes

Re: Accelerate initialization of many excitations

Posted: Tue 13 Oct 2020, 08:47
by hannesko
Here an example of a slow initialization with 400 Custom excitation objects:
lightningChannel_400_sources.xml
(133.34 KiB) Downloaded 50 times
... it takes about 8-9 minutes on my laptop.

Best regards,
Hannes

Re: Accelerate initialization of many excitations

Posted: Sun 22 Nov 2020, 20:20
by thorsten
I think I was able to speedup the setup quit a lot. Please give the latest build a try.

I certainly need to make sure this has no unwanted side effect as this is a change in a dangerous place...

regards
Thorsten