Hi Elena, you also might want to check out the test in test/implicit/1p2c. There, an outflow boundary condition is used, maybe that is what you want. It only works if stuff really is flowing out (or at least not flowing in).
Kind regards Bernd On Mon, 24 Nov 2014 18:58:39 +0100 Thomas Fetzer <[email protected]> wrote: >Hi Elena, > >if you want the liquid to flow out, you can just specify a Dirichlet boundary >condition by setting it in the boundaryTypesAtPos() function and setting the >value in the dirichletAtPos()in your problem. >If you take the cell pressure also at the boundary this would end up in >Neumann no-flow boundary again (because then you do not have a pressure >gradient). > >Best regards, >Thomas > > >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >Dipl. Ing. Thomas Fetzer >Institut für Wasser- und Umweltsystemmodellierung (IWS) >Lehrstuhl für Hydromechanik und Hydrosystemmodellierung >Universität Stuttgart, Pfaffenwaldring 61, 70569 Stuttgart >Email: [email protected] >Telefon: 0049-711-685-60103 ** fax: 0049-711-685-60430 >http://www.hydrosys.uni-stuttgart.de >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > >Am 11/24/2014 um 04:48 PM schrieb Elena Shaporenko: >> Hi Christoph, >> >> I'm afraid I put it wrong and you did not understand me. I need a free >> boundary for the liquid phase. Zero flow means that the fluid does not >> leave the area, but I need it to flow out freely. I would use Dirichlet >> boundary condition if I could if I could put the border cell pressure as >> boundary pressure. How can I do this? >> >> >> I work together Kirill Gerke. >> >> >> Elena >> >> >> 2014-11-24 18:22 GMT+03:00 Christoph Grüninger >> <[email protected] >> <mailto:[email protected]>>: >> >> Hi Elena, >> you need a Neumann boundary condition with zero flux. Or did I miss your >> question? >> >> Just out of curiosity: What's your affiliation? >> >> Bye, >> Christoph >> >> -- >> GDB does hate your application, expresses its contempt through the >> design of its command-line interface. -- Tom Tromey, FOSDEM 2014 >> >> >> _______________________________________________ >> Dumux mailing list >> [email protected] <mailto:[email protected]> >> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux >> >> >> >> >> _______________________________________________ >> Dumux mailing list >> [email protected] >> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux >> >_______________________________________________ >Dumux mailing list >[email protected] >https://listserv.uni-stuttgart.de/mailman/listinfo/dumux _______________________________________________________________ Bernd Flemisch phone: +49 711 685 69162 IWS, Universitaet Stuttgart fax: +49 711 685 67020 Pfaffenwaldring 61 email: [email protected] D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de _______________________________________________________________ _______________________________________________ Dumux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
