Ignore:
Timestamp:
Mar 27, 2018 3:52:42 PM (6 years ago)
Author:
suehring
Message:

Nesting in RANS-LES and RANS-RANS mode enabled; synthetic turbulence generator at all lateral boundaries in nesting or non-cyclic forcing mode; revised Inifor initialization in nesting mode

File:
1 edited

Legend:

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

    r2934 r2938  
    2525! -----------------
    2626! $Id$
     27! Nesting of dissipation rate in case of RANS mode and TKE-e closure is applied
     28!
     29! 2936 2018-03-27 14:49:27Z suehring
    2730! Little formatting adjustment.
    2831!
     
    358361               microphysics_morrison, microphysics_seifert, mid, nest_domain,  &
    359362               neutral, nr_timesteps_this_run, nudging,                        &
    360                ocean, passive_scalar,                                          &
    361                prho_reference, pt_reference, pt_slope_offset, random_heatflux, &
     363               ocean, passive_scalar, prho_reference, pt_reference,            &
     364               pt_slope_offset, random_heatflux, rans_mode,                    &
    362365               rans_tke_e, run_coupled, simulated_time, simulated_time_chr,    &
    363366               skip_time_do2d_xy, skip_time_do2d_xz, skip_time_do2d_yz,        &
     
    782785                IF ( .NOT. constant_diffusion )  CALL exchange_horiz( e, nbgp )
    783786
     787                IF ( .NOT. constant_diffusion  .AND.  rans_mode  .AND.         &
     788                                                      rans_tke_e )             &
     789                   CALL exchange_horiz( diss, nbgp )
     790
    784791                IF ( air_chemistry )  THEN
    785792                   DO  n = 1, nspec     
     
    820827!
    821828!--       Impose a turbulent inflow using synthetic generated turbulence
    822           IF ( use_syn_turb_gen ) THEN
    823              CALL  stg_main
    824           ENDIF
     829          IF ( use_syn_turb_gen )  CALL  stg_main
    825830
    826831!
     
    862867                               intermediate_timestep_count_max  )  THEN
    863868             CALL forcing_bc
    864           ENDIF
    865 !
    866 !--       Moreover, ensure mass conservation at each RK substep.
    867           IF ( forcing )  CALL forcing_bc_mass_conservation
     869!
     870!--          Moreover, ensure mass conservation
     871             CALL forcing_bc_mass_conservation
     872          ENDIF
    868873
    869874!
Note: See TracChangeset for help on using the changeset viewer.