THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added:
FS#270 - Deprecating setDirichlet(eqIdx) User who did this - Timo Koch (timokoch) ---------- >> You don't specify Neumann for a primary variable, you specify it for an >> equation. Like the amount of wetting phase coming in, for >> which you would use contiWEqIdx. Shouldn't it be possible to set a pressure Dirichlet condition (strong) and a saturation Neumann condition (weak) (grad S_w*n = g) for the same equation? At least for box? Or is that automatically (for eqIdx 1) the result when using setDirichlet(0), setNeumann(1)? to me it looks inflexible...what if I want Dirichlet pressure and no normal saturation gradient on the boundary? I can't specify that because I can only set a Neumann flux for the whole flux term including pressure and saturation, am I right? >> To me, it doesn't make sense to specify one Dirichlet condition for more >> than one equation. The one equation that is specified >> rather stands for the equation that will be replaced by the Dirichlet >> condition, if the Dirichlet condition is incorporated in a >> strong sense. Ok but then we are talking about the same concept. So it only really makes sense to specify Dirichlet conditions for primary Variables, not equations. So why do we have void setDirichlet(int pvIdx, int eqIdx)? Is it always arbitrary which equation gets replaced?, and therefore always right to just use the one with the same index? Or does it depend on the boundary conditions of the other primary variable? You have more of an overview about how boundary conditions are incorporated in the code... but I still don't see why I need two setDirichlet methods and how I can set "grad S_w*n = 0" without saying something about the pressure. ---------- More information can be found at the following URL: http://www.dumux.org/flyspray/index.php?do=details&task_id=270#comment575 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above. _______________________________________________ Dumux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
