Ignore:
Timestamp:
Nov 29, 2011 3:11:20 AM (13 years ago)
Author:
raasch
Message:

Bugfix for output of mean particle radius + preliminary works for implementing the Wang collision kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/diffusion_e.f90

    r668 r790  
    44! Current revisions:
    55! -----------------
     6! diss is also calculated in case that the Wang kernel is used
    67!
    78! Former revisions:
     
    160161!--          Store dissipation if needed for calculating the sgs particle
    161162!--          velocities
    162              IF ( use_sgs_for_particles )  THEN
     163             IF ( use_sgs_for_particles  .OR.  wang_collision_kernel )  THEN
    163164                DO  j = nys, nyn
    164165                   DO  k = nzb_s_inner(j,i)+1, nzt
     
    250251!--          Store dissipation if needed for calculating the sgs particle
    251252!--          velocities
    252              IF ( use_sgs_for_particles )  THEN
     253             IF ( use_sgs_for_particles  .OR.  wang_collision_kernel )  THEN
    253254                DO  j = nys, nyn
    254255                   DO  k = nzb_s_inner(j,i)+1, nzt
     
    264265!
    265266!--    Boundary condition for dissipation
    266        IF ( use_sgs_for_particles )  THEN
     267       IF ( use_sgs_for_particles  .OR.  wang_collision_kernel )  THEN
    267268          DO  i = nxl, nxr
    268269             DO  j = nys, nyn
     
    368369!
    369370!--    Store dissipation if needed for calculating the sgs particle velocities
    370        IF ( use_sgs_for_particles )  THEN
     371       IF ( use_sgs_for_particles  .OR.  wang_collision_kernel )  THEN
    371372          DO  k = nzb_s_inner(j,i)+1, nzt
    372373             diss(k,j,i) = dissipation(k)
Note: See TracChangeset for help on using the changeset viewer.