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 2797 for branches/2011/UKMO_MERCATOR_obc_bdy_merge/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_flt.F90 – NEMO

Ignore:
Timestamp:
2011-07-11T12:53:56+02:00 (13 years ago)
Author:
davestorkey
Message:

Delete BDY module and first implementation of new OBC module.

  1. Initial restructuring.
  2. Use fldread to read open boundary data.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/UKMO_MERCATOR_obc_bdy_merge/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_flt.F90

    r2715 r2797  
    3333   USE solpcg          ! preconditionned conjugate gradient solver 
    3434   USE solsor          ! Successive Over-relaxation solver 
    35    USE obcdyn          ! ocean open boundary condition (obc_dyn routines) 
     35   USE obcdyn3d        ! ocean open boundary condition (obc_dyn3d routines) 
    3636   USE obcvol          ! ocean open boundary condition (obc_vol routines) 
    37    USE bdy_oce         ! Unstructured open boundaries condition 
    38    USE bdydyn          ! Unstructured open boundaries condition (bdy_dyn routine)  
    39    USE bdyvol          ! Unstructured open boundaries condition (bdy_vol routine) 
    4037   USE cla             ! cross land advection 
    4138   USE in_out_manager  ! I/O manager 
     
    183180 
    184181#if defined key_obc 
    185       CALL obc_dyn( kt )      ! Update velocities on each open boundary with the radiation algorithm 
     182      CALL obc_dyn3d( kt )    ! Update velocities on each open boundary 
    186183      CALL obc_vol( kt )      ! Correction of the barotropic componant velocity to control the volume of the system 
    187 #endif 
    188 #if defined key_bdy 
    189       CALL bdy_dyn_frs( kt )       ! Update velocities on unstructured boundary using the Flow Relaxation Scheme 
    190       CALL bdy_vol( kt )           ! Correction of the barotropic component velocity to control the volume of the system 
    191184#endif 
    192185#if defined key_agrif 
     
    304297#if defined key_obc 
    305298            ! caution : grad D = 0 along open boundaries 
     299            ! Remark: The filtering force could be reduced here in the FRS zone 
     300            !         by multiplying spgu/spgv by (1-alpha) ??   
    306301            spgu(ji,jj) = z2dt * ztdgu * obcumask(ji,jj) 
    307302            spgv(ji,jj) = z2dt * ztdgv * obcvmask(ji,jj) 
    308 #elif defined key_bdy 
    309             ! caution : grad D = 0 along open boundaries 
    310             ! Remark: The filtering force could be reduced here in the FRS zone 
    311             !         by multiplying spgu/spgv by (1-alpha) ??   
    312             spgu(ji,jj) = z2dt * ztdgu * bdyumask(ji,jj) 
    313             spgv(ji,jj) = z2dt * ztdgv * bdyvmask(ji,jj)            
    314303#else 
    315304            spgu(ji,jj) = z2dt * ztdgu 
Note: See TracChangeset for help on using the changeset viewer.