My Project
programmer's documentation
Functions/Subroutines
cs_user_atmospheric_model.f90 File Reference

User subroutines dedicated to the atmospheric model. More...

Functions/Subroutines

subroutine usatdv (imode)
 Atmospheric module subroutine. More...
 
subroutine usatsoil (iappel)
 Data entry for the atmospheric ground model. Define the different values which can be taken by iappel. More...
 
subroutine cs_user_atmo_1d_rad_prf (preray, temray, romray, qvray, qlray, ncray, aeroso)
 Fill in vertical profiles of atmospheric properties prior to solve 1D radiative transfers. Altitudes (zvert array) are defined in usatd. More...
 
subroutine cs_user_atmo_soil (temp, qv, rom, dt, rcodcl)
 Compute ground level variables. More...
 

Detailed Description

User subroutines dedicated to the atmospheric model.

See Atmospheric model (cs_user_atmospheric_model.f90) for examples.

Function/Subroutine Documentation

◆ cs_user_atmo_1d_rad_prf()

subroutine cs_user_atmo_1d_rad_prf ( double precision, dimension(kmx)  preray,
double precision, dimension(kmx)  temray,
double precision, dimension(kmx)  romray,
double precision, dimension(kmx)  qvray,
double precision, dimension(kmx)  qlray,
double precision, dimension(kmx)  ncray,
double precision, dimension(kmx)  aeroso 
)

Fill in vertical profiles of atmospheric properties prior to solve 1D radiative transfers. Altitudes (zvert array) are defined in usatd.

Parameters
[in,out]preraypressure vertical profile
[in,out]temrayreal temperature vertical profile
[in,out]romraydensity vertical profile
[in,out]qvraywater vapor content vertical profile
[in,out]qlraywater liquid content vertical profile
[in,out]ncraydroplets density vertical profile
[in,out]aerosoaerosol concentration vertical profile

◆ cs_user_atmo_soil()

subroutine cs_user_atmo_soil ( double precision, dimension(ncelet)  temp,
double precision, dimension(ncelet)  qv,
double precision, dimension(ncelet)  rom,
double precision, dimension(ncelet)  dt,
double precision, dimension(nfabor,nvar,3)  rcodcl 
)

Compute ground level variables.

Parameters
[in]

◆ usatdv()

subroutine usatdv ( integer  imode)

Atmospheric module subroutine.

User definition of the vertical 1D arrays User initialization of corresponding 1D ground model

Parameters
[in]imodenumber of calls of usatdv

◆ usatsoil()

subroutine usatsoil ( integer  iappel)

Data entry for the atmospheric ground model. Define the different values which can be taken by iappel.

Parameters
[in]iappelComputation of the cells number where we impose a ground Model if iappel=1. users may defined the ground face composition if iappel=2. Warning : be coherent with the dimension of the array pourcent_sol Warning: tt's also possible to modify the tab_sol array of the ground type constants