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.
Changeset 8756 for branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2017-11-20T17:28:07+01:00 (6 years ago)
Author:
jcastill
Message:

Changes for receiving the ocean wind stress components from a wave model, both in forced and coupled mode
WARNING: this might not work properly without merging the branch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/UKMO/AMM15_v3_6_STABLE_package_UKEP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r7906 r8756  
    376376      IF( ln_mixcpl .OR. ln_wavcpl )  CALL sbc_cpl_rcv ( kt, nn_fsbc, nn_ice )   ! forced-coupled mixed formulation after forcing 
    377377 
    378       IF ( ln_wave .AND. ln_tauoc) THEN                 ! Wave stress subctracted  
    379             utau(:,:) = utau(:,:)*tauoc_wave(:,:)  
    380             vtau(:,:) = vtau(:,:)*tauoc_wave(:,:)  
    381             taum(:,:) = taum(:,:)*tauoc_wave(:,:)  
    382       !  
    383             SELECT CASE( nsbc )  
    384             CASE(  0,1,2,3,5,-1 )  ;  
    385                 IF(lwp .AND. kt == nit000 ) THEN 
    386                    write(numout,*) 
    387                    WRITE(numout,*) 'WARNING: You are subtracting the wave stress to the ocean. &  
    388                                                       & If not requested select ln_tauoc=.false'  
    389                    write(numout,*) 
    390                 END IF 
    391             END SELECT  
    392       !  
    393       END IF 
     378      IF ( ln_wave .AND. (ln_tauoc .OR. ln_tauw) ) CALL sbc_stress( )   ! Wave stress update  
    394379 
    395380      !                                            !==  Misc. Options  ==! 
Note: See TracChangeset for help on using the changeset viewer.