Ignore:
Timestamp:
Feb 1, 2008 12:41:46 PM (16 years ago)
Author:
raasch
Message:

further updates for turbulent inflow: reading input data of a precursor run using a smaller total domain is working

File:
1 edited

Legend:

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

    r146 r147  
    88! -----------------
    99! Allocation of hom_sum moved to parin, initialization of spectrum_x|y directly
    10 ! after allocating theses arrays
     10! after allocating theses arrays,
     11! read data for recycling added as new initialization option
    1112!
    1213! Former revisions:
     
    366367!
    367368!-- Initialize model variables
    368     IF ( TRIM( initializing_actions ) /= 'read_restart_data' )  THEN
     369    IF ( TRIM( initializing_actions ) /= 'read_restart_data'  .AND.  &
     370         TRIM( initializing_actions ) /= 'read_data_for_recycling' )  THEN
    369371!
    370372!--    First model run of a possible job queue.
     
    907909       ENDIF
    908910
    909     ELSEIF ( TRIM( initializing_actions ) == 'read_restart_data' ) &
     911    ELSEIF ( TRIM( initializing_actions ) == 'read_restart_data'  .OR.    &
     912             TRIM( initializing_actions ) == 'read_data_for_recycling' )  &
    910913    THEN
    911914!
     915!--    When reading data for initializing the recycling method, first read
     916!--    some of the global variables from restart file
     917       IF ( TRIM( initializing_actions ) == 'read_data_for_recycling' )  THEN
     918          WRITE (9,*) 'before read_parts_of_var_list'
     919          CALL local_flush( 9 )
     920          CALL read_parts_of_var_list
     921          WRITE (9,*) 'after read_parts_of_var_list'
     922          CALL local_flush( 9 )
     923          CALL close_file( 13 )
     924       ENDIF
     925
     926!
    912927!--    Read binary data from restart file
     928          WRITE (9,*) 'before read_3d_binary'
     929          CALL local_flush( 9 )
    913930       CALL read_3d_binary
     931          WRITE (9,*) 'after read_3d_binary'
     932          CALL local_flush( 9 )
    914933
    915934!
Note: See TracChangeset for help on using the changeset viewer.