Skip to content

Commit 1746dae

Browse files
committed
Update evap/cond expression
1 parent a0044a5 commit 1746dae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Domain.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,8 +2188,8 @@ end
21882188
elseif isa(inter,kLAkHCondensationEvaporationWithReservoir) && domain == inter.domain
21892189
kLAs = map.(inter.kLAs,inter.T)
21902190
kHs = map.(inter.kHs,inter.T)
2191-
evap = kLAs.*inter.cs*V
2192-
cond = kLAs.*ns./kHs
2191+
evap = kLAs.*inter.V.*inter.cs
2192+
cond = kLAs.*inter.V.*cs*R*T./kHs
21932193

21942194
#evaporation
21952195
# inlet
@@ -2354,7 +2354,7 @@ end
23542354
elseif isa(inter,kLAkHCondensationEvaporationWithReservoir) && domain == inter.domain
23552355
kLAs = map.(inter.kLAs,inter.T)
23562356
kHs = map.(inter.kHs,inter.T)
2357-
evap = kLAs.*inter.cs*V
2357+
evap = kLAs.*inter.V.*inter.cs
23582358

23592359
# evaporation
23602360
# inlet
@@ -2589,8 +2589,8 @@ end
25892589
elseif isa(inter,kLAkHCondensationEvaporationWithReservoir) && domain == inter.domain
25902590
kLAs = map.(inter.kLAs,inter.T)
25912591
kHs = map.(inter.kHs,inter.T)
2592-
evap = kLAs.*inter.cs*V
2593-
cond = kLAs.*ns./kHs
2592+
evap = kLAs.*inter.V.*inter.cs
2593+
cond = kLAs.*inter.V.*cs*R*T./kHs
25942594

25952595
# evaporation
25962596
# inlet
@@ -2747,7 +2747,7 @@ end
27472747
elseif isa(inter,kLAkHCondensationEvaporationWithReservoir) && domain == inter.domain
27482748
kLAs = map.(inter.kLAs,inter.T)
27492749
kHs = map.(inter.kHs,inter.T)
2750-
evap = kLAs.*inter.cs*V
2750+
evap = kLAs.*inter.V.*inter.cs
27512751

27522752
# evaporation
27532753
# inlet

0 commit comments

Comments
 (0)