|
[Sponsors] |
How to read field files from the two different time directories |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2012, 10:44 |
How to read field files from the two different time directories
|
#1 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 |
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 |
|
August 1, 2021, 07:58 |
|
#2 |
New Member
Satyajit Choudhury
Join Date: Jun 2016
Posts: 6
Rep Power: 10 |
Hi, It's been long since you posted the question. Have you found the solution?
I am facing a similar situation. Let's say, I have 10 time folders. I want to create 10 volume vector fields U1, U2, U3.......U10. from the U in those 10 time folders. Any suggestion how I should proceed ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Physical Reason for stability of Implicit Schemes? | radhakrishnan | Main CFD Forum | 26 | October 3, 2023 23:05 |
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 08:11 |
directMapped problem | panda60 | OpenFOAM Bugs | 4 | July 8, 2010 11:23 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |