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

Is there a way to write the time step size, time a

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2003, 03:40
Default Is there a way to write the time step size, time a
  #1
may
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!
  Reply With Quote

Old   December 5, 2003, 04:49
Default Re: Is there a way to write the time step size, ti
  #2
ccc
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.
  Reply With Quote

Old   December 5, 2003, 05:22
Default Re: Is there a way to write the time step size, ti
  #3
may
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,
  Reply With Quote

Old   December 5, 2003, 08:25
Default "%t"seems only represent the time step no.
  #4
may
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!
  Reply With Quote

Old   December 6, 2003, 11:19
Default Re: "%t"seems only represent the time step no.
  #5
ccc
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.

  Reply With Quote

Old   December 8, 2003, 06:09
Default thanks a lot
  #6
may
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
  Reply With Quote

Old   November 22, 2009, 12:52
Smile
  #7
New Member
 
Shengyi Wang
Join Date: Mar 2009
Posts: 22
Rep Power: 17
gmwsy is on a distinguished road
Not %t, but %f !!!
gmwsy 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
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


All times are GMT -4. The time now is 03:23.