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

Is adjustableRunTime link to the Time shown in the log?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By alberto

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2012, 07:41
Default Is adjustableRunTime link to the Time shown in the log?
  #1
jam
Member
 
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
jam is on a distinguished road
Hi,

In the log, there are few places where the time is shown :

Code:
ExecutionTime = 0.92 s  ClockTime = 1 s

Courant Number mean: 1.2100784e-05 max: 0.009442947
deltaT = 3.5831613e-06
Time = 1.5499037e-05
In the manual
Quote:
- adjustableRunTime Writes data every writeInterval seconds of simulated time,
adjusting the time steps to coincide with the writeInterval if
necessary — used in cases with automatic time step adjustment.
Is "seconds of simulated time" referring to the Time value in the log?
If so , this is not very useful because my simulations never reached the second. Mostly a few tenths of second. I would like to print every few microseconds in my case while using adjustableTimeStep.

I tried cpuTime and clockTime and is shows what is says,
runTime and adjustableRunTime do not.

Is this normal behaviour?
jam is offline   Reply With Quote

Old   July 2, 2012, 02:41
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by jam View Post
Hi,

In the log, there are few places where the time is shown :

Code:
ExecutionTime = 0.92 s  ClockTime = 1 s

Courant Number mean: 1.2100784e-05 max: 0.009442947
deltaT = 3.5831613e-06
Time = 1.5499037e-05
In the manual
Is "seconds of simulated time" referring to the Time value in the log?
If so , this is not very useful because my simulations never reached the second. Mostly a few tenths of second. I would like to print every few microseconds in my case while using adjustableTimeStep.
The adjustableRunTime option is used with unsteady simulations, when you have an adaptive time-stepping. It saves the simulation result every "writeInterval", making sure that the exact interval between one set of saved data and the following is enforced.

Example: Let's assume you set
Code:
writeControl    adjustableRunTime;

writeInterval   0.01;
in your controlDict. OpenFOAM will save data every 0.01s. If you want to save every microsecond of flow time (What is indicated as "Time" in the logs), you should set:

Code:
writeInterval 1.0e-6;
Best,
a.hajisharifi and HappyS5 like this.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   July 2, 2012, 07:31
Default
  #3
jam
Member
 
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
jam is on a distinguished road
Thank you,
I should have read the manual more carefully. It is in the book.
jam is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Time step size and max iterations per time step pUl| FLUENT 33 October 23, 2020 22:50
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 05:55
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36
unsteady calcs in FLUENT Sanjay Padhiar Main CFD Forum 1 March 31, 1999 12:32


All times are GMT -4. The time now is 07:36.