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

What is the difference between current time step and current time

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2012, 17:23
Default What is the difference between current time step and current time
  #1
New Member
 
Join Date: Sep 2011
Posts: 15
Rep Power: 14
djing is on a distinguished road
hi
I want to simulate unsteady flow in FLUENT why do I use a variable speed input and a variable pressure output
to do that I must use one of two macros (udf):
CURRENT TIME or CURRENT TIMESTEP
I want to know what is the difference between the two macros knowing that I found on their deffinition in FLUENT UDF guide as follows:

Macro Name Returns
CURRENT TIME real current flow time (in seconds)
CURRENT TIMESTEP real current physical time step size (in seconds)

thank you in advance for your reply
djing is offline   Reply With Quote

Old   April 29, 2012, 11:15
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,665
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by djing View Post
CURRENT TIME real current flow time (in seconds)
CURRENT TIMESTEP real current physical time step size (in seconds)
I had thought that:

current time is physical time with units of seconds
current timestep is a counter (a number) to keep track of how many timesteps have been solved
LuckyTran is offline   Reply With Quote

Old   April 29, 2012, 16:48
Default
  #3
New Member
 
Join Date: Sep 2011
Posts: 15
Rep Power: 14
djing is on a distinguished road
thank you for your reply

if current timestep is a counter (a number) to keep track of how many timesteps have been solved as you say
why it is referred as second in FLUENT
djing is offline   Reply With Quote

Old   April 29, 2012, 17:04
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,665
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by djing View Post
thank you for your reply

if current timestep is a counter (a number) to keep track of how many timesteps have been solved as you say
why it is referred as second in FLUENT
I was mixed up. Now I am wondering which variable holds the current timestep.

CURRENT TIME is current physical time of current iteration
CURRENT TIMESTEP is the timestep size (change in time between two iterations in time).

But does that help? I still think it's odd that TIMESTEP refers to the timestep size and not the current timestep but whatever.

if you want to know how much time has elapsed since the simulation started, you should reference TIME.
If you need to know the timestep size between two iterations you should reference TIMESTEP. Though, I am not sure if the timestep is considered previous and current iteration or current and next iteration. That would take more reading.
LuckyTran is offline   Reply With Quote

Old   May 1, 2012, 16:18
Default
  #5
New Member
 
Join Date: Sep 2011
Posts: 15
Rep Power: 14
djing is on a distinguished road
thank you for your contribution
I think now the difference is clear between the two (current time and current time step) maintenat I have to use current time for my simulation
djing 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
calling result of a UDF into current time step Komon Fluent UDF and Scheme Programming 1 April 1, 2012 19:53
Set current time step tsram90 FLUENT 0 November 11, 2011 10:19
Changing deltaT of current time step olwi OpenFOAM Running, Solving & CFD 1 April 30, 2009 04:55
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
CFX post-processing - Current Time Step Molly CFX 9 May 29, 2008 10:23


All times are GMT -4. The time now is 01:50.