|
[Sponsors] |
What is the difference between current time step and current time |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 28, 2012, 18:23 |
What is the difference between current time step and current time
|
#1 |
New Member
Join Date: Sep 2011
Posts: 15
Rep Power: 15 |
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 |
|
April 29, 2012, 12:15 |
|
#2 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,751
Rep Power: 66 |
Quote:
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 |
||
April 29, 2012, 17:48 |
|
#3 |
New Member
Join Date: Sep 2011
Posts: 15
Rep Power: 15 |
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 |
|
April 29, 2012, 18:04 |
|
#4 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,751
Rep Power: 66 |
Quote:
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. |
||
May 1, 2012, 17:18 |
|
#5 |
New Member
Join Date: Sep 2011
Posts: 15
Rep Power: 15 |
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 |
|
|
|
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 20:53 |
Set current time step | tsram90 | FLUENT | 0 | November 11, 2011 11:19 |
Changing deltaT of current time step | olwi | OpenFOAM Running, Solving & CFD | 1 | April 30, 2009 05:55 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
CFX post-processing - Current Time Step | Molly | CFX | 9 | May 29, 2008 11:23 |