SCALE-RM
|
module Atmosphere / Dynamics More...
Functions/Subroutines | |
subroutine, public | atmos_dyn_tstep_large_fvm_heve_setup (DENS, MOMZ, MOMX, MOMY, RHOT, QTRC, PROG, mflx_hi) |
Setup. More... | |
subroutine, public | atmos_dyn_tstep_large_fvm_heve (DENS, MOMZ, MOMX, MOMY, RHOT, QTRC, PROG, DENS_av, MOMZ_av, MOMX_av, MOMY_av, RHOT_av, QTRC_av, mflx_hi, tflx_hi, num_diff, num_diff_q, QTRC0, DENS_tp, MOMZ_tp, MOMX_tp, MOMY_tp, RHOT_tp, RHOQ_tp, CORIOLI, CDZ, CDX, CDY, FDZ, FDX, FDY, RCDZ, RCDX, RCDY, RFDZ, RFDX, RFDY, PHI, GSQRT, J13G, J23G, J33G, MAPF, AQ_R, AQ_CV, AQ_CP, AQ_MASS, REF_dens, REF_pott, REF_qv, REF_pres, BND_W, BND_E, BND_S, BND_N, ND_COEF, ND_COEF_Q, ND_ORDER, ND_SFC_FACT, ND_USE_RS, BND_QA, BND_SMOOTHER_FACT, DAMP_DENS, DAMP_VELZ, DAMP_VELX, DAMP_VELY, DAMP_POTT, DAMP_QTRC, DAMP_alpha_DENS, DAMP_alpha_VELZ, DAMP_alpha_VELX, DAMP_alpha_VELY, DAMP_alpha_POTT, DAMP_alpha_QTRC, wdamp_coef, divdmp_coef, FLAG_TRACER_SPLIT_TEND, FLAG_FCT_MOMENTUM, FLAG_FCT_T, FLAG_FCT_TRACER, FLAG_FCT_ALONG_STREAM, USE_AVERAGE, I_QV, DTLS, DTSS, Llast) |
Dynamical Process. More... | |
subroutine | check_mass (DENS, DAMP_DENS, mflx_hi, tflx_hi, GSQRT, MAPF, RCDX, RCDY, dt, step, BND_W, BND_E, BND_S, BND_N) |
module Atmosphere / Dynamics
name | description | unit | variable |
---|---|---|---|
ALLMOM_lb_hz | horizontally total momentum flux from lateral boundary (w/ CHECK_MASS) | kg/m2/s | allmflx_lb_horizontal |
DENS_t_damp | tendency of dencity due to damping (w/ HIST_TEND) | kg/m3/s | damp_t |
DENS_t_phys | tendency of dencity due to physics (w/ HIST_TEND) | kg/m3/s | DENS_tp |
MFLXX | momentum flux of x-direction (w/ CHECK_MASS) | kg/m2/s | mflx_hi |
MFLXY | momentum flux of y-direction (w/ CHECK_MASS) | kg/m2/s | mflx_hi |
MFLXZ | momentum flux of z-direction (w/ CHECK_MASS) | kg/m2/s | mflx_hi |
MOMX_t_damp | tendency of momentum x due to damping (w/ HIST_TEND) | kg/m2/s2 | damp_t |
MOMX_t_phys | tendency of momentum x due to physics (w/ HIST_TEND) | kg/m2/s2 | MOMX_tp |
MOMY_t_damp | tendency of momentum y due to damping (w/ HIST_TEND) | kg/m2/s2 | damp_t |
MOMY_t_phys | tendency of momentum y due to physics (w/ HIST_TEND) | kg/m2/s2 | MOMY_tp |
MOMZ_t_damp | tendency of momentum z due to damping (w/ HIST_TEND) | kg/m2/s2 | damp_t |
MOMZ_t_phys | tendency of momentum z due to physics (w/ HIST_TEND) | kg/m2/s2 | MOMZ_tp |
RHOT_t_damp | tendency of rho*theta temperature due to damping (w/ HIST_TEND) | K kg/m3/s | damp_t |
RHOT_t_phys | tendency of rho*theta temperature due to physics (w/ HIST_TEND) | K kg/m3/s | RHOT_tp |
TFLXX | potential temperature flux of x-direction (w/ CHECK_MASS) | K*kg/m2/s | tflx_hi |
TFLXY | potential temperature flux of y-direction (w/ CHECK_MASS) | K*kg/m2/s | tflx_hi |
TFLXZ | potential temperature flux of z-direction (w/ CHECK_MASS) | K*kg/m2/s | tflx_hi |
{TRACER_NAME}_t_damp | tendency of {TRACER_NAME} due to damping (w/ HIST_TEND); {TRACER_NAME} depends on the physics schemes, e.g., QV, QC, QR. | kg/kg/s | damp_t |
{TRACER_NAME}_t_phys | tendency of {TRACER_NAME} due to physics (w/ HIST_TEND); {TRACER_NAME} depends on the physics schemes, e.g., QV, QC, QR. | kg/kg/s | RHOQ_tp |
subroutine, public scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_setup | ( | real(rp), dimension(ka,ia,ja), intent(inout) | DENS, |
real(rp), dimension(ka,ia,ja), intent(inout) | MOMZ, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | MOMX, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | MOMY, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | RHOT, | ||
real(rp), dimension(ka,ia,ja,qa), intent(inout) | QTRC, | ||
real(rp), dimension(ka,ia,ja,va), intent(inout) | PROG, | ||
real(rp), dimension(ka,ia,ja,3), intent(inout) | mflx_hi | ||
) |
Setup.
Definition at line 95 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
References scale_comm_cartesc::comm_vars8_init(), scale_const::const_ohm, scale_const::const_undef, scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::ka, scale_prc::prc_abort(), scale_prc_cartesc::prc_has_e, scale_prc_cartesc::prc_has_n, scale_prc_cartesc::prc_has_s, scale_prc_cartesc::prc_has_w, scale_tracer::qa, scale_index::va, scale_atmos_grid_cartesc_index::xdir, scale_atmos_grid_cartesc_index::ydir, and scale_atmos_grid_cartesc_index::zdir.
Referenced by scale_atmos_dyn_tstep_large::atmos_dyn_tstep_large_setup().
subroutine, public scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve | ( | real(rp), dimension(ka,ia,ja), intent(inout) | DENS, |
real(rp), dimension(ka,ia,ja), intent(inout) | MOMZ, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | MOMX, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | MOMY, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | RHOT, | ||
real(rp), dimension(ka,ia,ja,qa), intent(inout) | QTRC, | ||
real(rp), dimension(ka,ia,ja,va), intent(inout) | PROG, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | DENS_av, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | MOMZ_av, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | MOMX_av, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | MOMY_av, | ||
real(rp), dimension(ka,ia,ja), intent(inout) | RHOT_av, | ||
real(rp), dimension(ka,ia,ja,qa), intent(inout) | QTRC_av, | ||
real(rp), dimension(ka,ia,ja,3), intent(out) | mflx_hi, | ||
real(rp), dimension(ka,ia,ja,3), intent(out) | tflx_hi, | ||
real(rp), dimension(ka,ia,ja,5,3), intent(out) | num_diff, | ||
real(rp), dimension(ka,ia,ja,3), intent(out) | num_diff_q, | ||
real(rp), dimension(ka,ia,ja,qa), intent(in) | QTRC0, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DENS_tp, | ||
real(rp), dimension(ka,ia,ja), intent(in) | MOMZ_tp, | ||
real(rp), dimension(ka,ia,ja), intent(in) | MOMX_tp, | ||
real(rp), dimension(ka,ia,ja), intent(in) | MOMY_tp, | ||
real(rp), dimension(ka,ia,ja), intent(in) | RHOT_tp, | ||
real(rp), dimension(ka,ia,ja,qa), intent(in) | RHOQ_tp, | ||
real(rp), dimension(ia,ja), intent(in) | CORIOLI, | ||
real(rp), dimension (ka), intent(in) | CDZ, | ||
real(rp), dimension (ia), intent(in) | CDX, | ||
real(rp), dimension (ja), intent(in) | CDY, | ||
real(rp), dimension (ka-1), intent(in) | FDZ, | ||
real(rp), dimension (ia-1), intent(in) | FDX, | ||
real(rp), dimension (ja-1), intent(in) | FDY, | ||
real(rp), dimension(ka), intent(in) | RCDZ, | ||
real(rp), dimension(ia), intent(in) | RCDX, | ||
real(rp), dimension(ja), intent(in) | RCDY, | ||
real(rp), dimension(ka-1), intent(in) | RFDZ, | ||
real(rp), dimension(ia-1), intent(in) | RFDX, | ||
real(rp), dimension(ja-1), intent(in) | RFDY, | ||
real(rp), dimension (ka,ia,ja), intent(in) | PHI, | ||
real(rp), dimension(ka,ia,ja,7), intent(in) | GSQRT, | ||
real(rp), dimension (ka,ia,ja,7), intent(in) | J13G, | ||
real(rp), dimension (ka,ia,ja,7), intent(in) | J23G, | ||
real(rp), intent(in) | J33G, | ||
real(rp), dimension (ia,ja,2,4), intent(in) | MAPF, | ||
real(rp), dimension (qa), intent(in) | AQ_R, | ||
real(rp), dimension (qa), intent(in) | AQ_CV, | ||
real(rp), dimension (qa), intent(in) | AQ_CP, | ||
real(rp), dimension(qa), intent(in) | AQ_MASS, | ||
real(rp), dimension(ka,ia,ja), intent(in) | REF_dens, | ||
real(rp), dimension(ka,ia,ja), intent(in) | REF_pott, | ||
real(rp), dimension (ka,ia,ja), intent(in) | REF_qv, | ||
real(rp), dimension(ka,ia,ja), intent(in) | REF_pres, | ||
logical, intent(in) | BND_W, | ||
logical, intent(in) | BND_E, | ||
logical, intent(in) | BND_S, | ||
logical, intent(in) | BND_N, | ||
real(rp), intent(in) | ND_COEF, | ||
real(rp), intent(in) | ND_COEF_Q, | ||
integer, intent(in) | ND_ORDER, | ||
real(rp), intent(in) | ND_SFC_FACT, | ||
logical, intent(in) | ND_USE_RS, | ||
integer, intent(in) | BND_QA, | ||
real(rp), intent(in) | BND_SMOOTHER_FACT, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_DENS, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_VELZ, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_VELX, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_VELY, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_POTT, | ||
real(rp), dimension(ka,ia,ja,bnd_qa), intent(in) | DAMP_QTRC, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_alpha_DENS, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_alpha_VELZ, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_alpha_VELX, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_alpha_VELY, | ||
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_alpha_POTT, | ||
real(rp), dimension(ka,ia,ja,bnd_qa), intent(in) | DAMP_alpha_QTRC, | ||
real(rp), dimension(ka), intent(in) | wdamp_coef, | ||
real(rp), intent(in) | divdmp_coef, | ||
logical, intent(in) | FLAG_TRACER_SPLIT_TEND, | ||
logical, intent(in) | FLAG_FCT_MOMENTUM, | ||
logical, intent(in) | FLAG_FCT_T, | ||
logical, intent(in) | FLAG_FCT_TRACER, | ||
logical, intent(in) | FLAG_FCT_ALONG_STREAM, | ||
logical, intent(in) | USE_AVERAGE, | ||
integer, intent(in) | I_QV, | ||
real(dp), intent(in) | DTLS, | ||
real(dp), intent(in) | DTSS, | ||
logical, intent(in) | Llast | ||
) |
Dynamical Process.
[in] | phi | geopotential |
[in] | gsqrt | vertical metrics {G}^1/2 |
[in] | j13g | (1,3) element of Jacobian matrix |
[in] | j23g | (2,3) element of Jacobian matrix |
[in] | j33g | (3,3) element of Jacobian matrix |
[in] | mapf | map factor |
[in] | ref_pres | reference pressure |
Definition at line 200 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
References scale_atmos_dyn_common::atmos_dyn_divergence(), scale_atmos_dyn_common::atmos_dyn_fct(), scale_atmos_dyn_fvm_flux::atmos_dyn_fvm_fluxx_xyz, scale_atmos_dyn_fvm_flux_ud1::atmos_dyn_fvm_fluxx_xyz_ud1(), scale_atmos_dyn_fvm_flux::atmos_dyn_fvm_fluxy_xyz, scale_atmos_dyn_fvm_flux_ud1::atmos_dyn_fvm_fluxy_xyz_ud1(), scale_atmos_dyn_fvm_flux::atmos_dyn_fvm_fluxz_xyz, scale_atmos_dyn_fvm_flux_ud1::atmos_dyn_fvm_fluxz_xyz_ud1(), scale_atmos_dyn_common::atmos_dyn_numfilter_coef(), scale_atmos_dyn_common::atmos_dyn_numfilter_coef_q(), scale_atmos_dyn_tinteg_short::atmos_dyn_tinteg_short, scale_atmos_dyn_tinteg_tracer::atmos_dyn_tinteg_tracer, check_mass(), scale_const::const_cpdry, scale_const::const_cvdry, scale_const::const_eps, scale_const::const_pre00, scale_const::const_rdry, scale_atmos_grid_cartesc_index::i_uy, scale_atmos_grid_cartesc_index::i_uyz, scale_atmos_grid_cartesc_index::i_xv, scale_atmos_grid_cartesc_index::i_xvz, scale_atmos_grid_cartesc_index::i_xy, scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ie, scale_atmos_grid_cartesc_index::ieb, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::isb, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::jeb, scale_atmos_grid_cartesc_index::js, scale_atmos_grid_cartesc_index::jsb, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), scale_tracer::qa, scale_tracer::tracer_advc, scale_tracer::tracer_mass, scale_tracer::tracer_name, scale_index::va, scale_atmos_grid_cartesc_index::xdir, scale_atmos_grid_cartesc_index::ydir, and scale_atmos_grid_cartesc_index::zdir.
Referenced by scale_atmos_dyn_tstep_large::atmos_dyn_tstep_large_setup().
subroutine scale_atmos_dyn_tstep_large_fvm_heve::check_mass | ( | real(rp), dimension (ka,ia,ja), intent(in) | DENS, |
real(rp), dimension(ka,ia,ja), intent(in) | DAMP_DENS, | ||
real(rp), dimension (ka,ia,ja,3), intent(in) | mflx_hi, | ||
real(rp), dimension (ka,ia,ja,3), intent(in) | tflx_hi, | ||
real(rp), dimension (ka,ia,ja,7), intent(in) | GSQRT, | ||
real(rp), dimension ( ia,ja,2,7), intent(in) | MAPF, | ||
real(rp), dimension(ia), intent(in) | RCDX, | ||
real(rp), dimension(ja), intent(in) | RCDY, | ||
real(rp), intent(in) | dt, | ||
integer, intent(in) | step, | ||
logical, intent(in) | BND_W, | ||
logical, intent(in) | BND_E, | ||
logical, intent(in) | BND_S, | ||
logical, intent(in) | BND_N | ||
) |
Definition at line 1141 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
References scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_vol, scale_comm_cartesc::comm_datatype, scale_comm_cartesc::comm_world, scale_atmos_grid_cartesc_index::i_xy, scale_atmos_grid_cartesc_index::i_xyz, scale_atmos_grid_cartesc_index::ie, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::js, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::kmax, scale_atmos_grid_cartesc_index::ks, scale_atmos_grid_cartesc_index::xdir, scale_atmos_grid_cartesc_index::ydir, and scale_atmos_grid_cartesc_index::zdir.
Referenced by atmos_dyn_tstep_large_fvm_heve().