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

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

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

Reply
 
LinkBack Thread Tools 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: 207
Rep Power: 8
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

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
Current density visualisation (PEM fuel cell add-on module) pchoopanya FLUENT 2 January 20, 2014 05:14
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 CD-adapco 1 July 26, 2006 05:32


All times are GMT -4. The time now is 07:45.