Changeset 151 for palm/trunk/SOURCE/check_parameters.f90
- Timestamp:
- Mar 7, 2008 1:42:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r147 r151 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Case of reading data for recycling included in initializing_actions 6 ! Case of reading data for recycling included in initializing_actions, 7 ! check of turbulent_inflow and calculation of recycling_plane 7 8 ! 8 9 ! Former revisions: … … 2981 2982 2982 2983 ! 2984 !-- A turbulent inflow requires Dirichlet conditions at the respective inflow 2985 !-- boundary (so far, a turbulent inflow is realized from the left side only) 2986 IF ( turbulent_inflow .AND. bc_lr /= 'dirichlet/radiation' ) THEN 2987 IF ( myid == 0 ) THEN 2988 PRINT*, '+++ check_parameters:' 2989 PRINT*, ' turbulent_inflow = .T. requires a Dirichlet condition', & 2990 ' at the inflow boundary' 2991 ENDIF 2992 CALL local_stop 2993 ENDIF 2994 2995 ! 2996 !-- In case of turbulent inflow calculate the index of the recycling plane 2997 IF ( turbulent_inflow ) THEN 2998 IF ( recycling_width == 9999999.9 ) THEN 2999 ! 3000 !-- Set the default value for the width of the recycling domain 3001 recycling_width = 0.1 * nx * dx 3002 ELSE 3003 IF ( recycling_width < dx .OR. recycling_width > nx * dx ) THEN 3004 IF ( myid == 0 ) THEN 3005 PRINT*, '+++ check_parameters:' 3006 PRINT*, ' illegal value for recycling_width: ', & 3007 recycling_width 3008 ENDIF 3009 CALL local_stop 3010 ENDIF 3011 ENDIF 3012 ! 3013 !-- Calculate the index 3014 recycling_plane = recycling_width / dx 3015 ENDIF 3016 3017 ! 2983 3018 !-- Check random generator 2984 3019 IF ( random_generator /= 'system-specific' .AND. &
Note: See TracChangeset
for help on using the changeset viewer.