Opened 18 months ago

Closed 5 months ago

#1733 closed Bug (fixed)

Initialization of av*_k in tke

Reported by: Romain Pennel Owned by: Emanuela Clementi
Priority: low Milestone:
Component: OPA Version: release-3.6
Keywords: TKE nemo_v3_6* Cc:
Severity: Workplan status:



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.


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)


#1733 bug fixed for Initialization of av*_k in tke

Change History (4)

comment:1 Changed 17 months ago by Nicolas MARTIN

  • Keywords TKE added; tke removed

comment:2 Changed 17 months ago by Nicolas MARTIN

  • Keywords nemo_v3_6* added

comment:3 Changed 6 months ago by Claire Levy

  • Owner changed from nemo to emanuelaclementi

comment:4 Changed 5 months ago by Emanuela Clementi

  • Resolution set to fixed
  • Status changed from new to closed

fixed bug for Initialization of av*_k in tke

Note: See TracTickets for help on using tickets.