Hi Samuel,

as an addition to Bernd's answer, you might have to set DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE

for compiling dune-grid and the grid modules. I'm not sure if this is still required.


Best wishes

Timo


On 08.04.19 17:37, Flemisch, Bernd wrote:

Hi Samuel,


I think that it is given byscvf.boundaryFlag(). Have a look at

https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/blob/master/test/porousmediumflow/co2/implicit/problem.hh


Kind regards

Bernd




--
_______________________________________________________________

Bernd Flemisch                         phone: +49 711 685 69162
IWS, Universität Stuttgart             fax:   +49 711 685 60430
Pfaffenwaldring 61            email: be...@iws.uni-stuttgart.de
D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________
------------------------------------------------------------------------
*Von:* Dumux <dumux-boun...@listserv.uni-stuttgart.de> im Auftrag von Samuel Scherrer <samuel.scher...@iws.uni-stuttgart.de>
*Gesendet:* Montag, 8. April 2019 17:30:26
*An:* dumux@listserv.uni-stuttgart.de
*Betreff:* [DuMuX] How to get intersections from scvf and element?
Hi Dumux people,

I'm currently trying to use a grid generated with gmsh and would like
to set the boundaries based on BoundaryDomainMarkers.
I found that it's possible to access the boundary domain markers via
the function 'getBoundaryDomainMarkers', which accepts either a
Intersection or a boundary segment index as argument.

How do I now get the intersection/boundary segment index when I have a
given element and scvf, e.g. inside the 'neumann' function (solution
dependent neumann boundary)?

Best regards,
Samuel

_______________________________________________
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

--
_______________________________________________________________

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.hydrosys.uni-stuttgart.de
_______________________________________________________________

_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to