Help: user defined function
Hi,
I'm using user defined function as boundary condition at velocity inlet. I try to define a periodic velocity profile such as: v=V*(1+Asinwt) where t=n*dt and dt is the step time value, n the iteration number (sum(n)=total number of iterations). Can anyone of you tell me what are the pointers for this variables in Fluent5.3? Thanks for help. Alice |
Re: Help: user defined function
time = RP_Get_Real("flow-time") is current time in seconds
niter = (nres == 0) ? (0) : ((int) count2[nres - 1]); returns current iteration number in niter. Regards Greg |
Re: Help: user defined function
Thanks for help.
Alice |
Re: Help: user defined function
Unbelievable. You actually have to use a user defined function and recompile the code to do this?? Bizzare. Get a copy of CFX5.
Dan. |
All times are GMT -4. The time now is 21:38. |