Skip to content

Commit 512174c

Browse files
authored
Update Interface.jl
1 parent 39319ca commit 512174c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Interface.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,6 @@ function evaluate(vl::VaporLiquidMassTransferInternalInterfaceConstantT, dydt, V
460460
kLAs, kHs = getkLAkHs(vl, vl.domaingas.T, vl.domainliq.T)
461461
@views @inbounds @fastmath evap = kLAs * vl.domainliq.V .* cstot[vl.domainliq.indexes[1]:vl.domainliq.indexes[2]] #evap_i = kLA_i * Vliq * cliq_i
462462
@views @inbounds @fastmath cond = kLAs * vl.domainliq.V .*cstot[vl.domaingas.indexes[1]:vl.domaingas.indexes[2]] * R * vl.domaingas.T ./ kHs #cond_i = kLA_i * Vliq * Pgas_i / kH_i, Pgas_i = cgas_i * R * Tgas
463-
cond[findall(x->x<0,kHs)].=0
464463
net_evap = (evap .- cond)
465464
@simd for ind in vl.ignoremasstransferspcinds
466465
net_evap[ind] = 0.0

0 commit comments

Comments
 (0)