> On 27. May 2020, at 21:58, Christoph Grüninger <f...@grueninger.de> wrote: > > Hi Timo, > I think Mohammad asks for periodic boundary conditions. Imagine a > turbine with 12 blades. You don't want to simulate the full 360° but > limit the simulation domain to 3 blades (90° piece of circle) or even a > single blade (30° piece of circle). > Neumann no-flow is wrong, you can have inflow and outflow but one side > must match the other.
Hi Christoph, I'm having troubles seeing the symmetry in your example. Which boundaries would be periodic? What problem are you solving? (Would this be something solvable with Dumux?) How do the blades look like? Does the thing rotate? If 90° or 30° gives you the same result could you also go down to 0°? and have a rotational symmetric problem which is what I mentioned in the previous post? > > @Mohammad: > It should work with ALUGrid, which support periodic boundary conditions. > Check its documentation or search the source code for indications on how > to do it. UGGrid should work, too, but I am not sure. > Be aware that periodic boundaries / periodicy is not part of Dune's grid > interface. ALUGrid, UGGrid and YaspGrid all support it, but they do it > different. With yaspgrid you cannot get the geometry. This is not only a matter of Dune. Currently, Dumux supports periodic boundaries with dune-spgrid and dune-alugrid for box and cc-tpfa discretizations (see https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/tree/master/test/porousmediumflow/1p/implicit/periodicbc <https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/tree/master/test/porousmediumflow/1p/implicit/periodicbc>). For staggered navies-stokes models there is an open feature request: https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/issues/756 <https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/issues/756> In any case it currently won’t work with YaspGrid or UGGrid (which I think doesn’t even support periodic boundaries). Also it will only work on rectangular domains and not on axisymmetric domains (still not really sure how that would look like). Timo -- _________________________________________________ Timo Koch phone: +49 711 685 64676 IWS, Universität Stuttgart fax: +49 711 685 60430 Pfaffenwaldring 61 email: timo.k...@iws.uni-stuttgart.de D-70569 Stuttgart url: www.iws.uni-stuttgart.de/en/lh2/ _________________________________________________ > > You will get better answers if you ask on the Dune mailing list. > > Bye > Christoph > > -- > Mit Kurzschlafwettkampfbestzeit > [Tua von Die Orsons - Sowas von egal] > _______________________________________________ > Dumux mailing list > Dumux@listserv.uni-stuttgart.de > https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
_______________________________________________ Dumux mailing list Dumux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux