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 10824 – NEMO

Changeset 10824


Ignore:
Timestamp:
2019-04-02T15:32:49+02:00 (5 years ago)
Author:
clem
Message:

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

Location:
NEMO/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/cfgs/SHARED/field_def_nemo-oce.xml

    r10645 r10824  
    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/trunk/src/OCE/DIA/diacfl.F90

    r10425 r10824  
    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.