Changeset 4498 for palm/trunk/SOURCE/user_init_3d_model.f90
- Timestamp:
- Apr 15, 2020 2:26:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/user_init_3d_model.f90
r4360 r4498 1 1 !> @file user_init_3d_model.f90 2 !------------------------------------------------------------------------------ !2 !--------------------------------------------------------------------------------------------------! 3 3 ! This file is part of the PALM model system. 4 4 ! 5 ! PALM is free software: you can redistribute it and/or modify it under the 6 ! terms of the GNU General Public License as published by the Free Software 7 ! Foundation, either version 3 of the License, or (at your option) any later 8 ! version. 5 ! PALM is free software: you can redistribute it and/or modify it under the terms of the GNU General 6 ! Public License as published by the Free Software Foundation, either version 3 of the License, or 7 ! (at your option) any later version. 9 8 ! 10 ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY 11 ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR12 ! A PARTICULAR PURPOSE. See the GNU GeneralPublic License for more details.9 ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the 10 ! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 11 ! Public License for more details. 13 12 ! 14 ! You should have received a copy of the GNU General Public License along with 15 ! PALM. If not, see<http://www.gnu.org/licenses/>.13 ! You should have received a copy of the GNU General Public License along with PALM. If not, see 14 ! <http://www.gnu.org/licenses/>. 16 15 ! 17 16 ! Copyright 1997-2020 Leibniz Universitaet Hannover 18 !------------------------------------------------------------------------------! 17 !--------------------------------------------------------------------------------------------------! 18 ! 19 19 ! 20 20 ! Current revisions: … … 25 25 ! ----------------- 26 26 ! $Id$ 27 ! file re-formatted to follow the PALM coding standard 28 ! 29 ! 30 ! 4360 2020-01-07 11:25:50Z suehring 27 31 ! Corrected "Former revisions" section 28 ! 32 ! 29 33 ! 3768 2019-02-27 14:35:58Z raasch 30 34 ! variables commented out to avoid compiler warnings about unused variables 31 ! 35 ! 32 36 ! 3655 2019-01-07 16:51:22Z knoop 33 37 ! Corrected "Former revisions" section … … 42 46 !> @attention The user is responsible to set at least all those quantities which 43 47 !> are normally set within init_3d_model! 44 !------------------------------------------------------------------------------ !48 !--------------------------------------------------------------------------------------------------! 45 49 SUBROUTINE user_init_3d_model 46 50 47 51 48 52 USE arrays_3d 49 53 50 54 USE control_parameters 51 55 52 56 USE indices 53 57 54 58 USE kinds 55 59 56 60 USE surface_mod 57 61 58 62 USE user 59 63 60 64 IMPLICIT NONE 61 65 62 ! INTEGER(iwp) :: l !< running index surface orientation63 ! INTEGER(iwp) :: m !< running index surface elements66 ! INTEGER(iwp) :: l !< running index surface orientation 67 ! INTEGER(iwp) :: m !< running index surface elements 64 68 65 69 ! 66 70 !-- Initialization of surface-related quantities. 67 !-- The following example shows required initialization of surface quantitites 68 !-- at default-type upward-facing surfaces.71 !-- The following example shows required initialization of surface quantitites at default-type 72 !-- upward-facing surfaces. 69 73 ! DO m = 1, surf_def_h(0)%ns 70 74 ! surf_def_h(0)%ol(m) = ... ! Obukhov length … … 87 91 ! surf_def_h(0)%ssws(m) = ... ! surface latent heat flux 88 92 ! ENDIF 89 ! ENDDO 93 ! ENDDO 90 94 ! 91 95 !-- Same for natural and urban type surfaces 92 96 ! DO m = 1, surf_lsm_h%ns 93 97 ! ... 94 ! ENDDO 98 ! ENDDO 95 99 ! DO m = 1, surf_usm_h%ns 96 100 ! ... 97 101 ! ENDDO 98 102 ! 99 !-- Also care for vertically aligned surfaces (default-, natural-, and 103 !-- Also care for vertically aligned surfaces (default-, natural-, and 100 104 !-- urban-type). 101 105 ! DO l = 0, 3
Note: See TracChangeset
for help on using the changeset viewer.