Potential issue in equivalent buoyancy formulation of the ThermalSWSolver class#646
Open
Potential issue in equivalent buoyancy formulation of the ThermalSWSolver class#646
Conversation
Contributor
Author
|
Other things that might have changed, so that we have a record:
|
Contributor
|
I had been hoping this would be resolved by generating all of the linearisations automatically in #649, but I haven't been able to remove all of the hand-coded linearisations. I don't suggest we make this change though without first doing a thorough set of tests with the equivalent buoyancy formulation of the moist thermal shallow water equations. So I think we should leave this PR here until we've had time to do that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This flags a possible issue in the formulation of the
ThermalSWSolverwhen using the equivalent buoyancy formulation. The notation uses the variablebto represent both buoyancy and equivalent buoyancy. In either formulation (equivalent buoyancy or not) the field actually used in the solver should always beb. Then when using the equivalent buoyancy formulation theb_efield recovered from the equation set probably should be converted tobbefore being used by the solver. This currently happens with the reference profiles but not the fields.