Ignore:
Timestamp:
Dec 2, 2014 5:25:50 PM (9 years ago)
Author:
maronga
Message:

added beta version of a land surface model and a simple radiation model for clear sky conditions

File:
1 edited

Legend:

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

    r1403 r1496  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! Added calls for the land surface model and radiation scheme
    2323!
    2424! Former revisions:
     
    177177               time_dopr_listing, time_dopts, time_dosp, time_dosp_av,         &
    178178               time_dots, time_do_av, time_do_sla, time_disturb, time_dvrp,    &
    179                time_run_control, time_since_reference_point, turbulence,       &
     179               time_run_control, time_since_reference_point,                   &
     180               turbulence,                                                     &
    180181               turbulent_inflow, use_initial_profile_as_reference,             &
    181182               use_single_reference_value, u_gtrans, v_gtrans, ws_scheme_mom,  &
     
    194195    USE kinds
    195196
     197    USE land_surface_model_mod,                                                &
     198        ONLY:  land_surface, lsm_energy_balance, lsm_soil_model
     199
    196200    USE ls_forcing_mod,                                                        &
    197201        ONLY:  ls_forcing_surf, ls_forcing_vert
     
    214218        ONLY:  prognostic_equations_acc, prognostic_equations_cache,           &
    215219               prognostic_equations_vector
     220
     221    USE radiation_model_mod,                                                   &
     222        ONLY: dt_radiation, lsm_radiation, radiation, time_radiation
    216223
    217224    USE statistics,                                                            &
     
    577584!--       velocities at the outflow in case of a non-cyclic lateral wall)
    578585          CALL boundary_conds
     586
     587!
     588!--       When using the land surface model:
     589!--       1) solve energy balance equation to calculate new skin temperature
     590!--       2) run soil model
     591          IF ( land_surface )  THEN
     592
     593             time_radiation = time_radiation + dt_3d
     594
     595             IF ( time_radiation >= dt_radiation )  THEN
     596
     597                CALL cpu_log( log_point(50), 'radiation', 'start' )
     598
     599                time_radiation = time_radiation - dt_radiation
     600                CALL lsm_radiation
     601
     602                CALL cpu_log( log_point(50), 'radiation', 'stop' )
     603             ENDIF
     604
     605             CALL cpu_log( log_point(54), 'land_surface', 'start' )
     606
     607             CALL lsm_energy_balance
     608             CALL lsm_soil_model
     609
     610             CALL cpu_log( log_point(54), 'land_surface', 'stop' )
     611
     612          ENDIF
    579613
    580614!
Note: See TracChangeset for help on using the changeset viewer.