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

How to quote current timeStep as a parameter of the subroutine?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2013, 09:36
Default How to quote current runtime as a parameter of the subroutine?
  #1
Senior Member
 
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18
sandy is on a distinguished road
Hi everybody,

Who know how to quote updated and current runtime into the subroutine as a parameter, namely as curTimeIndex_ = this->db().time().timeIndex() . How to update this parameter and use it with the current runtime?

Sandy

Last edited by sandy; April 30, 2013 at 10:12.
sandy 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
Current density visualisation (PEM fuel cell add-on module) pchoopanya FLUENT 10 August 21, 2023 14:33
What is the difference between current time step and current time djing FLUENT 4 May 1, 2012 16:18
Force can not converge colopolo CFX 13 October 4, 2011 22:03
How to access a parameter from a previous timestep Ridley CFX 5 June 15, 2010 06:56
parameter in POSDAT subroutine tipakorn Siemens 1 July 26, 2006 05:32


All times are GMT -4. The time now is 19:30.