CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Qustion about CFX expression bug (http://www.cfd-online.com/Forums/cfx/117598-qustion-about-cfx-expression-bug.html)

Anna Tian May 11, 2013 13:05

Qustion about CFX expression bug
 
Hi,

The expression

'if(atstep<50.5,1 [s],1e-5 [s])'

is used to set up the time step changing from 1 s to 1e-5 s after the accumulated time step reaches 50.

Why it doesn't work? Any bug?

ghorrocks May 12, 2013 07:12

Seems OK based on the glimpse you have given us - but if it does not work can you please show the error message?

lnk May 12, 2013 12:18

Quote:

Originally Posted by ghorrocks (Post 426992)
Seems OK based on the glimpse you have given us - but if it does not work can you please show the error message?


It just doesn't shift the time step length after the accumulated time step number passed 50.

Anna Tian May 12, 2013 17:10

Quote:

Originally Posted by lnk (Post 427019)
It just doesn't shift the time step length after the accumulated time step number passed 50.

Yes. Exactly. It is not shifting. Why?

ghorrocks May 12, 2013 19:29

No idea. There are lots of easy work-arounds, so I would not worry about the details of why this does not work and just use another method to define your time step.


All times are GMT -4. The time now is 14:25.