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_CV, 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, 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, divdmp_coef, FLAG_FCT_MOMENTUM, FLAG_FCT_T, FLAG_FCT_TRACER, FLAG_FCT_ALONG_STREAM, USE_AVERAGE, 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 | kg/m2/s | allmflx_lb_horizontal |
DENS_t_damp | tendency of dencity due to rayleigh damping | kg/m3/s | damp_t |
DENS_t_phys | tendency of dencity due to physics | kg/m3/s | DENS_tp |
MFLXX | momentum flux of x-direction | kg/m2/s | mflx_hi |
MFLXY | momentum flux of y-direction | kg/m2/s | mflx_hi |
MFLXZ | momentum flux of z-direction | kg/m2/s | mflx_hi |
MOMX_t_damp | tendency of momentum x due to rayleigh damping | kg/m2/s2 | damp_t |
MOMX_t_phys | tendency of momentum x due to physics | kg/m2/s2 | MOMX_tp |
MOMY_t_damp | tendency of momentum y due to rayleigh damping | kg/m2/s2 | damp_t |
MOMY_t_phys | tendency of momentum y due to physics | kg/m2/s2 | MOMY_tp |
MOMZ_t_damp | tendency of momentum z due to rayleigh damping | kg/m2/s2 | damp_t |
MOMZ_t_phys | tendency of momentum z due to physics | kg/m2/s2 | MOMZ_tp |
RHOT_t_damp | tendency of rho*theta temperature due to rayleigh damping | K kg/m3/s | damp_t |
RHOT_t_phys | tendency of rho*theta temperature due to physics | K kg/m3/s | RHOT_tp |
TFLXX | potential temperature flux of x-direction | K*kg/m2/s | tflx_hi |
TFLXY | potential temperature flux of y-direction | K*kg/m2/s | tflx_hi |
TFLXZ | potential temperature flux of z-direction | K*kg/m2/s | tflx_hi |
trim(AQ_NAME(iq))//'_t_damp' | tendency of '//trim(AQ_NAME(iq))//' due to rayleigh damping | kg/kg/s | damp_t |
trim(AQ_NAME(iq))//'_t_phys' | tendency of '//trim(AQ_NAME(iq))//' due to physics | 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::comm_vars8_init(), scale_const::const_ohm, scale_const::const_undef, scale_grid_index::ia, scale_grid_index::ja, scale_grid_index::ka, scale_rm_process::prc_has_e, scale_rm_process::prc_has_n, scale_rm_process::prc_has_s, scale_rm_process::prc_has_w, scale_process::prc_mpistop(), scale_tracer::qa, scale_index::va, scale_grid_index::xdir, scale_grid_index::ydir, and scale_grid_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(qqa), intent(in) | AQ_CV, | ||
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, | ||
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), intent(in) | divdmp_coef, | ||
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, | ||
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 193 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
References scale_tracer::aq_name, scale_atmos_boundary::atmos_boundary_smoother_fact, 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, scale_atmos_boundary::bnd_qa, check_mass(), scale_const::const_cvdry, scale_const::const_eps, scale_const::const_pre00, scale_const::const_rdry, scale_const::const_rvap, scale_tracer::i_qv, scale_gridtrans::i_uy, scale_gridtrans::i_uyz, scale_gridtrans::i_xv, scale_gridtrans::i_xvz, scale_gridtrans::i_xy, scale_gridtrans::i_xyw, scale_gridtrans::i_xyz, scale_grid_index::ia, scale_grid_index::ie, scale_stdio::io_fid_log, scale_stdio::io_l, scale_grid_index::is, scale_grid_index::ja, scale_grid_index::je, scale_grid_index::js, scale_grid_index::ka, scale_grid_index::ke, scale_grid_index::ks, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), scale_tracer::qa, scale_tracer::qqe, scale_tracer::qqs, scale_index::va, scale_grid_index::xdir, scale_grid_index::ydir, and scale_grid_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 993 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
References scale_comm::comm_datatype, scale_comm::comm_world, scale_gridtrans::i_xy, scale_gridtrans::i_xyz, scale_grid_index::ie, scale_stdio::io_fid_log, scale_stdio::io_l, scale_grid_index::is, scale_grid_index::je, scale_grid_index::js, scale_grid_index::ke, scale_grid_index::kmax, scale_grid_index::ks, scale_grid_real::real_vol, scale_grid_index::xdir, scale_grid_index::ydir, and scale_grid_index::zdir.
Referenced by atmos_dyn_tstep_large_fvm_heve().