I have an uUDF file for velocity inlet, k and e. The velocity inlet varies with the time which has a peak value of 172.5m/s[=3/2*pi*36.6*sin(3*pi*flow_time/0.1)]. I have defined the pi = 4*atan(1)
Accidentally, a wrong UDF file was initialized so I reinitialized the case with the right UDF file and it gave me about 165m/s as a peak value. I have checked the B.D and the UDF file but unable to notice any errors. However, I was able to obtain the right peak when I recreated the cas file from msh file(=started from gambit mesh file putting B.C and UDF files again).
My guess is it's like "Matlab programme" where all the programme files start with "clear" in order to remove any data from the memory.
I would like to know if it's the case, there is any command that equivalents to "clear" or "clear all".
If not, I would like to know what causes the problem.
Re: UDF initialization
there is in deed a "command" which acts as clear. load the udf-library anew and it will work.
|All times are GMT -4. The time now is 05:36.|