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

Boulac PBL tendency should not be added to previous value #1453

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

dudhia
Copy link
Collaborator

@dudhia dudhia commented Apr 1, 2021

TYPE: bug fix (no effect)

KEYWORDS: BouLac PBL option

SOURCE: Internal (reported by Xinzhong Liang)

DESCRIPTION OF CHANGES:
Problem:
PBL tendency was added to old value (no sign that this was causing problems as array may have been zero): e.g.

rthblten(ix,iz,iy)=rthblten(ix,iz,iy)+(th1D(iz)-th_phy(ix,iz,iy))/dt

This could have problems if BLDT is used

Solution:
Do not add to old value:

rthblten(ix,iz,iy)=(th1D(iz)-th_phy(ix,iz,iy))/dt

ISSUE:
Fixes part of #1297 (not closed yet)

LIST OF MODIFIED FILES:
phys/module_bl_boulac.F

TESTS CONDUCTED:

  1. Tests with and without change Jan 2000 case, identical after one hour.
  2. Jenkins OK.

RELEASE NOTE: A minor fix to BouLac PBL tendency cleans up the assignment, no longer assuming that the tendency is cumulative (no effect).

@dudhia dudhia requested a review from a team as a code owner April 1, 2021 21:09
@dudhia dudhia changed the title tendency should not be added to previous value Boulac PBL tendency should not be added to previous value Apr 1, 2021
@davegill
Copy link
Contributor

davegill commented Apr 2, 2021

@dudhia
Jimy,
You say "probably" twice, once for tests that should be conducted and again for impacts. Can we nail this down a bit more for the commit message?

@dudhia
Copy link
Collaborator Author

dudhia commented Apr 2, 2021

Yes, this is a b it tentative until the test is done. I will try to do that soon.

@davegill davegill self-requested a review April 7, 2021 17:25
Copy link
Contributor

@davegill davegill left a comment

Choose a reason for hiding this comment

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

Approved

@davegill davegill merged commit 07c82b9 into wrf-model:release-v4.3 Apr 7, 2021
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
…1453)

TYPE: bug fix (no effect)

KEYWORDS: BouLac PBL option

SOURCE: Internal (reported by Xinzhong Liang)

DESCRIPTION OF CHANGES:
Problem:
PBL tendency was added to old value (no sign that this was causing problems as array may have been zero): e.g.
```
rthblten(ix,iz,iy)=rthblten(ix,iz,iy)+(th1D(iz)-th_phy(ix,iz,iy))/dt
```
This could have problems if BLDT is used

Solution:
Do not add to old value:
```
rthblten(ix,iz,iy)=(th1D(iz)-th_phy(ix,iz,iy))/dt
```

ISSUE:
Fixes part of wrf-model#1297 (not closed yet)

LIST OF MODIFIED FILES: 
phys/module_bl_boulac.F

TESTS CONDUCTED: 
1. Tests with and without change Jan 2000 case, identical after one hour.
2. Jenkins OK.

RELEASE NOTE:  A minor fix to BouLac PBL tendency cleans up the assignment, no longer assuming that the tendency is cumulative (no effect).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants