module FElib / Atmosphere / Physics turbulence More...
Functions/Subroutines | |
subroutine, public | atm_phy_tb_dgm_globalsmg_init (mesh, shallow_atm_approx) |
subroutine, public | atm_phy_tb_dgm_globalsmg_final () |
subroutine, public | atm_phy_tb_dgm_globalsmg_cal_grad (t11, t12, t13, t21, t22, t23, t31, t32, t33, df1, df2, df3, tke, nu, kh, ddens_, momx_, momy_, momz_, drhot_, dens_hyd, pres_hyd, pres, pt, dx, dy, dz, sx, sy, sz, lift, lmesh, elem, lmesh2d, elem2d, is_bound) |
Calculate parameterized stress tensor and eddy heat flux with turbulent model. | |
subroutine, public | atm_phy_tb_dgm_globalsmg_cal_grad_qtrc (dfq1, dfq2, dfq3, drdx, drdy, drdz, kh, qtrc, ddens, dens_hyd, dx, dy, dz, sx, sy, sz, lift, lmesh, elem, lmesh2d, elem2d, is_bound, cal_grad_dens) |
Calculate parameterized diffusive mass flux of tracer with turbulent model. | |
subroutine, public | atm_phy_tb_dgm_globalsmg_cal_tend (momx_t, momy_t, momz_t, rhot_t, t11, t12, t13, t21, t22, t23, t31, t32, t33, df1, df2, df3, nu, kh, ddens_, momx_, momy_, momz_, drhot_, dens_hyd, pres_hyd, pres_, pt_, dx, dy, dz, sx, sy, sz, lift, lmesh, elem, lmesh2d, elem2d, is_bound) |
Calculate tendecies with turbulent model. | |
subroutine, public | atm_phy_tb_dgm_globalsmg_cal_tend_qtrc (rhoq_t, dfq1, dfq2, dfq3, kh, ddens_, dens_hyd, dx, dy, dz, sx, sy, sz, lift, lmesh, elem, lmesh2d, elem2d, is_bound) |
Calculate tendecies of tracer density with turbulent model. | |
module FElib / Atmosphere / Physics turbulence
subroutine, public scale_atm_phy_tb_dgm_globalsmg::atm_phy_tb_dgm_globalsmg_init | ( | class(meshbase3d), intent(in) | mesh, |
logical, intent(in) | shallow_atm_approx ) |
Definition at line 109 of file scale_atm_phy_tb_dgm_globalsmg.F90.
subroutine, public scale_atm_phy_tb_dgm_globalsmg::atm_phy_tb_dgm_globalsmg_final |
Definition at line 162 of file scale_atm_phy_tb_dgm_globalsmg.F90.
subroutine, public scale_atm_phy_tb_dgm_globalsmg::atm_phy_tb_dgm_globalsmg_cal_grad | ( | real(rp), dimension(elem%np,lmesh%nea), intent(out) | t11, |
real(rp), dimension(elem%np,lmesh%nea), intent(out) | t12, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | t13, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | t21, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | t22, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | t23, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | t31, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | t32, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | t33, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | df1, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | df2, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | df3, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | tke, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | nu, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | kh, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | ddens_, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | momx_, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | momy_, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | momz_, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | drhot_, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | dens_hyd, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | pres_hyd, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | pres, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | pt, | ||
type(sparsemat), intent(in) | dx, | ||
type(sparsemat), intent(in) | dy, | ||
type(sparsemat), intent(in) | dz, | ||
type(sparsemat), intent(in) | sx, | ||
type(sparsemat), intent(in) | sy, | ||
type(sparsemat), intent(in) | sz, | ||
type(sparsemat), intent(in) | lift, | ||
class(localmesh3d), intent(in) | lmesh, | ||
class(elementbase3d), intent(in) | elem, | ||
class(localmesh2d), intent(in) | lmesh2d, | ||
class(elementbase2d), intent(in) | elem2d, | ||
logical, dimension(elem%nfptot,lmesh%ne), intent(in) | is_bound ) |
Calculate parameterized stress tensor and eddy heat flux with turbulent model.
[out] | t11 | (1,1) component of stress tensor |
[out] | t12 | (1,2) component of stress tensor |
[out] | t13 | (1,3) component of stress tensor |
[out] | t21 | (2,1) component of stress tensor |
[out] | t22 | (2,2) component of stress tensor |
[out] | t23 | (2,3) component of stress tensor |
[out] | t31 | (3,1) component of stress tensor |
[out] | t32 | (3,2) component of stress tensor |
[out] | t33 | (3,3) component of stress tensor |
[out] | df1 | Diffusive heat flux in x1 direction / density |
[out] | df2 | Diffusive heat flux in x2 direction / density |
[out] | df3 | Diffusive heat flux in x3 direction / density |
[out] | tke | Parameterized turbulent kinetic energy |
[out] | nu | Eddy viscosity |
[out] | kh | Eddy diffusivity |
[in] | ddens_ | Density perturbation |
[in] | momx_ | Momentum in x1 direction |
[in] | momy_ | Momentum in x2 direction |
[in] | momz_ | Momentum in x3 direction |
[in] | drhot_ | Density x potential temperature perturbation |
[in] | dens_hyd | Reference pressure in hydrostatic balance |
[in] | pres_hyd | Reference density in hydrostatic balance |
[in] | pres | Pressure |
[in] | pt | Potential temperature |
[in] | dz | Differential matrix managed by sparse matrix type |
[in] | sz | Stiffness matrix managed by sparse matrix type |
[in] | lift | Lifting matrix managed by sparse matrix type |
[in] | is_bound | Flag whether nodes are located at domain boundaries |
Definition at line 172 of file scale_atm_phy_tb_dgm_globalsmg.F90.
References scale_atm_phy_tb_dgm_common::atm_phy_tb_dgm_common_calc_lambda(), and scale_cubedsphere_coord_cnv::cubedspherecoordcnv_cs2lonlatvec().
subroutine, public scale_atm_phy_tb_dgm_globalsmg::atm_phy_tb_dgm_globalsmg_cal_grad_qtrc | ( | real(rp), dimension(elem%np,lmesh%nea), intent(out) | dfq1, |
real(rp), dimension(elem%np,lmesh%nea), intent(out) | dfq2, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | dfq3, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(inout) | drdx, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(inout) | drdy, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(inout) | drdz, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | kh, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | qtrc, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | ddens, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | dens_hyd, | ||
type(sparsemat), intent(in) | dx, | ||
type(sparsemat), intent(in) | dy, | ||
type(sparsemat), intent(in) | dz, | ||
type(sparsemat), intent(in) | sx, | ||
type(sparsemat), intent(in) | sy, | ||
type(sparsemat), intent(in) | sz, | ||
type(sparsemat), intent(in) | lift, | ||
class(localmesh3d), intent(in) | lmesh, | ||
class(elementbase3d), intent(in) | elem, | ||
class(localmesh2d), intent(in) | lmesh2d, | ||
class(elementbase2d), intent(in) | elem2d, | ||
logical, dimension(elem%nfptot,lmesh%ne), intent(in) | is_bound, | ||
logical, intent(in) | cal_grad_dens ) |
Calculate parameterized diffusive mass flux of tracer with turbulent model.
[out] | dfq1 | Diffusive mass flux in x1 direction / density (Kh dq/dx1) |
[out] | dfq2 | Diffusive mass flux in x2 direction / density (Kh dq/dx2) |
[out] | dfq3 | Diffusive mass flux in x3 direction / density (Kh dq/dx3) |
[in,out] | drdx | Spatial gradient of density in x1 direction |
[in,out] | drdy | Spatial gradient of density in x2 direction |
[in,out] | drdz | Spatial gradient of density in x3 direction |
[in] | kh | Eddy diffusivity |
[in] | qtrc | Mass faction of tracer |
[in] | ddens | Density perturbation |
[in] | dens_hyd | Reference desity in hydrostatic state |
[in] | dz | Differential matrix managed by sparse matrix type |
[in] | sz | Stiffness matrix managed by sparse matrix type |
[in] | lift | Lifting matrix managed by sparse matrix type |
[in] | is_bound | Flag whether nodes are located at domain boundaries |
[in] | cal_grad_dens | Flag whether spatial gradients of density are calcuated |
Definition at line 530 of file scale_atm_phy_tb_dgm_globalsmg.F90.
subroutine, public scale_atm_phy_tb_dgm_globalsmg::atm_phy_tb_dgm_globalsmg_cal_tend | ( | real(rp), dimension(elem%np,lmesh%nea), intent(out) | momx_t, |
real(rp), dimension(elem%np,lmesh%nea), intent(out) | momy_t, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | momz_t, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(out) | rhot_t, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | t11, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | t12, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | t13, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | t21, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | t22, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | t23, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | t31, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | t32, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | t33, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | df1, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | df2, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | df3, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | nu, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | kh, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | ddens_, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | momx_, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | momy_, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | momz_, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | drhot_, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | dens_hyd, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | pres_hyd, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | pres_, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | pt_, | ||
type(sparsemat), intent(in) | dx, | ||
type(sparsemat), intent(in) | dy, | ||
type(sparsemat), intent(in) | dz, | ||
type(sparsemat), intent(in) | sx, | ||
type(sparsemat), intent(in) | sy, | ||
type(sparsemat), intent(in) | sz, | ||
type(sparsemat), intent(in) | lift, | ||
class(localmesh3d), intent(in) | lmesh, | ||
class(elementbase3d), intent(in) | elem, | ||
class(localmesh2d), intent(in) | lmesh2d, | ||
class(elementbase2d), intent(in) | elem2d, | ||
logical, dimension(elem%nfptot,lmesh%ne), intent(in) | is_bound ) |
Calculate tendecies with turbulent model.
[out] | momx_t | Tendency of momentum in x1 direction with turbulent model |
[out] | momy_t | Tendency of momentum in x2 direction with turbulent model |
[out] | momz_t | Tendency of momentum in x3 direction with turbulent model |
[out] | rhot_t | Tendency of density x potential temperature with turbulent model |
[in] | t11 | (1,1) component of stress tensor |
[in] | t12 | (1,2) component of stress tensor |
[in] | t13 | (1,3) component of stress tensor |
[in] | t21 | (2,1) component of stress tensor |
[in] | t22 | (2,2) component of stress tensor |
[in] | t23 | (2,3) component of stress tensor |
[in] | t31 | (3,1) component of stress tensor |
[in] | t32 | (3,2) component of stress tensor |
[in] | t33 | (3,3) component of stress tensor |
[in] | df1 | Diffusive heat flux in x1 direction / density |
[in] | df2 | Diffusive heat flux in x2 direction / density |
[in] | df3 | Diffusive heat flux in x3 direction / density |
[in] | nu | Eddy viscosity |
[in] | kh | Eddy diffusivity |
[in] | ddens_ | Density perturbation |
[in] | momx_ | Momentum in x1 direction |
[in] | momy_ | Momentum in x2 direction |
[in] | momz_ | Momentum in x3 direction |
[in] | drhot_ | Density x potential temperature perturbation |
[in] | dens_hyd | Reference pressure in hydrostatic balance |
[in] | pres_hyd | Reference density in hydrostatic balance |
[in] | pres_ | Pressure |
[in] | pt_ | Potential temperature |
[in] | dz | Differential matrix managed by sparse matrix type |
[in] | sz | Stiffness matrix managed by sparse matrix type |
[in] | lift | Lifting matrix managed by sparse matrix type |
[in] | is_bound | Flag whether nodes are located at domain boundaries |
Definition at line 795 of file scale_atm_phy_tb_dgm_globalsmg.F90.
subroutine, public scale_atm_phy_tb_dgm_globalsmg::atm_phy_tb_dgm_globalsmg_cal_tend_qtrc | ( | real(rp), dimension(elem%np,lmesh%nea), intent(out) | rhoq_t, |
real(rp), dimension(elem%np,lmesh%nea), intent(in) | dfq1, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | dfq2, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | dfq3, | ||
real(rp), dimension (elem%np,lmesh%nea), intent(in) | kh, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | ddens_, | ||
real(rp), dimension(elem%np,lmesh%nea), intent(in) | dens_hyd, | ||
type(sparsemat), intent(in) | dx, | ||
type(sparsemat), intent(in) | dy, | ||
type(sparsemat), intent(in) | dz, | ||
type(sparsemat), intent(in) | sx, | ||
type(sparsemat), intent(in) | sy, | ||
type(sparsemat), intent(in) | sz, | ||
type(sparsemat), intent(in) | lift, | ||
class(localmesh3d), intent(in) | lmesh, | ||
class(elementbase3d), intent(in) | elem, | ||
class(localmesh2d), intent(in) | lmesh2d, | ||
class(elementbase2d), intent(in) | elem2d, | ||
logical, dimension(elem%nfptot,lmesh%ne), intent(in) | is_bound ) |
Calculate tendecies of tracer density with turbulent model.
[out] | rhoq_t | Tendency of tracer mass fraction |
[in] | dfq1 | Diffusive mass flux in x1 direction / density (Kh dq/dx1) |
[in] | dfq2 | Diffusive mass flux in x2 direction / density (Kh dq/dx2) |
[in] | dfq3 | Diffusive mass flux in x3 direction / density (Kh dq/dx3) |
[in] | kh | Eddy diffusivity |
[in] | ddens_ | Density perturbation |
[in] | dens_hyd | Reference pressure in hydrostatic state |
[in] | dz | Differential matrix managed by sparse matrix type |
[in] | sz | Stiffness matrix managed by sparse matrix type |
[in] | lift | Lifting matrix managed by sparse matrix type |
[in] | is_bound | Flag whether nodes are located at domain boundaries |
Definition at line 948 of file scale_atm_phy_tb_dgm_globalsmg.F90.