I understand that NeumannValue and Dirichlet boundary conditions cannot be used at the same boundary for a PDE. However, if I have a system of partial differential equations can I then have NeumannValue for 1 variable and Dirichlet BC for the other at the same x position?
A realistic situation for the same would be a membrane that only allows one solute molecule to pass and is impermeable to the other solute.
The code works fine when I impose no-flux conditions for c_S. However, when I use Dirichlet condition for c_S the mass of c_E is no longer conserved. Why is this issue happening and how does one get through this issue?
Welcome to Wolfram Community!
Please make sure you know the rules: https://wolfr.am/READ-1ST
Your post is too vague. Please describe your subject extensively providing code and examples so it is clear what exactly you are looking for.