|
[Sponsors] |
Is there a way to write the time step size, time a |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 5, 2003, 03:40 |
Is there a way to write the time step size, time a
|
#1 |
Guest
Posts: n/a
|
Hi, I am doing an unsteady flow simulation with adaptive time step. Although we can monitor the time step size and time using "Statistic Monitors", the data are stored in the individual data file. To know the corresponding time step and time for each data file, we shall read every data file. Therefore I am wondering that is there a way to write the time step size and time associated with data file no. in one file, such as if we monitor the inlet flow rate at every time step, we can get the flow waveform? I do need your help. Thanks a lot!
|
|
December 5, 2003, 04:49 |
Re: Is there a way to write the time step size, ti
|
#2 |
Guest
Posts: n/a
|
hi may,
you can inlude "%t" in the file name in the autosave panel and this string will be converted to physical time when saving. good luck. |
|
December 5, 2003, 05:22 |
Re: Is there a way to write the time step size, ti
|
#3 |
Guest
Posts: n/a
|
Hi, Mr./Ms. Chen,
Thanks for your kindly suggestion! I will try it and let you know the results soon. Best Regards, |
|
December 5, 2003, 08:25 |
"%t"seems only represent the time step no.
|
#4 |
Guest
Posts: n/a
|
Dear Mr./Ms. Chen,
I have done it acoording to ur sugestion.However the data files still named as the time step no., not the true time. Can u give me some further suggestions? Thanks a lot! |
|
December 6, 2003, 11:19 |
Re: "%t"seems only represent the time step no.
|
#5 |
Guest
Posts: n/a
|
hi may,
You are right. I misunderstand your meanings. sorry for wrong suggestions. An easy way to solve your problem is to record the timestep and the corresponding physical time in a seperated file. Then you can look up this file after computing and know the physcial time of each data file. N_TIME will give you the time step and CURRENT_TIME the physical time. Good luck. |
|
December 8, 2003, 06:09 |
thanks a lot
|
#6 |
Guest
Posts: n/a
|
Dear Mr./Ms. Cheng,
Thanks for your kindly suggetion! I have compiled a UDF to do this kind of work. It works sucessfully. Thanks a lot! Best Regards |
|
November 22, 2009, 12:52 |
|
#7 |
New Member
Shengyi Wang
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
Not %t, but %f !!!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |
Time step, Number of time step, Maxximum Iterations per time step | sandisk | FLUENT | 0 | July 18, 2011 03:57 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 04:01 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |