8.2
general documentation
Input of calculation parameters (Fortran subroutines in cs_user_parameters.f90)

Introduction

User subroutines for input of calculation parameters (Fortran modules). These subroutines are called in all cases.

Several routines are present in the file, each destined to define specific parameters.

To modify the default value of parameters which do not appear in the examples provided, code should be placed as follows:

Calculation options for the atmospheric module (usipsu)

In the following example, options for the atmospheric module are set:

! -----------------------------------------------------------------------------
! Atmospheric imbrication on large scale meteo (atimbr module)
! -----------------------------------------------------------------------------
!
! --------------------------------------------------------------
! activation flag
! --------------------------------------------------------------
imbrication_flag = .false.
imbrication_verbose = .false.
! ------------------------------------------------------------------------------
! flags for activating the cressman interpolation for the boundary conditions
! ------------------------------------------------------------------------------
cressman_u = .true.
cressman_v = .true.
cressman_tke = .true.
cressman_eps = .true.
cressman_theta = .true.
cressman_qw = .true.
cressman_nc = .true.
! --------------------------------------------------------------
! numerical parameters for the cressman interpolation formulas
! --------------------------------------------------------------
horizontal_influence_radius = 8500.d0
vertical_influence_radius = 100.d0
! --------------------------------------------------------------
! dtchemmax: maximal time step (s) for chemistry resolution
dtchemmax = 10.0d0