Dear Etienne, yes there is. But it’s not direct. You can use evalSolution (from dumux/discretization/evalsolution.hh) but for that you need an element. To find the element that your designated point is in you can use the boundingBoxTree of the gridView for an efficient query. In dumux/geometry/intersectingentities.hh you find intersectingEntities, which you can use similar to this
auto entities = intersectingEntities(point, gridGeometry.boundingBoxTree()) auto element = gridGeometry.element(entities[0]); to get the element that contains your point. Best wishes Timo On 13 Feb 2024, at 12:10, Michel Kern <michel.k...@inria.fr> wrote: Bonne question, je ne trouve pas non plus a+ Michel Envoyé depuis mon appareil Galaxy -------- Message d'origine -------- De : Etienne Ahusborde <etienne.ahusbo...@univ-pau.fr> Date : 13/02/2024 10:34 (GMT+01:00) À : dumux@listserv.uni-stuttgart.de Objet : [DuMux] Calculate solution at a given position Dear Users, I'd like to inquire whether there's a feature in DuMuX that can calculate a specific quantity, such as pressure, at a designated point. Thanks in advance Regards Etienne _______________________________________________ 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
_______________________________________________ DuMux mailing list DuMux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux