Hi Elena,

1.I need to set the type of boundary conditions (Neumann or Dirichlet) depending on the fluid pressure at the boundarys , how can I do it?

Use a solution dependent Neumann boundary condition: solDependentNeumann() function.
See the test/porousmediaflow/2p2c/implicit/injectionproblem.hh


2. How I  can  get the element if I know Global Position?

Also have a look at the solDependentNeumann() in injectionproblem.hh.

Best regards
Alex

On 02/23/2016 12:03 PM, Elena Shaporenko wrote:

Hi Dumuxers!


I have got two questions

1.I need to set the type of boundary conditions (Neumann or Dirichlet) depending on the fluid pressure at the boundarys , how can I do it?

2. How I  can  get the element if I know Global Position?

      BR. Elena



_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


--
Alexander Kissinger
Institut für Wasser- und Umweltsystemmodellierung
Lehrstuhl für Hydromechanik und Hydrosystemmodellierung
Pfaffenwaldring 61
D-70569 Stuttgart

Telefon: +49 (0) 711 685-64729
E-Mail:  [email protected]

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to