|
[Sponsors] |
Is there a way to write the time step size, time a |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 5, 2003, 02: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, 03: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, 04: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, 07: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, 10: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, 05: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, 11:52 |
|
#7 |
New Member
Shengyi Wang
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
Not %t, but %f !!!
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 13:06 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 05:24 |
Time step, Number of time step, Maxximum Iterations per time step | sandisk | FLUENT | 0 | July 18, 2011 02:57 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 03:01 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |