Field Function for velocity_Inlet
I would like to know if its possible to create a field function for a jet inlet at particular time step . For example i tried to make the jet inlet work for every 0.02 s so i wrote a Field_Function as follows : :confused:
(($Time*100)%2 == 0 ) ? 5 : 0 But this function is not working properly . Can some one suggest me any other way to have a Jet_inlet field function at periodic time step. |
Do you want to jet work at interval of 0.02 and stop at the next interval of 0.02?
|
I want my jet to work in a periodic way for example it should work for all the even time as 0.02s , 0.04s , 0.06s , 0.08s, 0.10s and so on , but it should not be working for odd time value as 0.01s , 0.03s , 0.05s etc ... so that i will have a periodic jet velocity inlet .
|
Quote:
I think to do modulus in STAR-CCM+, you need to use mod(). I.e. mod($Time,2) |
Thanx Ryne , i will try that and keep you updated with the result .!!
|
All times are GMT -4. The time now is 14:50. |