piclas-framework / piclas

PICLas is a parallel, three-dimensional PIC-DSMC solver developed cooperatively by the Institute of Space Systems, Institute of Aerodynamics and Gas Dynamics at the University of Stuttgart and the spin-off boltzplatz. PICLas is a flexible particle-based plasma simulation suite.
https://piclas.readthedocs.io
GNU General Public License v3.0
71 stars 17 forks source link

Time-dependent Magnetic Coils - limited to 1? #5

Closed DoviShamir closed 2 years ago

DoviShamir commented 2 years ago

Currently (excuse the pun) "A time-dependent magnet field can be created by a time-varying electric current running through a coil. Note that more than one time-dependent magnetic coil cannot be defined in the parameter file as this is not implemented yet"

Is there any development work being done on multiple time-dependent magnetic coils?

scopplestone commented 2 years ago

In your scenario, would you consider two or more coils running at a different or at the same frequency? I think this could be implemented quite easily depending on your case.

DoviShamir commented 2 years ago

In the scenario I envisage the coils (more than two) would be running at the same frequency but in different phases.

On Mon, 21 Feb 2022 at 13:29, Stephen Copplestone @.***> wrote:

In your scenario, would you consider two or more coils running at a different or at the same frequency? I think this could be implemented quite easily depending on your case.

— Reply to this email directly, view it on GitHub https://github.com/piclas-framework/piclas/issues/5#issuecomment-1046883007, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARDH7MKSOBG6AXEL77QBV2DU4I43TANCNFSM5OSNJISA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

scopplestone commented 2 years ago

image

I have made the required changes to allow using an arbitrary number of time-dependent coils. It will only work when all these coils use the same frequency as different frequencies would have required making significant changes to the code, e.g., finding a common time span of multiple different periods or using multiple containers, one for each time-dependent coil. The next minor Release version 2.7.0 will contain the new features. The example in the picture will be located within the regression check directory under

/regressioncheck/NIG_SuperB/CircularCoilTimeDependentMulti

pnizenkov commented 2 years ago

2.7.0 is released including this feature, closing the issue!