#1733 closed Bug (fixed)
Initialization of av*_k in tke
Reported by: | rpennel | Owned by: | emanuelaclementi |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | v3.6 |
Severity: | Keywords: | OPA TKE v3.6 | |
Cc: |
Description
Context
1) In zdftke.F90 (possibly also in other turbulence schemes) avt_k, avm_k, avmu_k and avmv_k seem not to be initialized at nit000=0 in tke_rst when coefficients are read in a restart file or when no restart is present. The initialization is only done in one case when a restart file is present but tke scheme was not used in the previous run.
2) In the case of no restart file, the assignation of Kz to the background value is done twice, once in zdf_tke_init, once in tke_rst.
Fix
1) Move the avt_k=avt sequence after the IF(ln_rstart) condition (before the WRITE part of the function)
2) Delete one of the 2 assignations.
Commit History (1)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
8290 | emanuelaclementi | 2017-07-06T10:40:38+02:00 | #1733 bug fixed for Initialization of av*_k in tke |
Change History (7)
comment:1 Changed 9 years ago by nicolasmartin
- Keywords TKE added; tke removed
comment:2 Changed 9 years ago by nicolasmartin
- Keywords nemo_v3_6* added
comment:3 Changed 8 years ago by clevy
- Owner changed from nemo to emanuelaclementi
comment:4 Changed 8 years ago by emanuelaclementi
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 7 years ago by nemo
- Keywords release-3.6* added; nemo_v3_6* removed
comment:6 Changed 7 years ago by nemo
- Keywords release-3.6* removed
comment:7 Changed 3 years ago by nemo
- Keywords OPA v3.6 added
fixed bug for Initialization of av*_k in tke