CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

How to read field files from the two different time directories

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 16, 2012, 09:44
Default How to read field files from the two different time directories
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 217
Blog Entries: 1
Rep Power: 11
fumiya is on a distinguished road

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

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 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting field averaging using libFunctionObject after certain time eelcovv OpenFOAM Programming & Development 25 December 7, 2015 23:28
TimeVaryingMappedFixedValue for Direct Numerical Simulation inlet johndeas OpenFOAM 5 May 21, 2014 07:11
directMapped problem panda60 OpenFOAM Bugs 4 July 8, 2010 10:23
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37
Physical Reason for stability of Implicit Schemes? radhakrishnan Main CFD Forum 25 December 7, 2000 16:25

All times are GMT -4. The time now is 04:37.