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.
#669 (Agrif update of ssh) – NEMO

Opened 14 years ago

Closed 13 years ago

#669 closed Bug (fixed)

Agrif update of ssh

Reported by: dupontf Owned by: dupontf
Priority: low Milestone:
Component: AGRIF Version: v3.2
Severity: Keywords:
Cc:

Description

In NEMO3.2, ssha (after timestep) is computed in ssh_wzv at the beginning of the 'stp' routine and the transfer of the fields a->n and n->b is done in ssh_nxt, after dyn_nxt, close to the end of 'stp'. However, the Agrif_Update_Dyn routine which updates sshn for the parent domain is still called from within dyn_nxt, hence before sshn is actually updated from ssha in the child domain. Therefore, a time lag is introduced in the AGRIF updating process (minor bug). The call to Agrif_Update_Dyn should therefore be moved to ssh_nxt, possibly the AGRIF calls relevant to the one way coupling for the dynamics as well.

Fred.

Commit History (1)

ChangesetAuthorTimeChangeLog
2487rblod2010-12-19T16:07:50+01:00

Correct Agrif inconstency for ssh, nemo_v3_3_beta version, see ticket #669

Change History (2)

comment:1 Changed 14 years ago by dupontf

  • Owner changed from NEMO team to dupontf

I will correct myself here. Above the "AGRIF calls relevant to the one way coupling for the dynamics" I was referring to is actually 'Agrif_dyn'. It is fine where it is now as it works on the ua/va arrays. In Agrif_dyn there are however lines like 'sshn(2,:)=sshn(3,:)' which might be more relevant in terms of ssha since the ssh arrays have not been switched in preparation for the next time-step (ssh_nxt).

F.

comment:2 Changed 13 years ago by rblod

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