CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   How to read field files from the two different time directories (http://www.cfd-online.com/Forums/openfoam/104794-how-read-field-files-two-different-time-directories.html)

fumiya July 16, 2012 09:44

How to read field files from the two different time directories
 
Hi,

I want to read field files such as the velocity U and pressure p
from the different two time directories. When I have the following
results,

0/ U, p, U1
100/ U, p
200/ U, p (latest time)

I want to start a calculation that needs the U and p files at time 200
and U1 at time 0 directory. If I set "startFrom latestTime" in the controlDict
file, I can read the U and p files at the 200 directory, but I have no idea
about how to read the U1 file at the 0 directory without copying it to
the 200 directory.

Could you tell me how to do it?

Thanks for any suggestions,
Fumiya


All times are GMT -4. The time now is 10:39.