11#include "scaleFElib.h"
22 use scale_const,
only: &
25 rplanet => const_radius, &
28 cpdry => const_cpdry, &
29 cvdry => const_cvdry, &
30 pres00 => const_pre00, &
75 character(len=H_SHORT) :: initname =
'NONE'
77 namelist / param_mkinit / &
84 log_info(
"MKINIT_setup",*)
'Setup'
88 read(io_fid_conf,nml=param_mkinit,iostat=ierr)
90 log_info(
"MKINIT_setup",*)
'Not found namelist. Default used.'
91 elseif( ierr > 0 )
then
92 log_error(
"MKINIT_setup",*)
'Not appropriate names in namelist PARAM_MKINIT. Check!'
97 select case(trim(initname))
109 atm_prgvars_manager, atm_auxvars_manager, atm_trcvars_manager )
114 atmosvars_getlocalmeshprgvars
118 logical,
intent(out) :: output
119 class(
atmosmesh),
target,
intent(in) :: model_mesh
136 mesh => model_mesh%ptr_mesh
140 log_progress(*)
'skip making initial data'
144 log_progress(*)
'start making initial data'
148 do n=1, mesh%LOCAL_MESH_NUM
149 call atmosvars_getlocalmeshprgvars( n, &
150 mesh, atm_prgvars_manager, atm_auxvars_manager, &
151 ddens, momx, momy, momz, drhot, &
152 dens_hyd, pres_hyd, rtot, cvtot, cptot, &
156 np = lcmesh3d%refElem%Np
159 do ke=lcmesh3d%NeS, lcmesh3d%NeE
162 momx %val(p,ke) = 0.0_rp
163 momy %val(p,ke) = 0.0_rp
164 momz %val(p,ke) = 0.0_rp
165 ddens%val(p,ke) = 0.0_rp
166 drhot%val(p,ke) = 0.0_rp
168 cptot%val(p,ke) = cpdry
169 cvtot%val(p,ke) = cvdry
170 rtot%val(p,ke) = rdry
module Atmosphere component
module Atmosphere / Variables
subroutine, public mkinit_setup
Setup.
subroutine, public mkinit(output, model_mesh, atm_prgvars_manager, atm_auxvars_manager, atm_trcvars_manager)
Driver.
integer, public mkinit_type
module FElib / Fluid dyn solver / Atmosphere / Common
module FElib / Element / Base
module FElib / Element / hexahedron
module FElib / Mesh / Local 3D
module FElib / Data / base
module FElib / Mesh / Base 3D
FElib / model framework / variable manager.
Derived type to manage atmospheric component.
Derived type to manage a computational mesh (base class)
Derived type representing a 3D reference element.
Derived type representing a hexahedral element.
Derived type to manage a local 3D computational domain.
Derived type representing a field with local mesh (base type)
Derived type to manage a computational mesh (base type for 3D domain)