User subroutine for the atmospheric model.
imode corresponds to the number of calls of the usatdv function. Depending on the value of imode , different operations are performed in the following example.
To activate the model, the user has to set the and to specify the zone id on which the soil model is applied in cs_user_parameters.c, routine cs_user_model:
Then the user may change default coefficient values for soil categories in cs_user_parameters.f90, routine usipsu
The user has to specify the percentage of each categories for all faces of the soil zone in cs_user_initialization.c: