|
[Sponsors] |
November 20, 2000, 04:37 |
Help: user defined function
|
#1 |
Guest
Posts: n/a
|
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 |
|
November 20, 2000, 20:00 |
Re: Help: user defined function
|
#2 |
Guest
Posts: n/a
|
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 |
|
November 21, 2000, 03:50 |
Re: Help: user defined function
|
#3 |
Guest
Posts: n/a
|
Thanks for help.
Alice |
|
December 13, 2000, 01:10 |
Re: Help: user defined function
|
#4 |
Guest
Posts: n/a
|
Unbelievable. You actually have to use a user defined function and recompile the code to do this?? Bizzare. Get a copy of CFX5.
Dan. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LiencubiclowRemodel | nzy102 | OpenFOAM Bugs | 14 | January 10, 2012 09:53 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
User defined function - CO level | hari | FLUENT | 0 | October 24, 2007 01:11 |