thliebig / openEMS

openEMS is a free and open-source electromagnetic field solver using the EC-FDTD method.
http://openEMS.de
GNU General Public License v3.0
413 stars 146 forks source link

Documentation Request: MultiGrid #142

Closed ALEEF02 closed 1 month ago

ALEEF02 commented 1 month ago

There are functions MultiGrid regarding embedding cylindrical coordinates in a Cartesian system. I believe this will be useful for vias. Some examples can be found in the openEMS Python definition and in the C source code. However, there is no example of the implementation of these functions in the old wiki or the new documentation. Please give some insight on using this feature!

JTSvejda commented 1 month ago

Hello, I think there is a misunderstanding. In openEMS is no combination of cylindrical and cartesian mesh possible. The MultiGrid is a function to reduce the number of azimuthal lines towards the center of the cylindrical coordinate system (effectively reducing the resolution), as there will appear extremely small mesh elements due to the radius dependency. Without this, the time-step of the FDTD simulation would raise to extreme small values and the simulation time will be huge. I think the wording in the documentation of MultiGrid is a bit misleading.

On 8. Jul 2024, at 18:08, Anthony Ford @.***> wrote:

There are functions MultiGrid regarding embedding cylindrical coordinates in a Cartesian system. I believe this will be useful for vias. Some examples can be found in the openEMS Python definition https://docs.openems.de/python/openEMS/openEMS.html#openEMS.openEMS.SetMultiGrid and in the C source code https://github.com/thliebig/openEMS/blob/master/FDTD/operator_cylindermultigrid.h. However, there is no example of the implementation of these functions in the old wiki https://wiki.openems.de/ or the new documentation. Please give some insight on using this feature!

— Reply to this email directly, view it on GitHub https://github.com/thliebig/openEMS/issues/142, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRPKTALNX32DPIIP6Q5LTLZLK2RNAVCNFSM6AAAAABKREVQB2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TMMBTGAZTQNQ. You are receiving this because you are subscribed to this thread.

ALEEF02 commented 1 month ago

Ah, I see. Thank you.