CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

How to read field files from the two different time directories

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2012, 09:44
Default How to read field files from the two different time directories
  #1
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
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
fumiya is offline   Reply With Quote

Old   August 1, 2021, 06:58
Default
  #2
New Member
 
Satyajit Choudhury
Join Date: Jun 2016
Posts: 6
Rep Power: 9
Satyajit92 is on a distinguished road
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 ?
Satyajit92 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Physical Reason for stability of Implicit Schemes? radhakrishnan Main CFD Forum 26 October 3, 2023 22:05
Starting field averaging using libFunctionObject after certain time eelcovv OpenFOAM Programming & Development 25 December 7, 2015 22: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 14:37


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