Dear Timo,

Thanks for your reply.

I will try your proposal.

Regards

Etienne

Le 18/02/2024 à 00:36, Timo Koch a écrit :
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 <[email protected]> wrote:

Bonne question,  je ne trouve pas non plus a+
Michel

Envoyé depuis mon appareil Galaxy


-------- Message d'origine --------
De : Etienne Ahusborde <[email protected]>
Date : 13/02/2024 10:34 (GMT+01:00)
À : [email protected]
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
[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

Reply via email to