To understand mesh refinement concepts I modelled a pipe (10 mm dia, 500 mm long) having three flow velocities (4, 6 and 8 m/s, water as fluid). Mesh refinement was carried out in the 2 mm thick layer by changing no of elements in the layer. Four runs were taken with no of elements 5, 7, 9 and 11. The mesh was generated in such a way that element thickness is smallest near the wall and gradually increases towards the centre. Figure shows the typical grid profile showing 11 elements in 2 mm thick layer.
The analysis was carried out using k-e model with scalable wall function. (As a rule, none of the defaults were changed). Inlet temperature for water was 300 K. Wall temperature was 373 K.
Values for y+ and wall heat transfer coefficient (hf) were noted at a distance of 400 mm from entry. Line averaging was carried out.
Inlet pressure was also noted (using ‘area averaged’ tool). Outlet pressure was set 0 Pa.
Figure shows variation in y+ as a function of number of elements (at a plane 400 mm from inlet).
Figures show variation in heat transfer coefficient (at a plane 400 mm from inlet) and inlet pressure as a function of number of elements.
Fig-3 and Fig-4
- Can I consider that I have obtained mesh convergence with 5 elements? The two important parameters ‘heat transfer coefficient’ and ‘pressure drop’ remain practically unchanged.
- Should I be greedier and try to use even less than 5 elements say 3 or 4 in the 2 mm thick layer near wall?
i think it is based on your requirement for the problem.
Wei is right. It depends on what you want to do.
If you are trying to do the world's most accurate CFD simulation of pipe flow then you are not even close. If you are doing an approximate engineering analysis and errors of 10% are OK then you are fine.
So the mesh you require is also a function of how accurate your results need to be.
Thank you both Mr. Wie and Mr. Horrocks,
I am sorry I should have indicated the desired accuracy. But for an average engineer like me, I consider 10% to be quite good. I have additional doubts:-
1. I tried to plot relations between hf=f(v), shown in Fig-5 and Del-P=f(v), shown in Fig-6.
2. I am used to hf to be having a power law of 0.8 (The good old Dittus-Boelter) and Del-P following a square law. Fig-5 shows a power law with n=0.863 (in place of 0.8) while Fig-6 shows a power law with n=1.792 (in place of 2).
What is the explanation for the mismatch? Is it lack of mesh refinement or the fact that the experimental correlations are valid over far too large a data and may not be strictly valid over the small calculation set done by me).
With best regards,
Could be lots of reasons. Firstly look at your simulation - check mesh and convergence sensitivity. Secondly look at what the empirical correlations actually mean - is it for fully developed flow? Was the flow fully developed in your simulation? You have to make sure you are modelling exactly what the correlation assumes.
And finally many of these empirical correlations are approximateions anyway. They are only good to within 10% or so anyway, and the heat transfer ones it is more like 50%. Refer to the original papers to find out exactly how accurate they are. Don't expect them to be precise.
Dear Mr. Horrocks,
Thank you for pointing out the slip of not checking the fact if the flow has fully developed or not. I carried out the check by doing analysis for 10 mm dia pipes with lengths 500 mm and 1000 mm. The mesh height is identical for both cases. The hex mesh layout is also identical.
I plotted variation of flow velocity at the centre line of the pipe. (Fig-7). I also noted wall heat transfer coefficient at a uniform step height of 100 mm from inlet till outlet. (Fig-8).
Can the flow velocity plot be considered correct? Why should the flow velocity overshoot the so called "stable" value and then drop back?
In my opinion flow has fully developed. But ideally if values at 400 mm and 900 mm are compared, the values at 400 mm are slightly incorrect. In future I should consider a pipe length of at least 700 mm for such an analysis.
I shall also analyse other aspects pointed out by you.
Thanking you and with best regards,
|All times are GMT -4. The time now is 09:27.|