CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Time Variable Velocity programming? (https://www.cfd-online.com/Forums/fluent/47345-time-variable-velocity-programming.html)

Michelle February 15, 2008 13:27

Time Variable Velocity programming?
 
Hello, I'm working with a stenosis model showing blood flow across the stenosis with a set velocity. I wish to make the velocity time variable (ex:in a sin wave form or something), and I understand I need to write a short program for that. I have no idea how to do that. Can somebody help please??

mihan :)

PS. pretty please?

NRD February 16, 2008 13:34

Re: Time Variable Velocity programming?
 
I think you need to use the DEFINE_PROFILE and write an UDF. The UDF manual has a very detailed example on how to write this UDF and hook it to your simulation.

Michelle February 18, 2008 12:38

Re: Time Variable Velocity programming?
 
thanks! I'll try that. :D


All times are GMT -4. The time now is 07:01.