Changeset 124
- Timestamp:
- Oct 19, 2007 3:47:46 PM (17 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r121 r124 25 25 ------ 26 26 27 Several bugfixes in the ocean part: Initial density rho is calculated 28 (init_ocean). Error in initializing u_init and v_init removed 29 (check_parameters). Calculation of density flux now starts from 30 nzb+1 (production_e). 31 27 32 Bugfix: pleft/pright changed to pnorth/psouth in sendrecv of particle tail 28 33 numbers along y, small bugfixes in the SGS part (advec_particles) … … 30 35 Bugfix: model_string needed a default value (combine_plot_fields) 31 36 32 Bugfix: initializing u_init and v_init in case of ocean runs (check_parameters)33 37 34 advec_particles, check_parameters, combine_plot_fields 38 advec_particles, check_parameters, combine_plot_fields, init_ocean, production_e -
palm/trunk/SOURCE/init_ocean.f90
r98 r124 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! Bugfix: Initial density rho is calculated 7 7 ! 8 8 ! Former revisions: … … 73 73 prho_reference = prho_reference / ( zu(nzt) - zu(nzb) ) 74 74 75 ! 76 !-- Calculate the initial potential density, based on the initial 77 !-- temperature and salinity profile 78 CALL eqn_state_seawater 79 75 80 76 81 END SUBROUTINE init_ocean -
palm/trunk/SOURCE/production_e.f90
r110 r124 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! Bugfix: calculation of density flux in the ocean now starts from nzb+1 7 7 ! 8 8 ! Former revisions: … … 382 382 !-- the bottom and top surface layer 383 383 DO j = nys, nyn 384 DO k = nzb_s_inner(j,i) , nzt384 DO k = nzb_s_inner(j,i)+1, nzt 385 385 tend(k,j,i) = tend(k,j,i) + & 386 386 kh(k,j,i) * g / prho_reference * & … … 419 419 !-- the bottom and top surface layer 420 420 DO j = nys, nyn 421 DO k = nzb_s_inner(j,i) , nzt421 DO k = nzb_s_inner(j,i)+1, nzt 422 422 tend(k,j,i) = tend(k,j,i) - & 423 423 kh(k,j,i) * g / rho(k,j,i) * & … … 814 814 !-- So far in the ocean no special treatment of density flux in the 815 815 !-- bottom and top surface layer 816 k= nzb_s_inner(j,i)817 tend(k,j,i) = tend(k,j,i) + kh(k,j,i) * g / prho_reference * &818 ( rho(k+1,j,i) - rho(k,j,i) ) * dzu(k+1)819 816 DO k = nzb_s_inner(j,i)+1, nzt 820 817 tend(k,j,i) = tend(k,j,i) + kh(k,j,i) * g / prho_reference * & … … 847 844 !-- So far in the ocean no special treatment of density flux in the 848 845 !-- bottom and top surface layer 849 DO k = nzb_s_inner(j,i) , nzt846 DO k = nzb_s_inner(j,i)+1, nzt 850 847 tend(k,j,i) = tend(k,j,i) + kh(k,j,i) * g / rho(k,j,i) * & 851 848 ( rho(k+1,j,i) - rho(k-1,j,i) ) * dd2zu(k)
Note: See TracChangeset
for help on using the changeset viewer.