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

Add Generomak Equilibrium #335

Merged

Conversation

Mateasek
Copy link
Member

This PR adds Generomak Equilibrium

The original equilibrium data were provided by @vsnever.

The equilibrium includes the first wall contoure, which was used to create the first wall meshes. The contour is copying closely the solps simulation provided by @vsnever (at least in the important regions)
The psi grid was clipped to extend only over the vessel.
Positions of the magnetic axis and x-point were found for a denser (interpolated) grid (to reach a better precision)
The position of the x-point determined the new psi at the last closed flux surface (either I misunderstood what the original data meant or the value was completely off)
Last closed flux surface polygon found as a contour given the psi at x-point
The strike-points were found as an intersection of divertor legs contour and the first wall polygon

This PR is connected to issues #211 and #210

"b_vacuum_radius": 1.48,
"b_vacuum_magnitude": 2,
"time": 0.0,
"f_profile": [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This profile is inconsistent with the Bvac0 value. First of all, it's negative, while Bvac0 is positive. Also, at ψnorm = 1, it should give Bvac0 * R0 = 2.96, but gives -2.93 instead. Can you please renormalize it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting this. I corrected the coordinate system and recalculated f and q profiles.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @Mateasek. Everything seems fine now.

@jacklovell jacklovell merged commit 2cf200a into cherab:development Dec 1, 2021
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

Successfully merging this pull request may close these issues.

3 participants