SCALE-RM
|
module Atmosphere / Dynamics More...
Functions/Subroutines | |
subroutine, public | atmos_dyn_tstep_large_fvm_heve_setup (DENS, MOMZ, MOMX, MOMY, RHOT, QTRC, PROG) |
Setup. More... | |
subroutine, public | atmos_dyn_tstep_large_fvm_heve_finalize |
finalize 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, 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, TwoD, ND_COEF, ND_COEF_Q, ND_LAPLACIAN_NUM, ND_SFC_FACT, ND_USE_RS, BND_QA, BND_IQ, 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, MFLUX_OFFSET_X, MFLUX_OFFSET_Y, 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 | monitor_put_lateral_flux (MONIT_ID, BND_flag, flx, flx_zero) |
subroutine | multiply_flux_by_metric_xyz (I_DIR, flx, GSQRT, MAPF) |
module Atmosphere / Dynamics
name | type | default value | comment |
---|---|---|---|
EVAL_TYPE_NUMFILTER | character(len=H_SHORT) | 'TENDENCY' |
name | description | unit | variable |
---|---|---|---|
XFLX_{TRACER_NAME} | {TRACER_NAME} flux of x-direction; {TRACER_NAME} depends on the physics schemes, e.g., QV, QC, QR. | kg/m2/s | {'XFLX_'//trim} |
YFLX_{TRACER_NAME} | {TRACER_NAME} flux of y-direction; {TRACER_NAME} depends on the physics schemes, e.g., QV, QC, QR. | kg/m2/s | {'YFLX_'//trim} |
ZFLX_{TRACER_NAME} | {TRACER_NAME} flux of z-direction; {TRACER_NAME} depends on the physics schemes, e.g., QV, QC, QR. | kg/m2/s | {'ZFLX_'//trim} |
DENS_t_damp | tendency of dencity due to damping | kg/m3/s | DENS_t_damp |
DENS_t_phys | tendency of dencity due to physics | kg/m3/s | DENS_t_phys |
MOMX_t_damp | tendency of momentum x due to damping | kg/m2/s2 | MOMX_t_damp |
MOMX_t_phys | tendency of momentum x due to physics | kg/m2/s2 | MOMX_t_phys |
MOMY_t_damp | tendency of momentum y due to damping | kg/m2/s2 | MOMY_t_damp |
MOMY_t_phys | tendency of momentum y due to physics | kg/m2/s2 | MOMY_t_phys |
MOMZ_t_damp | tendency of momentum z due to damping | kg/m2/s2 | MOMZ_t_damp |
MOMZ_t_phys | tendency of momentum z due to physics | kg/m2/s2 | MOMZ_t_phys |
RHOT_t_damp | tendency of rho*theta temperature due to damping | K kg/m3/s | RHOT_t_damp |
RHOT_t_phys | tendency of rho*theta temperature due to physics | K*kg/m3/s | RHOT_t_phys |
XFLX_MOM | momentum flux of x-direction | kg/m2/s | XFLX_MOM |
XFLX_RHOT | potential temperature flux of x-direction | K*kg/m2/s | XFLX_RHOT |
YFLX_MOM | momentum flux of y-direction | kg/m2/s | YFLX_MOM |
YFLX_RHOT | potential temperature flux of y-direction | K*kg/m2/s | YFLX_RHOT |
ZFLX_MOM | momentum flux of z-direction | kg/m2/s | ZFLX_MOM |
ZFLX_RHOT | potential temperature flux of z-direction | K*kg/m2/s | ZFLX_RHOT |
{TRACER_NAME}_t_damp | tendency of {TRACER_NAME} due to damping; {TRACER_NAME} depends on the physics schemes, e.g., QV, QC, QR. | kg/m3/s | trim(TRACER_NAME(iq))//'_t_damp |
{TRACER_NAME}_t_phys | tendency of {TRACER_NAME} due to physics; {TRACER_NAME} depends on the physics schemes, e.g., QV, QC, QR. | kg/m3/s | trim(TRACER_NAME(iq))//'_t_phys |
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 | ||
) |
Setup.
Definition at line 124 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
References atmos_dyn_tstep_large_fvm_heve(), scale_comm_cartesc::comm_vars8_init(), scale_const::const_ohm, scale_const::const_undef, scale_file_history::file_history_reg(), scale_atmos_grid_cartesc_index::ia, scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::ka, scale_monitor::monitor_reg(), 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_prc_cartesc::prc_twod, scale_tracer::qa, 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, public scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_finalize |
finalize
Definition at line 398 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
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,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, | ||
logical, intent(in) | TwoD, | ||
real(rp), intent(in) | ND_COEF, | ||
real(rp), intent(in) | ND_COEF_Q, | ||
integer, intent(in) | ND_LAPLACIAN_NUM, | ||
real(rp), intent(in) | ND_SFC_FACT, | ||
logical, intent(in) | ND_USE_RS, | ||
integer, intent(in) | BND_QA, | ||
integer, dimension(qa), intent(in) | BND_IQ, | ||
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,ja,2), intent(in) | MFLUX_OFFSET_X, | ||
real(rp), dimension(ka,ia,2), intent(in) | MFLUX_OFFSET_Y, | ||
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 461 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
References scale_atmos_dyn_common::atmos_dyn_divergence(), scale_atmos_dyn_common::atmos_dyn_fill_halo(), scale_atmos_dyn_fvm_numfilter::atmos_dyn_fvm_apply_numfilter(), scale_atmos_dyn_fvm_numfilter::atmos_dyn_fvm_numfilter_flux(), scale_atmos_dyn_fvm_numfilter::atmos_dyn_fvm_numfilter_flux_q(), scale_atmos_dyn_common::atmos_dyn_prep_pres_linearization(), scale_atmos_dyn_tinteg_short::atmos_dyn_tinteg_short, scale_atmos_dyn_tinteg_tracer::atmos_dyn_tinteg_tracer, scale_const::const_eps, scale_dft::dft_g2g(), scale_dft::dft_g2g_divfree(), scale_file_history::file_history_set_disable(), 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_tracer::k, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, monitor_put_lateral_flux(), multiply_flux_by_metric_xyz(), scale_prof::prof_rapend(), scale_prof::prof_rapstart(), scale_tracer::qa, scale_spnudge::spnudge_pt, scale_spnudge::spnudge_pt_alpha, scale_spnudge::spnudge_pt_lm, scale_spnudge::spnudge_pt_mm, scale_spnudge::spnudge_qv, scale_spnudge::spnudge_qv_alpha, scale_spnudge::spnudge_qv_lm, scale_spnudge::spnudge_qv_mm, scale_spnudge::spnudge_u_alpha, scale_spnudge::spnudge_uv, scale_spnudge::spnudge_uv_divfree, scale_spnudge::spnudge_uv_lm, scale_spnudge::spnudge_uv_mm, scale_spnudge::spnudge_v_alpha, scale_tracer::tracer_advc, scale_tracer::tracer_mass, scale_index::va, 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_setup(), and scale_atmos_dyn_tstep_large::atmos_dyn_tstep_large_setup().
subroutine scale_atmos_dyn_tstep_large_fvm_heve::monitor_put_lateral_flux | ( | integer, intent(in) | MONIT_ID, |
logical, intent(in) | BND_flag, | ||
real(rp), dimension(:,:), intent(in), target | flx, | ||
real(rp), dimension(:,:), intent(in), target | flx_zero | ||
) |
Definition at line 1923 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
Referenced by atmos_dyn_tstep_large_fvm_heve().
subroutine scale_atmos_dyn_tstep_large_fvm_heve::multiply_flux_by_metric_xyz | ( | integer, intent(in) | I_DIR, |
real(rp), dimension(ka,ia,ja,3), intent(inout) | flx, | ||
real(rp), dimension(ka,ia,ja,7), intent(in) | GSQRT, | ||
real(rp), dimension (ia,ja,2,4), intent(in) | MAPF | ||
) |
Definition at line 1945 of file scale_atmos_dyn_tstep_large_fvm_heve.F90.
References 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::ie, scale_atmos_grid_cartesc_index::ieb, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::isb, 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::ke, 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().