-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Vloop boundary condition for the psi equation
Vloop (= dpsi_edge/dt) can be a useful BC for scenarios where the voltage swing of the central solenoid is directly controlled (e.g. in a fully non-inductive scenario, Vloop = 0). Summary of changes: - Added new BC for the psi equation. - Can be combined with any of the psi initialisation methods: - Prescribed psi + Ip_tot rescaling - Psi from geometry file - Psi from geometry file + Ip_tot rescaling - Psi from nu formula + Ip_tot rescaling - Added vloop_lcfs to state.CoreProfiles, which is a direct copy from psidot.face_value()[-1]. - Required adding the core profiles from the previous timestep to the boundary condition computation - Added psi_right_bc and vloop_lcfs to output.
- Loading branch information
1 parent
1d52656
commit bd03157
Showing
21 changed files
with
406 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.