Field Function
hey,
I have problems with my Field Function. I would like to simulate movement and move the object in the Z-axis (dependent on time). the equation of motion I have already written, but I have a problem that does not move the object in the negative direction of the coordinate system. I hope someone of you can help me further. Here is the definition of Field Function: [($ Time <0.4)? 10 : (($ time>= 1.3) && ($ Time <1.7))? - 10: 0,0,0] |
Quote:
The position Code:
MyPosition = ($Time < 0.4) ? 10 : (($Time >= 1.3 && $Time < 1.7) ? -10 : 0) Code:
[${MyPosition}, 0, 0] Valid for STARCCM (and C/C++/Java etc) Code:
conditon1 ? val1 : (condition2 ? val2 : val3) Code:
conditon1 ? val1 : condition2 ? val2 : val3 |
All times are GMT -4. The time now is 20:17. |