Changeset 4573 for palm/trunk/SOURCE
- Timestamp:
- Jun 24, 2020 1:08:47 PM (4 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/header.f90
r4536 r4573 25 25 ! ----------------- 26 26 ! $Id$ 27 ! added statement for pt_surface_heating_rate 28 ! 29 ! 4536 2020-05-17 17:24:13Z raasch 27 30 ! output of restart data format added 28 31 ! … … 1579 1582 WRITE ( io, 475 ) pt_surface_initial_change 1580 1583 ENDIF 1584 IF ( pt_surface_heating_rate /= 0.0_wp ) THEN 1585 WRITE ( io, 476 ) pt_surface_heating_rate 1586 ENDIF 1581 1587 IF ( humidity .AND. q_surface_initial_change /= 0.0_wp ) THEN 1582 WRITE ( io, 47 6) q_surface_initial_change1588 WRITE ( io, 477 ) q_surface_initial_change 1583 1589 ENDIF 1584 1590 IF ( passive_scalar .AND. q_surface_initial_change /= 0.0_wp ) THEN 1585 WRITE ( io, 47 7) q_surface_initial_change1591 WRITE ( io, 478 ) q_surface_initial_change 1586 1592 ENDIF 1587 1593 … … 1931 1937 ' the value is negative) by ',F5.2,' K at the beginning of the',& 1932 1938 ' 3D-simulation'/) 1933 476 FORMAT (' The surface humidity is increased (or decreased, ',& 1939 476 FORMAT (' The surface temperature increases (or decreases, ', & 1940 'respectively, if'/ & 1941 ' the value is negative) by ',F8.4,' K/h during the', & 1942 ' 3D-simulation'/) 1943 477 FORMAT (' The surface humidity is increased (or decreased, ',& 1934 1944 'respectively, if the'/ & 1935 1945 ' value is negative) by ',E8.1,' kg/kg at the beginning of', & 1936 1946 ' the 3D-simulation'/) 1937 47 7FORMAT (' The scalar value is increased at the surface (or decreased, ',&1947 478 FORMAT (' The scalar value is increased at the surface (or decreased, ',& 1938 1948 'respectively, if the'/ & 1939 1949 ' value is negative) by ',E8.1,' kg/m**3 at the beginning of', & -
palm/trunk/SOURCE/time_integration.f90
r4565 r4573 25 25 ! ----------------- 26 26 ! $Id$ 27 ! calculate pt(0) incrementally by using dt_3d instead of calculating it absolutely 28 ! by using time_since_reference_point, because time_since_reference_point is set 29 ! to zero for initializing_actions = 'cyclic_fill' 30 ! 31 ! 4565 2020-06-15 08:30:38Z oliver.maas 27 32 ! added new surface temperature forcing method for bc_pt_b = 'dirichlet': 28 33 ! surface temperature pt(0) can be linearly increased by pt_surface_heating_rate (in K/h) … … 950 955 ! 951 956 !-- Increase temperature pt(0) according to pt_surface_heating_rate (convert from K/h to K/s) 952 IF ( pt_surface_heating_rate /= 0.0_wp ) THEN 953 pt(0,:,:) = pt_surface + pt_surface_initial_change + & 954 time_since_reference_point * pt_surface_heating_rate / 3600.0_wp 957 IF ( pt_surface_heating_rate /= 0.0_wp .AND. intermediate_timestep_count == 1 ) THEN 958 pt(0,:,:) = pt(0,:,:) + dt_3d * pt_surface_heating_rate / 3600.0_wp 955 959 ENDIF 956 960
Note: See TracChangeset
for help on using the changeset viewer.