Skip to content

Free Boundary Coil Optimization#456

Draft
lazersos wants to merge 12 commits into
developfrom
feature/STELLOPT_COIL_FREEB
Draft

Free Boundary Coil Optimization#456
lazersos wants to merge 12 commits into
developfrom
feature/STELLOPT_COIL_FREEB

Conversation

@lazersos
Copy link
Copy Markdown
Collaborator

@lazersos lazersos commented May 8, 2026

This adds an ability to STELLOPT to perform free boundary coil optimization. This is sometimes called single stage optimization. To run in this mode, not only must coil optimization be performed but the VMEC INDATA namelist will require LFREEB=T and the user to provide an inital MGRID_FILE which VMEC can use to run. This MGRID file will only be read once and STELLOPT will generate new MGRID files as it runs. This is attributed to the fact that when VMEC reads the INDATA namelist it automatically checks the MGRID_FILE and loads it. If it does not load, the code will set LFREEB=F and then STELLOPT will behave as if fixed boundary optimization is happening.

Please check to make sure non-coil optimization runs are not affected.

@lazersos lazersos requested a review from edlumi May 8, 2026 07:26
@lazersos lazersos self-assigned this May 8, 2026
@lazersos lazersos added the enhancement New feature or request label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant