Option to specify north/south tilt for snowflake configurations #33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
For snowflake configurations where the two X-points are nearby in flux coordinates, often the patch map generated by INGRID results in very small patches in some parts of the domain. This produces non-smooth grids which are hard to simulate in UEDGE. For example:
This can be fixed in part by specifying angles for the north/south directions out of each X-point in exactly the same way as for the east/west directions. This PR adds north/south tilt options for X-point 1 & 2 for all possible snowflake topologies (SF15, SF45, SF75, SF105, SF135, SF165). There are new input options:
In the above example, modifying the above settings appropriately increases the size of the 'F1' patch, producing a smoother grid:
I've added a new file to the example_files directory which demonstrates this functionality (example_files/SF45/SF45_mastu.yml).
How was this tested?
Locally, on example INGRID parameter files for all possible snowflake configurations.
Relevant issues
None.
Checklist
- [ ] I have added/updated tests relevant to this PR.- [ ] I have updated any baselines required for the test suite.