Changeset 10823


Ignore:
Timestamp:
2019-04-02T15:32:40+02:00 (18 months ago)
Author:
clem
Message:

output cfl diagnostics (courant numbers) in netcdf ⇒ add cfl_cu, cfl_cv, cfl_cw

Location:
NEMO/releases/release-4.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/release-4.0/cfgs/SHARED/field_def_nemo-oce.xml

    r10644 r10823  
    108108        <field id="tpt_dep"      long_name="T-point depth"                  standard_name="depth_below_geoid"   unit="m"   grid_ref="grid_T_3D" /> 
    109109        <field id="e3tdef"       long_name="T-cell thickness deformation"                                       unit="%"   grid_ref="grid_T_3D" /> 
     110 
     111        <!-- variables available with ln_diacfl=.true. --> 
     112        <field id="cfl_cu"       long_name="u-courant number"   unit="#" /> 
     113        <field id="cfl_cv"       long_name="v-courant number"   unit="#" /> 
     114        <field id="cfl_cw"       long_name="w-courant number"   unit="#" /> 
     115 
    110116      </field_group> <!-- grid_T --> 
    111117 
  • NEMO/releases/release-4.0/src/OCE/DIA/diacfl.F90

    r10425 r10823  
    1717   USE lbclnk          ! ocean lateral boundary condition (or mpp link) 
    1818   USE in_out_manager  ! I/O manager 
     19   USE iom             !  
    1920   USE timing          ! Performance output 
    2021 
     
    7879      END DO 
    7980      ! 
     81      ! write outputs 
     82      IF( iom_use('cfl_cu') )   CALL iom_put( 'cfl_cu', MAXVAL( zCu_cfl, dim=3 ) ) 
     83      IF( iom_use('cfl_cv') )   CALL iom_put( 'cfl_cv', MAXVAL( zCv_cfl, dim=3 ) ) 
     84      IF( iom_use('cfl_cw') )   CALL iom_put( 'cfl_cw', MAXVAL( zCw_cfl, dim=3 ) ) 
     85 
    8086      !                    ! calculate maximum values and locations 
    8187      IF( lk_mpp ) THEN 
Note: See TracChangeset for help on using the changeset viewer.