We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03550b1 commit 15aa05dCopy full SHA for 15aa05d
src/Domain.jl
@@ -1879,6 +1879,8 @@ export calcthermo
1879
cond = kLAs .* inter.molefractions .* inter.P ./ kHs * V
1880
1881
dydt[d.indexes[1]:d.indexes[2]] .-= (evap .- cond)
1882
+ elseif isa(inter, ConstantReservoirDiffusion) && d == inter.domain
1883
+ dydt[d.indexes[1]:d.indexes[2]] = inter.A .* d.diffusivity .* (inter.c .- ns./V) / inter.layer_thickness
1884
elseif isa(inter, VolumetricFlowRateInlet) && d == inter.domain
1885
dydt[d.indexes[1]:d.indexes[2]] .+= inter.Vin(t) * inter.cs
1886
elseif isa(inter, VolumetricFlowRateOutlet) && d == inter.domain
0 commit comments