Changeset 107 for palm/trunk/SOURCE
- Timestamp:
- Aug 17, 2007 1:54:45 PM (17 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r106 r107 17 17 Quantities w*p* and w"e can be output as vertical profiles. 18 18 19 boundary_conds, check_open, check_parameters, diffusion_u, diffusion_v, flow_statistics, header, init_pegrid, init_3d_model, modules, palm, parin, pres, prognostic_equations, read_var_list, read_3d_binary, swap_timelevel, time_integration, write_var_list, write_3d_binary 19 Initial profiles are reset to constant profiles in case that initializing_actions /= 'set_constant_profiles'. (init_rankine) 20 21 boundary_conds, check_open, check_parameters, diffusion_u, diffusion_v, flow_statistics, header, init_pegrid, init_rankine, init_3d_model, modules, palm, parin, pres, prognostic_equations, read_var_list, read_3d_binary, swap_timelevel, time_integration, write_var_list, write_3d_binary 20 22 21 23 New: -
palm/trunk/SOURCE/boundary_conds.f90
r106 r107 285 285 ( u(k,-1,i) - u(k,0,i) ) * ddy 286 286 287 v_p(k, -1,i) = v(k,-1,i)- dt_3d * tsc(2) * c_v(k,i) * &287 v_p(k,0,i) = v(k,0,i) - dt_3d * tsc(2) * c_v(k,i) * & 288 288 ( v(k,0,i) - v(k,1,i) ) * ddy 289 289 … … 433 433 IF ( denom /= 0.0 ) THEN 434 434 c_u(k,j) = -c_max * ( u(k,j,1) - u_m_l(k,j,1) ) / denom 435 IF ( c_u(k,j) >0.0 ) THEN435 IF ( c_u(k,j) < 0.0 ) THEN 436 436 c_u(k,j) = 0.0 437 ELSEIF ( c_u(k,j) < -c_max ) THEN438 c_u(k,j) = -c_max439 ENDIF 440 ELSE 441 c_u(k,j) = -c_max437 ELSEIF ( c_u(k,j) > c_max ) THEN 438 c_u(k,j) = c_max 439 ENDIF 440 ELSE 441 c_u(k,j) = c_max 442 442 ENDIF 443 443 -
palm/trunk/SOURCE/init_rankine.f90
r77 r107 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! Initial profiles are reset to constant profiles 7 7 ! 8 8 ! Former revisions: … … 48 48 kc1 = nzb 49 49 kc2 = nzt+1 50 51 ! 52 !-- Reset initial profiles to constant profiles 53 IF ( INDEX(initializing_actions, 'set_constant_profiles') /= 0 ) THEN 54 DO i = nxl-1, nxr+1 55 DO j = nys-1, nyn+1 56 pt(:,j,i) = pt_init 57 u(:,j,i) = u_init 58 v(:,j,i) = v_init 59 ENDDO 60 ENDDO 61 ENDIF 50 62 51 63 !
Note: See TracChangeset
for help on using the changeset viewer.