On 26.07.19 16:54, lc wrote:
Dear Dumux community,


I'd like to ask how can I simulate a typical polymer slug injection scenario in an horizontal well, WAP (water alternate polymer).

In particular, for example, 100 days of water injection, followed by other 100 days of polymer (not important specifically what it is), and then water again.

How, can I control the timing and which component/phase to inject? Any example?

Hi Lorenzo,

For Dumux 3.0 you can just write different time loops after each other in the main file (this allows you to even solve different models after each other). The second option is to store and update the current time in the problem and then write your boundary conditions depending on the time. The latter is more convenient if it's just about implementing time-dependent BC.

For Dumux 2.12 the timeManager is a member of the problem. Just use timeManager.time() to implement time dependent boundary conditions.

There is plenty of examples in the test folder. Something like "grep -rHi --include="problem.hh" "time" should find you a lot of example problem files.

Timo




Thank you very much,

Kind Regards,

Lorenzo Campoli



--
_______________________________________________________________

Timo Koch                              phone: +49 711 685 64676
IWS, Universität Stuttgart             fax:   +49 711 685 60430
Pfaffenwaldring 61        email: [email protected]
D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________

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

Reply via email to