CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Is it possible to make the setFields time_dependent? (https://www.cfd-online.com/Forums/openfoam-solving/177943-possible-make-setfields-time_dependent.html)

Andy_Wang September 24, 2016 18:47

Is it possible to make the setFields time_dependent?
 
Dear Foamers,

i'm wondering now, if it is possible to make the setFields function time dependent? For example, i want to set alpha.water = 1 in a sphere(say centre = (0 0 0) radius = 0.01m), but the value of alpha.water is 1 only at the time t= 0s, t= 0.1s, t= 0.2s and so on and at any time else it is 0. Is it possible? Or can i use other function like funkySetFields?

Any ideas will be appreciated!


All times are GMT -4. The time now is 17:01.