Changeset 1380 for palm/trunk/SOURCE/time_integration.f90
- Timestamp:
- Apr 28, 2014 12:40:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_integration.f90
r1366 r1380 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! CALL of nudge_ref added 23 ! bc_pt_t_val and bc_q_t_val are updated in case nudging is used 23 24 ! 24 25 ! Former revisions: … … 131 132 132 133 USE arrays_3d, & 133 ONLY: diss, e_p, nr_p, prho, pt, pt_p, q, ql, ql_c, ql_v, ql_vp, qr_p,& 134 q_p, ref_state, rho, sa_p, tend, u, u_p, v, vpt, v_p, w_p 134 ONLY: diss, dzu, e_p, nr_p, prho, pt, pt_p, pt_init, q_init, q, ql, & 135 ql_c, ql_v, ql_vp, qr_p, q_p, ref_state, rho, sa_p, tend, u, & 136 u_p, v, vpt, v_p, w_p 135 137 136 138 USE calc_mean_profile_mod, & … … 140 142 ONLY: advected_distance_x, advected_distance_y, average_count_3d, & 141 143 average_count_sp, averaging_interval, averaging_interval_pr, & 142 averaging_interval_sp, bc_lr_cyc, bc_ns_cyc, 143 call_psolver_at_all_substeps, cloud_droplets, cloud_physics,&144 c onstant_heatflux, create_disturbances, dopr_n,&144 averaging_interval_sp, bc_lr_cyc, bc_ns_cyc, bc_pt_t_val, & 145 bc_q_t_val, call_psolver_at_all_substeps, cloud_droplets, & 146 cloud_physics, constant_heatflux, create_disturbances, dopr_n, & 145 147 constant_diffusion, coupling_mode, coupling_start_time, & 146 148 current_timestep_number, disturbance_created, & … … 176 178 USE indices, & 177 179 ONLY: i_left, i_right, j_north, j_south, nbgp, nx, nxl, nxlg, nxr, & 178 nxrg, nyn, nys, nzb, nz b_u_inner, nzb_v_inner180 nxrg, nyn, nys, nzb, nzt, nzb_u_inner, nzb_v_inner 179 181 180 182 USE interaction_droplets_ptq_mod, & … … 187 189 188 190 USE nudge_mod, & 189 ONLY: calc_tnudge 191 ONLY: calc_tnudge, nudge_ref 190 192 191 193 USE particle_attributes, & … … 267 269 268 270 ! 271 !-- Set pt_init and q_init to the current profiles taken from 272 !-- NUDGING_DATA 273 IF ( nudging ) THEN 274 CALL nudge_ref ( simulated_time ) 275 ! 276 !-- Store temperature gradient at the top boundary for possible Neumann 277 !-- boundary condition 278 bc_pt_t_val = ( pt_init(nzt+1) - pt_init(nzt) ) / dzu(nzt+1) 279 bc_q_t_val = ( q_init(nzt+1) - q_init(nzt) ) / dzu(nzt+1) 280 ENDIF 281 282 ! 269 283 !-- Execute the user-defined actions 270 284 CALL user_actions( 'before_timestep' ) … … 312 326 ! 313 327 !-- In case of nudging calculate current nudging time scale and horizontal 314 !-- means of u, v,pt and q328 !-- means of u, v, pt and q 315 329 IF ( nudging ) THEN 316 330 CALL calc_tnudge( simulated_time )
Note: See TracChangeset
for help on using the changeset viewer.