Changeset 103 for palm/trunk/SOURCE


Ignore:
Timestamp:
Jul 30, 2007 10:49:46 AM (17 years ago)
Author:
raasch
Message:

further preliminary changes concerning coupling

Location:
palm/trunk/SOURCE
Files:
5 edited

Legend:

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

    r102 r103  
    10831083    IF ( surface_heatflux == 9999999.9 )  constant_heatflux     = .FALSE.
    10841084    IF ( top_heatflux     == 9999999.9 )  constant_top_heatflux = .FALSE.
     1085    IF ( top_momentumflux_u /= 9999999.9  .AND.  &
     1086         top_momentumflux_v /= 9999999.9 )  THEN
     1087       constant_top_momentumflux = .TRUE.
     1088    ELSEIF (  .NOT. ( top_momentumflux_u == 9999999.9  .AND.  &
     1089           top_momentumflux_v == 9999999.9 ) )  THEN   
     1090       IF ( myid == 0 )  THEN
     1091          PRINT*, '+++ check_parameters:'
     1092          PRINT*, '    both, top_momentumflux_u AND top_momentumflux_v'
     1093          PRINT*, '    must be set'
     1094       ENDIF
     1095       CALL local_stop
     1096    ENDIF
    10851097
    10861098!
  • palm/trunk/SOURCE/diffusion_u.f90

    r102 r103  
    204204!--          Vertical diffusion at the first gridpoint below the top boundary,
    205205!--          if the momentum flux at the top is prescribed by the user
    206              IF ( use_top_fluxes )  THEN
     206             IF ( use_top_fluxes  .AND.  constant_top_momentumflux )  THEN
    207207                k = nzt
    208208!
     
    368368!--    Vertical diffusion at the first gridpoint below the top boundary,
    369369!--    if the momentum flux at the top is prescribed by the user
    370        IF ( use_top_fluxes )  THEN
     370       IF ( use_top_fluxes  .AND.  constant_top_momentumflux )  THEN
    371371          k = nzt
    372372!
  • palm/trunk/SOURCE/diffusion_v.f90

    r102 r103  
    202202!--          Vertical diffusion at the first gridpoint below the top boundary,
    203203!--          if the momentum flux at the top is prescribed by the user
    204              IF ( use_top_fluxes )  THEN
     204             IF ( use_top_fluxes  .AND.  constant_top_momentumflux )  THEN
    205205                k = nzt
    206206!
     
    367367!--    Vertical diffusion at the first gridpoint below the top boundary,
    368368!--    if the momentum flux at the top is prescribed by the user
    369        IF ( use_top_fluxes )  THEN
     369       IF ( use_top_fluxes  .AND.  constant_top_momentumflux )  THEN
    370370          k = nzt
    371371!
  • palm/trunk/SOURCE/header.f90

    r102 r103  
    55! -----------------
    66! Output of informations for coupled model runs (boundary conditions etc.)
     7! + output of momentumfluxes at the top boundary
    78!
    89! Former revisions:
     
    462463       WRITE ( io, 304 )
    463464       IF ( coupling_mode == 'uncoupled' )  THEN
     465          WRITE ( io, 319 )  top_momentumflux_u, top_momentumflux_v
    464466          IF ( constant_top_heatflux )  THEN
    465467             WRITE ( io, 306 )  top_heatflux
     
    13491351318 FORMAT (/'       outflow damping layer width: ',I3,' gridpoints with km_', &
    13501352                    'max =',F5.1,' m**2/s')
     1353319 FORMAT ('       Predefined constant momentumflux:  u: ',F9.6,' m**2/s**2'/ &
     1354            '                                          v: ',F9.6,' m**2/s**2')
    13511355320 FORMAT (//' List output:'/ &
    13521356             ' -----------'//  &
  • palm/trunk/SOURCE/modules.f90

    r102 r103  
    55! Actual revisions:
    66! -----------------
    7 ! +comm_inter, coupling_char, coupling_mode, dt_coupling, ngp_xy, port_name,
    8 ! time_coupling, type_xy, uswst*, vswst*
     7! +comm_inter, constant_top_momentumflux, coupling_char, coupling_mode,
     8! dt_coupling, ngp_xy, port_name, time_coupling, top_momentumflux_u|v,
     9! type_xy, uswst*, vswst*
    910!
    1011! Former revisions:
     
    311312                conserve_volume_flow = .FALSE., constant_diffusion = .FALSE., &
    312313                constant_heatflux = .TRUE., constant_top_heatflux = .TRUE., &
     314                constant_top_momentumflux = .FALSE., &
    313315                constant_top_salinityflux = .TRUE., &
    314316                constant_waterflux = .TRUE., create_disturbances = .TRUE., &
     
    396398             time_do_sla = 0.0, time_dvrp = 0.0, time_prel = 0.0, &
    397399             time_restart = 9999999.9, time_run_control = 0.0, &
    398              top_heatflux = 9999999.9, top_momentumflux_u = 0.0, &
    399              top_momentumflux_v = 0.0, top_salinityflux = 9999999.9, &
     400             top_heatflux = 9999999.9, top_momentumflux_u = 9999999.9, &
     401             top_momentumflux_v = 9999999.9, top_salinityflux = 9999999.9, &
    400402             ug_surface = 0.0, u_gtrans = 0.0, &
    401403             ups_limit_e = 0.0, ups_limit_pt = 0.0, ups_limit_u = 0.0, &
Note: See TracChangeset for help on using the changeset viewer.