Ignore:
Timestamp:
Feb 19, 2009 4:08:56 PM (15 years ago)
Author:
letzel
Message:
  • Option to predefine a target bulk velocity for conserve_volume_flow
File:
1 edited

Legend:

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

    r240 r241  
    99! Set the starting level and the vertical smoothing factor used for
    1010! the external pressure gradient
     11! +converve_volume_flow_mode: 'default', 'initial_profiles', 'inflow_profile'
     12! and 'bulk_velocity'
    1113!
    1214! Former revisions:
     
    821823          volume_flow_initial = volume_flow_initial_l
    822824          volume_flow_area    = volume_flow_area_l
    823 #endif 
     825#endif
     826!
     827!--       In case of 'bulk_velocity' mode, volume_flow_initial is overridden
     828!--       and calculated from u|v_bulk instead.
     829          IF ( TRIM( conserve_volume_flow_mode ) == 'bulk_velocity' )  THEN
     830             volume_flow_initial(1) = u_bulk * volume_flow_area(1)
     831             volume_flow_initial(2) = v_bulk * volume_flow_area(2)
     832          ENDIF
     833
    824834       ENDIF
    825835
Note: See TracChangeset for help on using the changeset viewer.