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

Adaptive Time Stepping and Physical TIme

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2017, 07:40
Default Adaptive Time Stepping and Physical TIme
  #1
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Hi All

I have a doubt regarding the Physical time of the simulation. In my CFX log .out file I can see something called simulation time within each Iterations and it has 1e-3 and 1e-5 two values and I am not sure what exactly it is !! And also I am using adaptive time stepping so it shows current time step and next time step.
AS_Aero is offline   Reply With Quote

Old   May 17, 2017, 08:17
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,811
Rep Power: 32
Opaque will become famous soon enough
A picture is word a thousand words ?

You mean

SIMULATION TIME: 1.00E3-03 (1.00E-5)

The first number is accumulated (global for all runs) simulation time, second number in parenthesis is accumulated (current run) simulation time for this run.
Opaque is offline   Reply With Quote

Old   May 17, 2017, 08:46
Default
  #3
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Hi
So this is how it looks..And how will I get the physical time as I want to see how many times the flow has passed by the domain. And since its adaptive time stepping the time step size is different at each iterations.
Attached Images
File Type: png Capture.PNG (38.2 KB, 33 views)
AS_Aero is offline   Reply With Quote

Old   May 17, 2017, 18:49
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Have a look at the solver variables in the CFX reference guide. That describes all the available variables to track these things.
ghorrocks is offline   Reply With Quote

Old   May 18, 2017, 08:23
Default
  #5
Senior Member
 
Join Date: Jun 2009
Posts: 1,811
Rep Power: 32
Opaque will become famous soon enough
At the time step shown, your simulation has advanced up t = 1.6725E-03 [s] since you started the original simulation, stopped and restarted (possibly several times).

For this specific restart, the simulation has advanced only 1.8882E-05 [s]

Above I have assumed you have not changed the time solution units; therefore, time is written in [s].
Opaque is offline   Reply With Quote

Old   May 18, 2017, 09:11
Default
  #6
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
So how can i check the real physical time ? I just want to check how many times my flow passed by the domain !!
AS_Aero is offline   Reply With Quote

Old   May 18, 2017, 10:56
Default
  #7
Senior Member
 
Join Date: Jun 2009
Posts: 1,811
Rep Power: 32
Opaque will become famous soon enough
I do not understand your question.

As far as I understand the simulation time is the physical time of the calculation. For a standard transient run, what other meaning can it have?

There is the CEL variable (t), or (Time) and you can a monitor expression and see it is progressing, or create an expression that uses it to compute the quantity of interest.
Opaque is offline   Reply With Quote

Old   May 18, 2017, 11:25
Default
  #8
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
So that means..my real time is that simulation time what we see..so my flow inside the domain was passing by so much time. For example to make it clear..I have my domain 1m long and inlet velocity of 15m/s then for the flow to go through starting from inlet to outlet it takes 15 seconds ..in this case to check the LES result I should atleast have my flow 3 to 4 times pass by the domain that means 15*3 = 45 real seconds... So I was asking this how to calculate this real flow time..does cfx give that information ? For each iteration it might take 1e-5 seconds but am asking about the real time and not the computation time. Did I made you clear... ??
AS_Aero is offline   Reply With Quote

Old   May 18, 2017, 19:07
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It appears you are doing a simulation with translational periodic boundaries for inlet and outlet. If you want to accumulate time as you suggest then the flow is no longer periodic, so these boundaries are not suitable.

But based on what you are trying to do, can't you just say a typical residence time is 15s, so if I run it for 45s then on average the fluid will have gone through my domain 3 times. It is approximate, but isn't that good enough?
ghorrocks is offline   Reply With Quote

Old   May 19, 2017, 03:05
Default
  #10
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
No I am just doing a pipe flow with pressure inlet and outlet . But its an LES so I want to run it for some physical time which is equal to 5 times the flow from inlet to outlet so that I can consider my results to be meaningful (This was based on some paper that to consider your LES results the flow have to pass through the domain 4 to 5 times) And my channel is 250 mm and inlet velocity is 2 m/s according to this my simulation should run for 1 to 2 seconds real time..This is what I was looking for in the simulation. And since my time step is adaptive one..I cant tell exactly till what iternation number i can run it to get real time of 2 seconds
AS_Aero is offline   Reply With Quote

Old   May 19, 2017, 06:15
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Then just run your simulation for a specified time, not number of iterations. So just run it for 2s total time.
ghorrocks is offline   Reply With Quote

Old   May 22, 2017, 03:07
Default
  #12
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Oh I dint know thats possible but is it possible when we restart the case every 24 hours ? Will it restart from the previous time ?
AS_Aero is offline   Reply With Quote

Old   May 22, 2017, 07:01
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
is it possible when we restart the case every 24 hours ?
Restart what? What as 24 hours got to do with it? I have no idea what you are talking about.

Please explain your questions if you expect us to have any hope of answering it.
ghorrocks is offline   Reply With Quote

Old   May 22, 2017, 07:11
Default
  #14
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Sorry that you couldnt understand my question. Basically when I am running a computation on cluster which is limited to 24 hours as the job time, the simulation will stop after 24 hours. So when I am doing LES I need to restart my simulation from the current iteration further for 24 hours. So basically I create a .res file and then initialise the simulation with the .res file and then the simulation runs for 24 hours. So in this case the iteration starts from the current one. So when I give time lets say in 24 hours if my simulation ran for 0.75 seconds (Physical time) and I need to restart it from 0.75 seconds.Will it do that or not was my question.
AS_Aero is offline   Reply With Quote

Old   May 22, 2017, 07:19
Default
  #15
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you set the simulation to run for 10s simulation time and you stop it at 7 seconds, then if you restart it using the previous simulation as an initial condition it will run the remaining 3 seconds to give a total simulation time of 10s. The result should be almost indistinguishable from if you ran it as a single run - almost..... (Some features do not restart perfectly and will result in a kick to the results. This kick is insignificant for most cases).
ghorrocks is offline   Reply With Quote

Old   May 22, 2017, 07:33
Default
  #16
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Yeah now you got it..Exactly...Thanks a lot ...I was guessing the same.. But thanks a lot.
AS_Aero is offline   Reply With Quote

Old   May 22, 2017, 08:56
Default
  #17
Member
 
Join Date: Apr 2017
Posts: 53
Rep Power: 9
balrog_f is on a distinguished road
Furthermore you can see the time you simulated already (total time simulated) in the picture you sent. It is the "simulation time". The number in the brackets is the physical time simulated in your current run. The value right next to "simulation time" is the total time you already simulated over all your 24 hour runs.
balrog_f 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
Two way FSI time stepping for different time scales QBeast ANSYS 2 August 11, 2016 06:58
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
CFL in dual time stepping with implicit scheme dokeun Main CFD Forum 0 May 8, 2013 23:01
Explicit Duel time stepping Aditya Main CFD Forum 5 October 26, 2005 01:56
Time Stepping Control Dave CFX 2 September 5, 2002 05:39


All times are GMT -4. The time now is 00:02.