Add Random value to velocity
Dear Foamers,
How to add random value to velocity in the solver using LES? I just want to see larger eddies in a shorter time? It may relate to Random.H function. But how to link it to velocity? I have no experience of using Random.H. |
Quote:
Code:
Description |
Thanks. But my BC is cyclic. I want to add a perturbation component to velocity vector. I noticed that perturbU utility can be useful. But I do not know how to do that.
|
Hi Jian,
I was wondering if you were able to introduce the perturbation and how?. I also have a LES simulation with periodic BC and I want to add random u,v,w fluctuations (having rms values equal to friction velocity) to trigger turbulence and I dont know how to do it in Fluent. I would appreciate your help. Cheers, Negin |
Dear Negin,
I am sorry that I have not make it. I just use pressure gradient to drive my flow (just as the ChannelFoam tutorial) and select LES model in the turbulence directory. Also, I am not familiar with Fluent. But, you may try...... U = U+Random()*FACTOR My best regards, Jian |
All times are GMT -4. The time now is 13:47. |