Hi Georg,

to answer your questions:

1. There are several tests. For example in test/freeflow/stokes/stokestestproblem.hh

2. The "right" time is this->timeManager().time() + this->timeManager().timeStepSize() (which appears strange in this context)

Kind regards
Bernd

On 01/22/2016 09:42 AM, Timo Koch wrote:
Hi Georg,

the current time is timeManager.time(). You can use that time in the boundary condition as you said to create a time dependent boundary condition.

Best,
Timo

Am 22.01.2016 um 09:33 schrieb <georg.fut...@dlr.de <mailto:georg.fut...@dlr.de>> <georg.fut...@dlr.de <mailto:georg.fut...@dlr.de>>:

Hello Dumuxers,

Is there an example with time-dependent boundary conditions? I am wondering which time to use in the dirichletAtPos and solDependentNeumann functions. Is it timeManager().time() or timeManager().time() + timeManager().timeStepSize()?

Best regards

Georg Futter

——————————————————————————

*German Aerospace Center *(DLR)

Institute of Engineering Thermodynamics | Computational Electrochemistry | Pfaffenwaldring 38-40 | 70569 Stuttgart

Dipl.-Ing. *Georg Futter* | Ph.D. student

Telefon 0711/6862-8135 | georg.fut...@dlr.de <mailto:georg.fut...@dlr.de>

www.DLR.de <http://www.dlr.de/>

_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de <mailto: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


--
_______________________________________________________________

Bernd Flemisch                         phone: +49 711 685 69162
IWS, Universität Stuttgart             fax:   +49 711 685 60430
Pfaffenwaldring 61            email: be...@iws.uni-stuttgart.de
D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________

_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to