freegs.filament_coil

Contents

freegs.filament_coil#

Classes and routines to represent coils and circuits

License#

Copyright 2022 Chris Marsden, Tokamak Energy. Email: chris.marsden@tokamakenergy.co.uk

This file is part of FreeGS.

FreeGS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

FreeGS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with FreeGS. If not, see <http://www.gnu.org/licenses/>.

Functions

populate_with_fils(shape, Nfils)

Takes the 2D cross section of a PF coil, via shape, and populates it (somewhat) uniformally with ~Nfils point sources representing filaments.

Classes

FilamentCoil([Rfil, Zfil, shape, current, ...])

This class represents a coil broken down into multiple filaments, with each filament acting as a point source of current.