We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66dfe71 commit 1074677Copy full SHA for 1074677
src/Domain.jl
@@ -1852,6 +1852,8 @@ export calcthermo
1852
cond = kLAs .* inter.molefractions .* inter.P ./ kHs * V
1853
1854
dydt[d.indexes[1]:d.indexes[2]] .-= (evap .- cond)
1855
+ elseif isa(inter, ConstantReservoirDiffusion) && d == inter.domain
1856
+ dydt[d.indexes[1]:d.indexes[2]] = inter.A .* d.diffusivity .* (inter.c .- ns./V) / inter.layer_thickness
1857
elseif isa(inter, VolumetricFlowRateInlet) && d == inter.domain
1858
dydt[d.indexes[1]:d.indexes[2]] .+= inter.Vin(t) * inter.cs
1859
elseif isa(inter, VolumetricFlowRateOutlet) && d == inter.domain
0 commit comments