CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   InterFoam setFields for a specfic time instant (https://www.cfd-online.com/Forums/openfoam/88322-interfoam-setfields-specfic-time-instant.html)

jiexiao May 13, 2011 13:26

InterFoam setFields for a specfic time instant
 
Anyone know how to setFields for a specific time instant rather than t=0? Specifically, I did an interFoam simulation and got solutions at time=0.1, 0.2, 0.3, 0.4, 0.5
Then, I want to start from solution t=0.5, but add new volumes of phase 1 into the simulation. How can I do it? I changed the startTime to 0.5 in controlDic and then setFields, but it changes the field in t=0.
Thanks for your reponse.

Bernhard May 13, 2011 14:59

Did you try setFields -latestTime?

jiexiao May 13, 2011 16:10

Thanks Bernhard:)

this is exactly what I want.


All times are GMT -4. The time now is 05:49.