You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The find_psi_boundary function was updated to take the original_psi_boundary as an input. What should I do if I don't know the original boundary flux? In my case, I'm not starting from a dd and just want to find the boundary flux from a gridded psi.
The text was updated successfully, but these errors were encountered:
Per discussion with @orso82, the routine currently assumes that if the minimum/maximum psi on the domain boundary corresponds to a closed flux surface, the user has probably provided a CHEASE equilibrium with concentric surfaces outside the plasma boundary. Thus, the routine returns the original boundary. This fails if a free-boundary solution is given where the domain boundary is the limiter. Commenting out the lines above fixes the problem.
We should think about how to fix/refactor this. Likely we want a flag for whether to perform this "CHEASE" check. Also, the original psi boundary may not be known, so it would be good if there was a way to specify concave vs convex. This is know from Ip and the COCOS as well.
The
find_psi_boundary
function was updated to take theoriginal_psi_boundary
as an input. What should I do if I don't know the original boundary flux? In my case, I'm not starting from add
and just want to find the boundary flux from a gridded psi.The text was updated successfully, but these errors were encountered: