More fixes to substepping of tracers - #814
Thomas Bendall (tommbendall) wants to merge 8 commits into
Conversation
Update stable for vn3.1
Merge vn3.2 stable
account for Watkins
|
Your CLA signature was found on the base branch, but you appear to have modified the CONTRIBUTORS.md file in this PR. Please do not edit the CONTRIBUTORS.md file. If you have already signed the CLA, revert changes to the file and your signature will be picked up. |
James Kent (jameskent-metoffice)
left a comment
There was a problem hiding this comment.
This PR improves the Watkins algorithm when there is substepping of tracers. The 3D Lipschitz number is now included in the threshold, and the correct dt is used to multiply the transporting_wind in the transport_controller. The code is clear and well commented.
This PR does not change KGOs as these stability issues are very rare and only become apparent in some of the longer GC tests. I am happy to approve.
|
Closing as these changes will now be included in #733 |
PR Summary
Sci/Tech Reviewer: James Kent (@jameskent-metoffice)
Code Reviewer: mo-lucy-gordon
This PR adds three further fixes to the stability of the transport scheme when substepping the transport of tracers separately from the main prognostics.
ffsl_precomputationsobject is incorrect. This caused the wrong stencil extent to be calculated for substepped transport.total_ref_fluxowned by theflux_precomputationsobject is deallocated, so does not persist between separately initialised instances.The situations that this occurs in are very rare, and cannot happen in the GC6 science configuration. However they can be seen with the TR-BDF2 timestepper when running at operational resolutions (e.g. 10 km using a 10 minute time step). There is no test in the test suite that generates this situation so no KGOs change.
Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_apps - tracer_substep_more/run2
Suite Information
Task Information
✅ succeeded tasks - 1594
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review