CFD Online Logo CFD Online URL
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

LinkBack Thread Tools Display Modes
Old   April 30, 2013, 09:36
Default How to quote current runtime as a parameter of the subroutine?
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 11
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?


Last edited by sandy; April 30, 2013 at 10:12.
sandy is offline   Reply With Quote


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 6 July 14, 2016 15:26
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 06:18.