Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exterior and interior layer outlines and PF coils #808

Open
chrismarsden7 opened this issue Jan 30, 2025 · 1 comment
Open

Exterior and interior layer outlines and PF coils #808

chrismarsden7 opened this issue Jan 30, 2025 · 1 comment

Comments

@chrismarsden7
Copy link

Re: discussions with Orso in the #help-running channel in the Discord:

It would be really convenient if the user can specify both the exterior and interior contours of a given layer, for example:

ini.build.layer[:hfs_TF].outline.exterior.r = [data]
ini.build.layer[:hfs_TF].outline.exterior.z = [data]
ini.build.layer[:hfs_TF].outline.interior.r = [data]
ini.build.layer[:hfs_TF].outline.interior.z = [data]

Usually we would store the outline for components, but not the outlines of the gaps between components (e.g. we would have the outline of the TF and the shield, but not explicitly the outline of the TF-shield gap itself). If such functionality is added, it would be convenient to not have to define the outline of every layer, i.e. the gaps, and instead be able to selectively define the interior and exterior contours of whatever layers we want.

Whilst I remember, on the topic of defining layers, it would also be convenient if an initial set for the PF coils (when you are still defining things in ini, before calling init() ) could be defined in this way:

ini.build.layer[:cryostat].PF.R = [R1,R2,R3,R4]
ini.build.layer[:cryostat].PF.Z = [Z1,Z2,Z3,Z4]
ini.build.layer[:cryostat].PF.DR = [DR1,DR2,DR3,DR4]
ini.build.layer[:cryostat].PF.DZ = [DZ1,DZ2,DZ3,DZ4]

where the user specifies the R,Z locations and R,Z thickness of the coils that are inside a given layer. I recalled from the workshop that FUSE might not support non-square coils (though the solenoid coils are already non-square, so perhaps I am misremembering). It would be very useful to enable non-square coils. I wasn't sure if FUSE is presently modelling the square PF coils as a point source or not. There is a non-square coil Green's function available in FreeGS for example that could be ported over, if FUSE doesn't already have these capabilities.

Cheers,
Chris

@bclyons12
Copy link
Member

FUSE supports arbitrary quadrilateral coils, so that's not a problem. If you don't want FUSE to design the coils for you, I think you'd want to specify them in an ODS .json file and then initialize them from that. Ditto for the layer outlines you discuss. @orso82 could advise more.

If you want some non-quadrilateral coil, let me know and we could work on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants