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: more flexible transitions in nonorthogonal grid generation #1596

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

johnomotani
Copy link
Contributor

#1594 should have been changed to merge into next as #1593 was merged first. New PR to merge the branch into next now. Sorry for the confusion!

Previously, the nonorthogonal grid generator changed the radial grid
direction from the boundary vector at one end of a region, to the normal
to flux surfaces half way through the region, and then to the other
boundary vector at the far end of the region. This could cause issues,
for example if the line normal to the flux surfaces half way through the
region intersects with one of the region boundaries. Instead, use both
vectors with separate weights. The weights are now set to decay with the
power 2.7 instead of 1.35, because the parameter under the power now
increases/decreases half as quickly (but extends the full length of the
region, not just half).
Copy link
Contributor

@bendudson bendudson left a comment

Choose a reason for hiding this comment

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

Sorry, my fault. Thanks @johnomotani

@bendudson bendudson merged commit 4b02018 into next Feb 21, 2019
@bendudson bendudson deleted the hypnotoad_nonorthogonal_transition branch February 21, 2019 13:08
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