-
Notifications
You must be signed in to change notification settings - Fork 3
/
plot_field_SEGM0.m
89 lines (69 loc) · 2.08 KB
/
plot_field_SEGM0.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
% Date: 2018-2-2
% plot simulation results using SEGM scheme (without Greve drainage function)
global N xi zeta H hB hS SPY dzeta
SPY = 31556926;
% construct
xx = ones(N,1)*xi;
yy = zeta*H + ones(N,1)*hB;
index = find(CTS>0);
figure
subplot(3,2,1)
hold on
contourf(xx/1000, yy, At_E(:,:,end), 50, 'LineStyle', 'none')
plot(xi/1000, hB, 'k', 'linewidth', 1)
plot(xi/1000, hS, 'k', 'linewidth', 1)
plot(xi(index)/1000, H(index).*(CTS(index)-1)*dzeta + hB(index), 'w-', 'linewidth', 1)
xlabel('Distance (km)')
ylabel('Elevation (m asl)')
title('Enthalpy distribution')
c = colorbar;
title(c, 'J kg^{-1}')
colormap('jet')
box on
subplot(3,2,2)
hold on
contourf(xx/1000, yy, At_T(:,:,end)-273.15, 50, 'LineStyle', 'none')
plot(xi/1000, hB, 'k', 'linewidth', 1)
plot(xi/1000, hS, 'k', 'linewidth', 1)
plot(xi(index)/1000, H(index).*(CTS(index)-1)*dzeta + hB(index), 'w-', 'linewidth', 1)
xlabel('Distance (km)')
ylabel('Elevation (m asl)')
title('Temperature distribution')
c = colorbar;
title(c, '^\circC')
colormap('jet')
box on
subplot(3,2,3)
hold on
contourf(xx/1000, yy, At_omega(:,:,end)*100, 50, 'LineStyle', 'none')
plot(xi/1000, hB, 'k', 'linewidth', 1)
plot(xi/1000, hS, 'k', 'linewidth', 1)
plot(xi(index)/1000, H(index).*(CTS(index)-1)*dzeta + hB(index), 'w-', 'linewidth', 1)
xlabel('Distance (km)')
ylabel('Elevation (m asl)')
title('Moisture distribution')
c = colorbar;
title(c, '%')
colormap('jet')
box on
subplot(3,2,4)
hold on
contourf(xx/1000, yy, u, 50, 'LineStyle', 'none')
plot(xi/1000, hB, 'k', 'linewidth', 1)
plot(xi/1000, hS, 'k', 'linewidth', 1)
xlabel('Distance (km)')
ylabel('Elevation (m asl)')
title('Velocity distribution')
c = colorbar;
title(c, 'm a^{-1}')
colormap('jet')
box on
subplot(3,2,[5,6])
hold on
plot(xi/1000, At_temperateWaterFlux(1, :, end)*SPY*1000, 'k')
min_temperateWaterFlux = min(At_temperateWaterFlux(1, :, end)*SPY*1000);
ylim([floor(min_temperateWaterFlux)-5, 0])
xlabel('Distance (km)')
ylabel('Water flux (mm yr^{-1})')
box on
set(gcf, 'position', [206 84 933 534])