Ignore:
Timestamp:
Oct 19, 2017 3:36:10 PM (7 years ago)
Author:
Giersch
Message:

Restart runs with the usage of the wind turbine model are possible now. Further small at reading/writing restart data

File:
1 edited

Legend:

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

    r2372 r2563  
    2525! -----------------
    2626! $Id$
     27! CALL stg_read_restart_data moved to synthetic_turbulence_generator_mod and
     28! CALL flight_read_restart_data moved to virtual_flights_mod. Furthermore
     29! *** end default *** marks the end of the standard parameter list of restart
     30! files and *** end *** marks the end of all parameter including module
     31! parameter. Therefore the call of flight_skip_var_list becomes unnecessary.
     32!
     33! 2372 2017-08-25 12:37:32Z sward
    2734! y_shift added to vars, version no. increased
    2835!
     
    220227    USE control_parameters
    221228
    222     USE flight_mod,                                                            &
    223         ONLY:  flight_read_restart_data
    224 
    225229    USE grid_variables,                                                        &
    226230        ONLY:  dx, dy
     
    255259               v_max, v_max_ijk, w_max, w_max_ijk
    256260
    257     USE synthetic_turbulence_generator_mod,                                    &
    258         ONLY:  stg_read_restart_data
    259 
    260261    USE vertical_nesting_mod,                                                  &
    261262        ONLY:  vnest_init
     
    272273!-- Make version number check first
    273274    READ ( 13 )  version_on_file
    274     binary_version = '4.2'
     275    binary_version = '4.3'
    275276    IF ( TRIM( version_on_file ) /= TRIM( binary_version ) )  THEN
    276277       WRITE( message_string, * ) 'version mismatch concerning control ', &
     
    349350!--          increased. The same changes must also be done in write_var_list.
    350351    READ ( 13 )  variable_chr
    351     DO  WHILE ( TRIM( variable_chr ) /= '*** end ***' )
     352    DO  WHILE ( TRIM( variable_chr ) /= '*** end default ***' )
    352353
    353354       SELECT CASE ( TRIM( variable_chr ) )
     
    842843    ENDDO
    843844
    844     IF ( virtual_flight )  CALL flight_read_restart_data
    845 
    846     IF ( synthetic_turbulence_generator )  CALL stg_read_restart_data
    847845
    848846 END SUBROUTINE read_var_list
     
    984982    READ ( 13 )  variable_chr
    985983
    986     DO  WHILE ( TRIM( variable_chr ) /= '*** end ***' )
     984    DO  WHILE ( TRIM( variable_chr ) /= '*** end default ***' )
    987985
    988986       SELECT CASE ( TRIM( variable_chr ) )
     
    10721070 SUBROUTINE skip_var_list
    10731071
    1074     USE control_parameters,                                                    &
    1075         ONLY:  virtual_flight
    1076 
    1077     USE flight_mod,                                                            &
    1078         ONLY:  flight_skip_var_list
    10791072
    10801073    IMPLICIT NONE
     
    10961089
    10971090    ENDDO
    1098 !
    1099 !-- In case of virtual flights, skip also variables related to
    1100 !-- this module.
    1101     IF ( virtual_flight )  CALL flight_skip_var_list
    11021091
    11031092
Note: See TracChangeset for help on using the changeset viewer.