CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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

Reply
 
LinkBack Thread Tools 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: 8
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,894
Rep Power: 26
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,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
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: 8
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time step size and max iterations per time step pUl| FLUENT 31 August 21, 2015 04:46
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
Physical Reason for stability of Implicit Schemes? radhakrishnan Main CFD Forum 25 December 7, 2000 16:25
unsteady calcs in FLUENT Sanjay Padhiar Main CFD Forum 1 March 31, 1999 12:32


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