New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#2685 (read wave number field if ln_zdfswm activated) – NEMO

#2685 closed Bug (fixed)

read wave number field if ln_zdfswm activated

Reported by: amoulin Owned by: systeam
Priority: low Milestone:
Component: SBC Version: trunk
Severity: minor Keywords:
Cc:

Description (last modified by amoulin)

Context

wave number has to be read in an external wave forcing file if the Qiao parametrization for surface mixing is activated and a wave model is not coupled

Analysis

...

Fix

Modification in sbcwave.F90
Replace:

IF( .NOT. cpl_wnum ) THEN by IF( ln_zdfswm .AND. .NOT. cpl_wnum )

And add:

USE zdf_oce, ONLY : ln_zdfswm

! Read wave number if needed (ln_zdfswm=T)
IF( .AND. .NOT. cpl_wnum ) THEN !==wavenumber==!

CALL fld_read( kt, nn_fsbc, sf_wn ) ! read wave parameters from external forcing
wnum( : , : ) = sf_wn(1)%fnow(:,:,1) * tmask(:,:,1)

ENDIF

Commit History (2)

ChangesetAuthorTimeChangeLog
15199amoulin2021-08-19T09:57:52+02:00

read wave number field if ln_zdfswm activated - ticket #2685

14961amoulin2021-06-09T11:38:51+02:00

read wave number field if ln_zdfswm activated -ticket #2685

Change History (7)

comment:1 Changed 16 months ago by amoulin

  • Description modified (diff)

comment:2 Changed 16 months ago by amoulin

In 14961:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:3 Changed 16 months ago by amoulin

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

comment:4 Changed 14 months ago by amoulin

  • Description modified (diff)
  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 Changed 14 months ago by amoulin

ln_zdfswm not yet read in zdf namelist for the sbc_wave_init in sbcwave.F90

comment:6 Changed 14 months ago by amoulin

In 15199:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:7 Changed 14 months ago by amoulin

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.