How to create velocity profile using the previous time step ones
I am doing a large eddy simulation case, and I run into a trouble to define inlet conditions, explicitly the turbulent velocity.
The turbulent velocity has such a formation: u'(t)=u'(t-delta_t)*exp(-t/T). For u'(t) is not a direct function of time, it causes a great pain to rebuild such a inlet turbulent velocity for me.
I tried a lot using groovyBC of swak4FOAM, used to extract the previous time step value of u@inlet but failed. I wondering anyone can help me out.
Considering my poor skill using swak4FOAM and little experience with openFOAM, I hope I did not propose a stupid questions!
Thank you in advance! Great regard and best wishes!
Thanks for your quick reply,Bernhard. Thanks very much!
Okay, well, it's time for me to improve my English. I am sorry for my vague expressions.
What I really want to do is using the old time step value of U at inlet to construct a "new" U for the new time step at the same inlet patch. I am not quite familar with the OpenFOAM variable and swak4FOAM functions and tried and failed may times.
It is excited to hear your news! May be I can download it and try this new feature.
Great regards and best wishes!
|All times are GMT -4. The time now is 06:12.|