Problem with Turbulence Kinetic Energy
i've setup a very simple simulation: a flat terrain, with a given inlet velocity and turbulence kinetic energy profile (find it on a paper). To create these profiles, i've setup a UDF.
Link to the simulation
I was expecting the velocity profile to mantein along the domain length, as it was written in the paper. Instead i've found these velocity profiles (picture in the attachment: line-0 = inlet; line-1650 = outlet, ie 1.65m; line-825 = mid section, ie 0.825m).
If i remove the turbulence kinetic energy profile, and set it to value 1 m^2/s^2, the velocity profiles are way better...
Question is: why the turbulence kinetic energy profile is giving me those strange results?
Which turbulence model did you use in your simulation?
Which kind of wall function?
How about Yplus values?
k-epsilon with enhanced wall treatment, because y+ < 1 (in this case it starts at 0.9 at inlet, and drop to 0.4 at outlet).
A quick estimate of the Reynolds number yields ~1600 (assuming the kinematic viscosity of air).
Are you sure that this is correct?
If so, the standard k-epsilon model is not the best choice because of the relatively low Reynolds number.
Did you try other turbulence models?
all the data used in the simulation are taken from the paper, and i'm pretty sure to have them extracted correctly.
i know k-epsilon is not the best choice for low Reynolds number. Still i'm using it because it gives me the best result.
The paper i'm following is: "Near wall characterization of the flow over a two-dimensional steep smooth hill" by J. B. R. Loureiro, F. T. Pinho, A. P. Silva Freire.
It discuss about the experimental data of a flow over a hill.
I have setup the hill simulation, with the same inlet profiles (extracted from the paper). The results of the hill simulation were not satisfactory, as you can see from the following pictures (i can't use the attachment because the quality of the pic would be too low...):
Velocity Profiles; Turbulent Kinetic Energy Profiles; Domain of the simulation; y+ plot
Where: H=60mm (height of the hill); u_delta=0.0482 m/s (external velocity/free stream velocity).
As you can see from the velocity profiles image, even at x/H=-5 (at the base of the uphill) there are significant variation from the simulation data and the experimental data. Besides, you can see the k-epsilon method with Enhanced Wall Treatment is working better in the recirculation region.
I've decided to use this method because, given the low free stream velocity (just 0.0482 m/s), it is impossible to have y+>30.
So i've setup the flat terrain simulation, with the same inlet profiles, to investigate what are the reasons of this behavior.
It seems like the flow is not in fully developed state. Do you have any ideas about what can i do to improve the result?
What is your boundary condition for the dissipation of the tke at the inlet?
This could cause the discrepancy between the simulation and the experiment.
for the turbulent dissipation rate, i'm using the default value of 1m^2/s^3; the paper doesn't provide a dissipation profile.
What value should i try?
This seems to be too much, which would also explain why the tke in your simulations decays too fast.
Since the flow is considered fully developed, you could run a simulation with a periodic channel and take the dissipation profile from this one.
Or you simply decrease it a few times by an order of magnitide until your results look better.
I was reading Fluent user guide, where i noticed the following:
"The relationship between the turbulent kinetic energy, k, and turbulence intensity, I, is: k = 3/2 * (u_avg * I)^2
where u_avg: mean flow velocity.
In the paper there was a chart of the longitudinal Reynolds stress profile, normalized in respect to u_delta^2 (u_delta: free stream velocity).
To calculate the turbulent kinetic energy i have used: k = 3/2 * (u'^2/u_delta^2) * u_delta^2. The error i've committed, could it be neglectable?
Let me start from the beginning.
The turbulent kinetic energy k is the trace of the Reynolds stress tensor
So if the velocity profiles are normalized by , you can recover the tke via
Now the way I see it, when you use
you assume that all normal Reynolds stresses are equal (), which is not the case for near wall turbulence.
So yes, with this assumption you introduce an error which is not negligible.
If the other components of the Reynolds stress tensor are given, you could use them to reconstruct the "correct" turbulent kinetic energy from the second equation.
Nevertheless, if you know the individual components of the Reynolds stress tensor from the experiment, you should consider using a Reynolds stress turbulence model.
In streamwise direction between inlet and outlet, you set up a periodic boundary condition and impose a mass flow rate (with the mass flow option of the periodic boundary) that recovers the correct average velocity.
This way, a profile of the dissipation of the tke develops which is in balance with the tke. You can impose it at the inlet of the actual simulation.
Alex, thank you for your response!
I have to take a look at Reynold Stress Model!
In the meantime, i have extracted all the reynolds profiles from the paper.
Just to be sure, i want to ask you this: in the attachment you can see these profiles (the circles) and the interpolations of my UDF (the green lines). My simulation is a 2D case; to calculate the turbulent kinetic energy i have used:
Because the paper do not report all the values, i've done two assumptions:
As you can see from the plot, the paper reports the Reynolds shear stress profile -u'v'; fluent requires u'v'. Should i use the opposite sign profile?
Although your simulation is run on a 2-dimensional domain, the physics are still 3-dimensional. While the time-averaged velocity in w-direction is zero (thats why a 2-dimensional simulation with a RANS turbulence model is justified) there are fluctuations of the velocity in w-direction.
Accordingly, the tke should contain all three components including .
Edit: The sentence here made no sense at all...
Both assumptions are perfectly justified.
There is no physical difference between and .
A correction to my last post. I put it in a new post so I hope you see it.
I claimed that the third component of the normal Reynolds stresses was comparatively small... Well that was complete nonsense and my only excuse is that it was late on a sunday evening.
In fact, it is of similar magnitude than the second component as we can see for example from the reproduction of DNS results in Popes book (pages 13 and 14 in this document):
If you have no data for the third component, you could estimate its magnitude from a similar figure or from a periodic channel run with a Reynolds stress turbulence model.
Seems like i'm having trouble to setup the periodic conditions.
I've been following fluent guide: mesh/modify-zones/make-periodic
That is what should happen. Dont worry, you are on the right path...
With a periodic boundary condition between inlet and outlet, you cannot specify any profiles for velocity or tke in the same way you did it with the inlet boundary condition.
The basic idea behind the periodic boundary conditions is to impose a mass flow rate that corresponds to the average velocity of your actual simulation.
The profiles for velocity and tke (and the epsilon profile we were searching for) develop as a result of the simulation.
Of course the profiles for velocity and tke wont match the profiles from the paper exactly.
But it is the best estimate we have to get the profile for the dissipation of the tke (and way better than assuming a value of 1;))
I have done some tests:
k-epsilon (standard wall function, enhanced wall treatment), k-omega, SST aren't able to converge.
Reynolds Stress with enhanced wall treatment is not able to converge.
Reynolds Stress with standard wall function converge.
This are the results.
A couple of questions:
1 - why the value of k, u'u', v'v', w'w', u'v', epsilon at z=0 is different from zero?
2 - What can be said about these profiles, in respect to the experimental data?
I have to make a correction to my previus post:
The result of the simulation with periodic boundary condition is shown in this image: Link 1
This results where obtained with Reynolds Stress Model with Standard wall function (I've tryed to use Enhanced wall treatment, but the simulation does not converge).
I've modified the profiles of that simulation in this way: Link 2; i've used these profiles in the same flat terrain simulation, with classic boundary condition (inlet := velocity inlet, outlet := pressure-outlet). Results:
I hardly believe that you cannot get a converged solution with periodic boundary conditions for the flow over a flat plate.
These cases have to converge to floating point accuracy. It may take lots of iterations though.
Since you get streamwise velocity profiles of a laminar flow, the profiles for the turbulent quantities are useless too.
This may happen if you initialize the periodic case with zero k, epsilon and velocity values an when the Reynolds number is low. Or when the solution is not really converged.
If you tell me the Reynolds number of your case (based on the extent in wall-normal direction and the bulk velocity) I can check what is needed to obtain a suitable solution.
Bulk velocity = 0.045920161602589 [m/s]
according to the paper:
Boundary layer thickness d = 100 [mm]
External velocity ud = 0.0482 [m/s]
Reynolds number Rd = 4,772
Friction velocity u* = 0.0028 [m/s]
Simulation with periodic boundary condition: link 1
Simulation with profiles obtained from the previus: link 2
Here are the settings that definitely allow for a converged solution
The mesh consists of 50x5 quad elements with y+ around 0.7.
Took around 10k iterations for the k-epsilon model to converge and 100k for the RSM model... there might be better setting to improve on this but the calculation times are low because of the small mesh.
Attachment 24786Attachment 24785Attachment 24784
|All times are GMT -4. The time now is 12:34.|