CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Speed function (https://www.cfd-online.com/Forums/star-ccm/196983-speed-function.html)

Aaeecchh December 23, 2017 14:55

Speed function
 
Hi,
Help me set the function
I need the speed $${Velocity} to grow linearly from 0 m/s to 10 m/s at an angle of 45 degrees for 300 seconds.

Thanks :)

ping December 24, 2017 16:26

the user guide field function examples page shows you how to ramp a function with time and the example below that is about vector components so i suggest you read this and the rest of that chapter and all will become clear to anyone with a bit of maths in their education

Aaeecchh December 24, 2017 16:30

Quote:

Originally Posted by ping (Post 676015)
the user guide field function examples page shows you how to ramp a function with time and the example below that is about vector components so i suggest you read this and the rest of that chapter and all will become clear to anyone with a bit of maths in their education

I found just such an example
($Time >= 0.01) ? 1000 : 300+70000*$Time

How to connect with the speed I don't know, in programming I do not understand


All times are GMT -4. The time now is 13:31.