Dear Jianwen,

we don't have the option to choose both pressures as primary variables. But instead pressure + saturation. But you can calculate a saturation from the inverse capillary-pressure-saturation relation sw = pc^-1(pn-pw) where you specify pn and pw.

When using the Box discretization scheme you can use mixed boundary conditions. For the cell-centered schemes you need to realize this by using solution-dependent Neumann conditions, see for example the following test "porousmediumflow/1pnc/1p2c/isothermal/problem.hh"

Best,
Martin

On 05.06.24 05:59, Jianwen Du wrote:
Dear DuMux developers,

Please forgive me for having some basic questions.

I wonder if DuMux allows setting the boundary condition for a two-phase flow problem by specifying the pressure of both phases. From the example models I've seen, it seems that only one phase's pressure and one phase's saturation are applied. Additionally, I think it should be possible to use a mixed boundary condition, where the Dirichlet boundary is set for one phase and the Neumann boundary for another phase. Would you be able to tell me where I can find some examples or guidance available for these?

Sincerely,
Jianwen
--

Ph.D. student

Hydrology and Atmospheric Sciences

University of Arizona

[email protected]


_______________________________________________
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