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

Hypnotoad: enable 'Detailed settings' for nonorthogonal grids #1636

Merged
merged 4 commits into from
Mar 11, 2019

Conversation

johnomotani
Copy link
Contributor

Adds a button to the 'Detailed settings' dialog to enable generation of nonorthogonal grids with detailed settings.

Also adds a new field to detailed settings to adjust the exponent controlling the decay length of the weight of the vector at X-point or wall that defines the non-orthogonal direction of the grid. I had some TORPEX cases where the radial grid lines could cross when the divertor leg is rather short, this setting gives some flexibility to try and avoid this if it happens.

Add a button to the 'Detailed settings' popup to generate a
non-orthogonal grid. Allows more control of settings for non-orthogonal
grid generation.
The radial direction of the nonorthogonal grid is calculated by taking a
weighted average of the two vectors defining the directions of the ends
of the grid section and the vector orthogonal to the flux surface. The
weight of each end vector reduces as a power of the fraction of the
poloidal index-space distance remaining in the grid. The new setting
allows this power to be changed, so that the grid approaches orthogonal
faster or slower.
Include summary of changes in next from last 6 pull requests involving
Hypnotoad.
@bendudson bendudson merged commit bd7a685 into next Mar 11, 2019
@johnomotani johnomotani deleted the hypnotoad-detailed-nonorthogonal branch March 12, 2019 21:23
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.

None yet

2 participants