Changeset 3182 for palm/trunk/SOURCE/parin.f90
- Timestamp:
- Jul 27, 2018 1:36:03 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/parin.f90
r3159 r3182 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Rename variables and boundary conditions in mesoscale-offline nesting mode 23 23 ! 24 24 ! Former revisions: … … 529 529 dz_stretch_factor, dz_stretch_level, dz_stretch_level_start, & 530 530 dz_stretch_level_end, end_time_1d, ensemble_member_nr, e_init, & 531 e_min, fft_method, flux_input_mode, flux_output_mode, forcing,&531 e_min, fft_method, flux_input_mode, flux_output_mode, & 532 532 galilei_transformation, humidity, & 533 533 inflow_damping_height, inflow_damping_width, & … … 538 538 loop_optimization, lsf_exception, masking_method, mg_cycles, & 539 539 mg_switch_to_pe0_level, mixing_length_1d, momentum_advec, & 540 most_method, na_init, nc_const, netcdf_precision, neutral, ngsrb, & 540 most_method, na_init, nc_const, nesting_offline, & 541 netcdf_precision, neutral, ngsrb, & 541 542 nsor, nsor_ini, nudging, nx, ny, nz, ocean, omega, omega_sor, & 542 543 outflow_source_plane, passive_scalar, & … … 601 602 dz_stretch_factor, dz_stretch_level, dz_stretch_level_start, & 602 603 dz_stretch_level_end, end_time_1d, ensemble_member_nr, e_init, & 603 e_min, fft_method, flux_input_mode, flux_output_mode, forcing,&604 e_min, fft_method, flux_input_mode, flux_output_mode, & 604 605 galilei_transformation, humidity, & 605 606 inflow_damping_height, inflow_damping_width, & … … 610 611 loop_optimization, lsf_exception, masking_method, mg_cycles, & 611 612 mg_switch_to_pe0_level, mixing_length_1d, momentum_advec, & 612 most_method, na_init, nc_const, netcdf_precision, neutral, ngsrb, & 613 most_method, na_init, nc_const, nesting_offline, & 614 netcdf_precision, neutral, ngsrb, & 613 615 nsor, nsor_ini, nudging, nx, ny, nz, ocean, omega, omega_sor, & 614 616 outflow_source_plane, passive_scalar, & … … 924 926 bc_ns = 'cyclic' 925 927 ENDIF 926 IF ( nest_domain ) THEN928 IF ( child_domain ) THEN 927 929 bc_uv_t = 'nested' 928 930 bc_pt_t = 'nested' … … 936 938 !-- nested domains. 937 939 ELSE 938 IF ( nest_domain ) THEN940 IF ( child_domain ) THEN 939 941 bc_lr = 'nested' 940 942 bc_ns = 'nested' … … 948 950 ENDIF 949 951 ENDIF 950 951 IF ( forcing ) THEN 952 bc_lr = 'forcing' 953 bc_ns = 'forcing' 954 bc_uv_t = 'forcing' 955 bc_pt_t = 'forcing' 956 bc_q_t = 'forcing' 957 bc_s_t = 'forcing' ! scalar boundary condition is not clear 958 bc_cs_t = 'forcing' ! same for chemical species 952 ! 953 !-- Set boundary conditions also in case the model is offline-nested in 954 !-- larger-scale models. 955 IF ( nesting_offline ) THEN 956 bc_lr = 'nesting_offline' 957 bc_ns = 'nesting_offline' 958 bc_uv_t = 'nesting_offline' 959 bc_pt_t = 'nesting_offline' 960 bc_q_t = 'nesting_offline' 961 bc_s_t = 'nesting_offline' ! scalar boundary condition is not clear 962 bc_cs_t = 'nesting_offline' ! same for chemical species 959 963 bc_p_t = 'neumann' 960 964 ENDIF … … 968 972 !-- are set properly. An exception is made in case of restart runs and 969 973 !-- if user decides to do everything by its own. 970 IF ( nest_domain .AND. .NOT. (&974 IF ( child_domain .AND. .NOT. ( & 971 975 TRIM( initializing_actions ) == 'read_restart_data' .OR. & 972 976 TRIM( initializing_actions ) == 'set_constant_profiles' .OR. & … … 979 983 980 984 initializing_actions = 'set_constant_profiles' 981 ENDIF 982 985 ENDIF 983 986 ! 984 987 !-- Check validity of lateral boundary conditions. This has to be done … … 987 990 IF ( bc_lr /= 'cyclic' .AND. bc_lr /= 'dirichlet/radiation' .AND. & 988 991 bc_lr /= 'radiation/dirichlet' .AND. bc_lr /= 'nested' .AND. & 989 bc_lr /= ' forcing' ) THEN992 bc_lr /= 'nesting_offline' ) THEN 990 993 message_string = 'unknown boundary condition: bc_lr = "' // & 991 994 TRIM( bc_lr ) // '"' … … 994 997 IF ( bc_ns /= 'cyclic' .AND. bc_ns /= 'dirichlet/radiation' .AND. & 995 998 bc_ns /= 'radiation/dirichlet' .AND. bc_ns /= 'nested' .AND. & 996 bc_ns /= ' forcing' ) THEN999 bc_ns /= 'nesting_offline' ) THEN 997 1000 message_string = 'unknown boundary condition: bc_ns = "' // & 998 1001 TRIM( bc_ns ) // '"'
Note: See TracChangeset
for help on using the changeset viewer.