MOM_dynamics_unsplit module reference
Time steps the ocean dynamics with an unsplit quasi 3rd order scheme
Data Types
MOM_dynamics_unsplit module control structure |
Functions/Subroutines
Step the MOM6 dynamics using an unsplit mixed 2nd order (for continuity) and 3rd order (for the inviscid momentum equations) order scheme |
|
Allocate the control structure for this module, allocates memory in it, and registers any auxiliary restart variables that are specific to the unsplit time stepping scheme. |
|
Initialize parameters and allocate memory associated with the unsplit dynamics module. |
|
Clean up and deallocate memory associated with the unsplit dynamics module. |
Type Documentation
- type, public :: MOM_dyn_unsplit_CS
MOM_dynamics_unsplit module control structure
- Parameters
CAu
CAu = f*v - u.grad(u) [L T-2 ~> m s-2].
PFu
PFu = -dM/dx [L T-2 ~> m s-2].
diffu
Zonal acceleration due to convergence of the along-isopycnal stress tensor [L T-2 ~> m s-2].
CAv
CAv = -f*u - u.grad(v) [L T-2 ~> m s-2].
PFv
PFv = -dM/dy [L T-2 ~> m s-2].
diffv
Meridional acceleration due to convergence of the along-isopycnal stress tensor [L T-2 ~> m s-2].
taux_bot
frictional x-bottom stress from the ocean to the seafloor [R L Z T-2 ~> Pa]
tauy_bot
frictional y-bottom stress from the ocean to the seafloor [R L Z T-2 ~> Pa]
dt_visc_bug
If false, use the correct timestep in viscous terms applied in the first predictor step and in the calculation of the turbulent mixed layer properties for viscosity. If this is true, an older incorrect setting is used.
debug
If true, write verbose checksums for debugging purposes.
calculate_SAL
If true, calculate self-attraction and loading.
use_tides
If true, tidal forcing is enabled.
id_uh
Diagnostic IDs
id_vh
Diagnostic IDs
id_ueffA
Diagnostic IDs
id_veffA
Diagnostic IDs
id_PFu
Diagnostic IDs
id_PFv
Diagnostic IDs
id_CAu
Diagnostic IDs
id_CAv
Diagnostic IDs
diag
A structure that is used to regulate the timing of diagnostic output.
ADp
A structure pointing to the accelerations in the momentum equations, which can later be used to calculate derived diagnostics like energy budgets.
CDp
A structure with pointers to various terms in the continuity equations, which can later be used to calculate derived diagnostics like energy budgets.
A pointer to the horizontal viscosity control structure
hor_visc
A pointer to the continuity control structure
continuity_CSp
A pointer to the CoriolisAdv control structure
CoriolisAdv
A pointer to the PressureForce control structure
PressureForce_CSp
A pointer to the vertvisc control structure
vertvisc_CSp
A pointer to the set_visc control structure
set_visc_CSp
A pointer to the SAL control structure
SAL_CSp
A pointer to the tidal forcing control structure
tides_CSp
A pointer to the ALE control structure.
OBC
A pointer to an open boundary
A pointer to the update_OBC control structure
Functions/Subroutine Documentation
- subroutine step_MOM_dyn_unsplit(u, v, h, tv, visc, Time_local, dt, forces, p_surf_begin, p_surf_end, uh, vh, uhtr, vhtr, eta_av, G, GV, US, CS, VarMix, MEKE, pbv, STOCH, Waves)
Step the MOM6 dynamics using an unsplit mixed 2nd order (for continuity) and 3rd order (for the inviscid momentum equations) order scheme
- Parameters
G [inout]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
US [in]
A dimensional unit scaling type
u [inout]
The zonal velocity [L T-1 ~> m s-1].
v [inout]
The meridional velocity [L T-1 ~> m s-1].
h [inout]
Layer thicknesses [H ~> m or kg m-2].
tv [in]
A structure pointing to various thermodynamic variables.
visc [inout]
A structure containing vertical viscosities, bottom drag viscosities, and related fields.
Time_local [in]
The model time at the end of the time step.
dt [in]
The dynamics time step [T ~> s].
forces [in]
A structure with the driving mechanical forces
p_surf_begin
A pointer (perhaps NULL) to the surface pressure at the start of this dynamic step [R L2 T-2 ~> Pa].
p_surf_end
A pointer (perhaps NULL) to the surface pressure at the end of this dynamic step [R L2 T-2 ~> Pa].
uh [inout]
The zonal volume or mass transport [H L2 T-1 ~> m3 s-1 or kg s-1].
vh [inout]
The meridional volume or mass transport [H L2 T-1 ~> m3 s-1 or kg s-1].
uhtr [inout]
The accumulated zonal volume or mass transport since the last tracer advection [H L2 ~> m3 or kg].
vhtr [inout]
The accumulated meridional volume or mass transport since the last tracer advection [H L2 ~> m3 or kg].
eta_av [out]
The time-mean free surface height or column mass [H ~> m or kg m-2].
CS
The control structure set up by initialize_dyn_unsplit.
VarMix [inout]
Variable mixing control structure
MEKE [inout]
MEKE fields
pbv [in]
porous barrier fractional cell metrics
STOCH [inout]
Stochastic control structure
Waves
A pointer to a structure containing fields related to the surface wave conditions
Callees call graph
Text view
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_boundary_update::update_obc_data
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_checksum_packages::interface::mom_state_chksum
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_checksum_packages::mom_accel_chksum
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_continuity_ppm::continuity_ppm
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_coriolisadv::coradcalc
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_cpu_clock_infra::cpu_clock_begin
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_cpu_clock_infra::cpu_clock_end
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_diag_mediator::diag_update_remap_grids
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_diag_mediator::disable_averaging
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_diag_mediator::enable_averages
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_diag_mediator::interface::post_data
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_domain_infra::interface::pass_var
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_domain_infra::interface::pass_vector
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_hor_visc::horizontal_viscosity
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_interface_heights::interface::thickness_to_dz
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_open_boundary::open_boundary_zero_normal_flow
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_pressureforce::pressureforce
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_safe_alloc::interface::safe_alloc_ptr
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_set_visc::set_viscous_ml
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_time_manager::real_to_time
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_vert_friction::vertvisc
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_vert_friction::vertvisc_coef
- subroutine register_restarts_dyn_unsplit(HI, GV, param_file, CS)
Allocate the control structure for this module, allocates memory in it, and registers any auxiliary restart variables that are specific to the unsplit time stepping scheme.
All variables registered here should have the ability to be recreated if they are not present in a restart file.
- Parameters
HI [in]
A horizontal index type structure.
GV [in]
The ocean's vertical grid structure.
param_file [in]
A structure to parse for run-time parameters.
CS
The control structure set up by initialize_dyn_unsplit.
Callees call graph
Callers call graph
- subroutine initialize_dyn_unsplit(u, v, h, tv, Time, G, GV, US, param_file, diag, CS, Accel_diag, Cont_diag, MIS, OBC, update_OBC_CSp, ALE_CSp, set_visc, visc, dirs, ntrunc, cont_stencil, dyn_h_stencil)
Initialize parameters and allocate memory associated with the unsplit dynamics module.
- Parameters
G [inout]
The ocean's grid structure.
GV [in]
The ocean's vertical grid structure.
US [in]
A dimensional unit scaling type
u [inout]
The zonal velocity [L T-1 ~> m s-1].
v [inout]
The meridional velocity [L T-1 ~> m s-1].
h [inout]
Layer thicknesses [H ~> m or kg m-2]
tv [in]
Thermodynamic type
Time [in]
The current model time.
param_file [in]
A structure to parse for run-time parameters.
diag [inout]
A structure that is used to regulate diagnostic output.
CS
The control structure set up by initialize_dyn_unsplit.
Accel_diag [inout]
A set of pointers to the various accelerations in the momentum equations, which can be used for later derived diagnostics, like energy budgets.
Cont_diag [inout]
A structure with pointers to various terms in the continuity equations.
MIS [inout]
The "MOM6 Internal State" structure, used to pass around pointers to various arrays for diagnostic purposes.
OBC
If open boundary conditions are used, this points to the ocean_OBC_type that was set up in MOM_initialization.
update_OBC_CSp
If open boundary condition updates are used, this points to the appropriate control structure.
ALE_CSp
This points to the ALE control structure.
set_visc [in]
set_visc control structure
visc [inout]
A structure containing vertical viscosities, bottom drag viscosities, and related fields.
dirs [in]
A structure containing several relevant directory paths.
ntrunc [inout]
A target for the variable that records the number of times the velocity is truncated (this should be 0).
cont_stencil [out]
The stencil for thickness from the continuity solver.
dyn_h_stencil [out]
The stencil for thickness for the dynamics based on the continuity solver and Coriolis scheme.
Callees call graph
Text view
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_continuity_ppm::continuity_ppm_init
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_continuity_ppm::continuity_ppm_stencil
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_coriolisadv::coriolisadv_init
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_coriolisadv::coriolisadv_stencil
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_cpu_clock_infra::cpu_clock_id
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_diag_mediator::register_diag_field
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_error_handler::mom_error
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_file_parser::interface::get_param
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_file_parser::interface::log_version
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_hor_visc::hor_visc_init
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_pressureforce::pressureforce_init
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_self_attr_load::sal_init
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_tidal_forcing::tidal_forcing_init
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_vert_friction::vertvisc_init
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_verticalgrid::get_flux_units
- subroutine end_dyn_unsplit(CS)
Clean up and deallocate memory associated with the unsplit dynamics module.
- Parameters
CS
unsplit dynamics control structure that will be deallocated in this subroutine.