source: palm/tags/release-3.8/SOURCE/user_init.f90 @ 4343

Last change on this file since 4343 was 668, checked in by suehring, 11 years ago

last commit documented

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1 SUBROUTINE user_init
2
3!------------------------------------------------------------------------------!
4! Current revisions:
5! -----------------
6!
7! Former revisions:
8! -----------------
9! $Id: user_init.f90 668 2010-12-23 13:22:58Z oliver.maas $
10!
11! 667 2010-12-23 12:06:00Z suehring/gryschka
12! nxl-1, nxr+1, nys-1, nyn+1 replaced by nxlg, nxrg, nysg, nyng
13!
14! 211 2008-11-11 04:46:24Z raasch
15! Former file user_interface.f90 split into one file per subroutine
16!
17! Description:
18! ------------
19! Execution of user-defined initializing actions
20!------------------------------------------------------------------------------!
21
22    USE control_parameters
23    USE indices
24    USE netcdf_control
25    USE pegrid
26    USE user
27
28    IMPLICIT NONE
29
30    CHARACTER (LEN=20) :: field_char
31!
32!-- Here the user-defined initializing actions follow:
33!-- Sample for user-defined output
34!    ALLOCATE( u2(nzb:nzt+1,nysg:nyng,nxlg:nxrg) )
35!    ALLOCATE( ustvst(nzb:nzt+1,nysg:nyng,nxlg:nxrg) );  ustvst = 0.0
36
37!-- Sample for user-defined time series
38!-- For each time series quantity you have to give a label and a unit,
39!-- which will be used for the NetCDF file. They must not contain more than
40!-- seven characters. The value of dots_num has to be increased by the
41!-- number of new time series quantities. Its old value has to be store in
42!-- dots_num_palm. See routine user_statistics on how to output calculate
43!-- and output these quantities.
44!    dots_label(dots_num+1) = 'abs_umx'
45!    dots_unit(dots_num+1)  = 'm/s'
46!    dots_label(dots_num+2) = 'abs_vmx'
47!    dots_unit(dots_num+2)  = 'm/s'
48!
49!    dots_num_palm = dots_num
50!    dots_num = dots_num + 2
51
52 END SUBROUTINE user_init
53
Note: See TracBrowser for help on using the repository browser.