MOM_wave_drag module reference

Frequency-dependent linear wave drag

Data Types

wave_drag_CS

Control structure for the MOM_wave_drag module

Functions/Subroutines

wave_drag_init

This subroutine reads drag coefficients from file.

wave_drag_calc

This subroutine calculates the sum of the products of the tidal velocities and the scaled frequency-dependent drag for each tidal constituent specified in MOM_input.

Detailed Description

By Chengzhu Xu (chengzhu.xu@oregonstate.edu) and Edward D. Zaron

This module calculates the net effects of the frequency-dependent internal wave drag applied to the tidal velocities, and returns the sum of products of frequency-dependent drag coefficients and tidal velocities for each constituent to the MOM_barotropic module for further calculations. It relies on the use of MOM_streaming_filter for determining the tidal velocities. Furthermore, the number of drag coefficients cannot exceed that of the streaming filters, and the names of drag coefficients should match those of the streaming filters. The frequency-dependent drag coefficients are read from the same file for the linear drag coefficients in MOM_barotropic.

Reference: Xu, C., & Zaron, E. D. (2025). Parameterization of frequency-dependent internal wave drag. Journal of Advances in Modeling Earth Systems, 17, e2025MS005126. https://doi.org/10.1029/2025MS005126

Type Documentation

type, public :: wave_drag_CS

Control structure for the MOM_wave_drag module

Parameters
  • nf

    Number of filters to be used in the simulation

  • coef_u

    frequency-dependent drag coefficients [H T-1 ~> m s-1]

  • coef_v

    frequency-dependent drag coefficients [H T-1 ~> m s-1]

  • coef_uv

    frequency-dependent drag coefficients [H T-1 ~> m s-1]

  • coef_vu

    frequency-dependent drag coefficients [H T-1 ~> m s-1]

  • tensor_drag

    If true, include the off-diagonal components of the wave drag tensor for computing the wave drag

Functions/Subroutine Documentation

subroutine wave_drag_init(param_file, wave_drag_file, G, GV, US, CS)

This subroutine reads drag coefficients from file.

Parameters
  • param_file [in]

    A structure to parse for run-time parameters

  • wave_drag_file [in]

    The file from which to read drag coefficients

  • G [inout]

    The ocean's grid structure

  • GV [in]

    The ocean's vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • CS [out]

    Control structure of MOM_wave_drag

  • mdl

    This module's name

  • filter_name_str

    List of drag coefficients to be used

  • filter_names

    Names of drag coefficients

  • var_names

    Names of variables in wave_drag_file

  • var_scale

    Scaling factors of drag coefficients [nondim]

Callees call graph
Callees of mom_wave_drag::wave_drag_init calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_io MOM_io cluster_mom_wave_drag MOM_wave_drag mom_domain_infra::interface::pass_vector pass_vector (interface) mom_error_handler::mom_error MOM_error mom_file_parser::interface::get_param get_param (interface) mom_io::interface::mom_read_data MOM_read_data (interface) mom_wave_drag::wave_drag_init wave_drag_init mom_wave_drag::wave_drag_init->mom_domain_infra::interface::pass_vector mom_wave_drag::wave_drag_init->mom_error_handler::mom_error mom_wave_drag::wave_drag_init->mom_file_parser::interface::get_param mom_wave_drag::wave_drag_init->mom_io::interface::mom_read_data
Text view
Callers call graph
Callers of mom_wave_drag::wave_drag_init calls cluster_mom_barotropic MOM_barotropic cluster_mom_wave_drag MOM_wave_drag mom_barotropic::barotropic_init barotropic_init mom_wave_drag::wave_drag_init wave_drag_init mom_barotropic::barotropic_init->mom_wave_drag::wave_drag_init
Text view
subroutine wave_drag_calc(u, v, drag_u, drag_v, G, CS)

This subroutine calculates the sum of the products of the tidal velocities and the scaled frequency-dependent drag for each tidal constituent specified in MOM_input.

Parameters
  • G [in]

    The ocean's grid structure

  • CS [in]

    Control structure of MOM_wave_drag

  • u [in]

    Zonal velocity from the output of streaming band-pass filters [L T-1 ~> m s-1]

  • v [in]

    Meridional velocity from the output of streaming band-pass filters [L T-1 ~> m s-1]

  • drag_u [out]

    Sum of products of filtered velocities and scaled frequency-dependent drag [L2 T-2 ~> m2 s-2]

  • drag_v [out]

    Sum of products of filtered velocities and scaled frequency-dependent drag [L2 T-2 ~> m2 s-2]

Callees call graph
Callees of mom_wave_drag::wave_drag_calc calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_wave_drag MOM_wave_drag mom_domain_infra::interface::pass_vector pass_vector (interface) mom_wave_drag::wave_drag_calc wave_drag_calc mom_wave_drag::wave_drag_calc->mom_domain_infra::interface::pass_vector
Text view
Callers call graph
Callers of mom_wave_drag::wave_drag_calc calls cluster_mom_barotropic MOM_barotropic cluster_mom_wave_drag MOM_wave_drag mom_barotropic::btstep btstep mom_wave_drag::wave_drag_calc wave_drag_calc mom_barotropic::btstep->mom_wave_drag::wave_drag_calc
Text view
API generated with Flint · Rendered from reStructuredText