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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: maybee
Forum: OpenFOAM Programming & Development March 17, 2014, 03:52
Replies: 7
Views: 1,208
Posted By maybee
hi, thx for the reply. I ve taken an own...

hi,

thx for the reply. I ve taken an own counter now. This should work fine for me :). As I already told - just wanted to check if class Time or any other class already proivdes such a counter.
...
Forum: OpenFOAM Programming & Development March 14, 2014, 15:07
Replies: 7
Views: 1,208
Posted By maybee
I want to do something like: if (time loop...

I want to do something like:

if (time loop pass == 1)
{

}

if (time loop pass == 2)
{
Forum: OpenFOAM Programming & Development March 14, 2014, 13:26
Replies: 7
Views: 1,208
Posted By maybee
Thx, for the help. Just to be sure:...

Thx, for the help. Just to be sure: runTime.value() will return the following values:

first time loop pass: 0
second time loop pass: 1
third time loop pass : 2
and so on

?
Forum: OpenFOAM Programming & Development March 14, 2014, 09:32
Replies: 7
Views: 1,208
Posted By maybee
Hi again, I found scalar deltaTValue ()...

Hi again,

I found

scalar deltaTValue () const inline
//Return time step value.

and

Foam::label timeIndex () const
Forum: OpenFOAM Programming & Development March 14, 2014, 08:43
Replies: 7
Views: 1,208
Posted By maybee
if (timestep X == true) OR if (current_timestep == timestep X)

hi,

I need to implement specific code for specific timesteps. Therefore I though about doing something like

if (timestep X == true) {...}

OR if

(current_timestep == timestep X) {...}
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 00:21.