zhuimengboy wrote:Hello, Yvan
I am sorry to disturb you again. In the last three months, I prepared the exam, and delayed my work.
Recently I continue to simulate 2D turbulent flat plate(use SST model).
As your suggestion, I generate a new mesh, and have any waring about y+ in the listing. And reduce time step, it works well.
Now I have some basic questions(maybe foolish):
1. About how to set reference value viscosity mu. I set rho=1.0, Uref=1.0, and the length of plat is 2.0, so the Lref=2.0. But I can't set Lref in GUI. As Re=5million, so mu=rho*Lref*Uref/Re=4.0e-7, is this right?
2. About reference length(used for initialization turbulence). For plate, how to set correctly?
3. About the initialization of k and w. Use default value in GUI, the turbulent viscosity so high at farfield(from NASA website, the turbulent viscosity is very little at farfield). I set k=1.0e-8, w=0.004(the idea come form another topic in this forum), it seems work. But how to initialize k and w correctly, I have no idea.
4. About hydraulic diameter and turbulent intensity. For inlet boundary condition, it have three different setting. I test three cases, a) given constant k and w equate to the initialization of k and w, it seem all right but have a little oscillation up of plate; b) given only hydraulic diameter(as I don't know how to define hydraulic diameter for plate, so use default value 1.0), is seem incorrectness; c) given both hydraulic diameter and turbulent intensity. The hydraulic diameter equate to default value, and set turbulent intensity very little(about 0.001), it seems very well. So the result of case 3 have good distribution of turbulent viscosity compare to NASA result. But how to define hydraulic diameter and turbulent intensity for plate correctly?
5. I wish you can explain the difference between three wall functions for SST model in GUI, or some paper about it?
6. Finally, I can't find the code about inlet boundary condition in condli.f90, so where the code about inlet boundary? I wish you can tell me(I will use it for coupling my LBM code with SST model in Code_Saturne).
As I study turbulent model recently and my English is poor, I wish I have explain my problem correctly and maybe the questions are very foolish

.
Thank Yvan and other developers of Code_Saturne again.
Best regards
Yong Wang