CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Periodicity of a function (loop) CFX (

uorinopuot October 26, 2009 10:01

Periodicity of a function (loop) CFX

I have created a function for times 0 to 1 second. I want to make it periodical using the expressions but there is no periodicity choice. I have lots of values for my interpolated function so repeating all of them to a further range is not an option unfortunately. I was thinking about looping using expressions but i do not know how to do it.
Any ideas?

ghorrocks October 26, 2009 18:06

Use the mod function. It does modulo arithmetic so "mod(time,1)" would return 0.57s if the time was 4.57s.

uorinopuot October 27, 2009 20:15

Works! Cheers again!

All times are GMT -4. The time now is 23:09.