I'm trying to model the following boundary condition using MassTransferValue
.
$$ D_A \frac{\partial[A]} {\partial x} + D_B \frac{\partial[B]} {\partial x}+ D_C \frac{\partial[C]} {\partial x}=0 $$
The help file does have an example where it handles two species and I can add a third one.
MassTransferValue[
x >= 0, {{Subscript[c, 1][x], Subscript[c, 2][x]}, {x}}, <|
"AmbientConcentration" -> {Subscript[c, ext1][t, x, y],
Subscript[c, ext2][t, x, y]},
"MassTransferCoefficient" -> {Subscript[k, 1], Subscript[k, 2]}|>]
However the output to this consists of two separate Neumann conditions (rather than one). Maybe I can link the two together using the MassTransferCoefficient
but is there a cleaner way to do it?
MassTransferCoefficient
. $\endgroup$Total[MassTransferValue[ x >= 0, {{Subscript[c, 1][x], Subscript[c, 2][x]}, {x}}, <| "AmbientConcentration" -> {Subscript[c, ext1][t, x, y], Subscript[c, ext2][t, x, y]}, "MassTransferCoefficient" -> {Subscript[k, 1], Subscript[k, 2]}|>]]
? $\endgroup$