|
[Sponsors] |
Big problem predicting adiabatic wall temperature (wing, mach 0.33, rhoSimplecFoam) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 22, 2013, 14:30 |
Big problem predicting adiabatic wall temperature (wing, mach 0.33, rhoSimplecFoam)
|
#1 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17 |
Dear all,
I'm working on rhoSimplecFoam / rhoLTSPimpleFoam (OF 2.2) to simulate wing at mach 0.33. The simulations run smoothly and give good results (and convergence) except for the wall temperature ! All the other variables are pretty good, the pressure distribution is acceptable, ... I run the case with k-omega SST, a structured mesh of y+ = 0.1, and I tried a large range of settings. Every time, when I check the results, I get a wall temperature varying of 10°C while theoretical results and Fluent simulations give a variation of about 2°C maximum. I am 100% sure that the Fluent result is accurate with experimental results and other software. The Fluent simulation was made with a mesh of y+ 0.2 , k-omega SST (compressibility effects + viscous heating), sutherland viscosity and kinetic-theory for the thermal conductivity. Here is a rough plot to compare the wall temperature of the 2 cases: When I plot the temperature field into the domain, they are very comparable: However a tiny detail is missing. There is a kind of "hot" boundary layer in Fluent that flows all around the airfoil. It turns out that this characteristic is missing in my OF result. Here is a plot of a region near the upper leading edge (but it is also true everywhere else). To make the things simple, here is my full case including mesh (9MB): http://www.fredo490.fr/public/Naca00...malProblem.zip Do you have any idea of where the problem is located ? Is it the viscous heating in the boundary layer ? Last edited by fredo490; April 23, 2013 at 03:16. |
|
April 23, 2013, 05:36 |
|
#2 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17 |
I have ran extra test with Fluent and it turns out that the difference come from the Viscous Heating. If I uncheck the viscous heating box in k-omega sst, the Fluent results look similar to my OpenFoam data.
Now the question is: How to implement the Viscous Heating in rhoSimplecFoam ?! |
|
April 23, 2013, 11:07 |
|
#3 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17 |
It seems that the answer to my problem is in this topic: http://www.cfd-online.com/Forums/ope...-enthalpy.html
I'm currently running a case with the viscous heating to try the code. |
|
May 21, 2013, 11:41 |
|
#4 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17 |
I come back to my topic to give the solution of my problem.
To make things simple, OpenFoam neglects lots of terms and we need to edit the source code of rhoSimplecFoam and rhoPimplecFoam. Enclosed is the source of my equation (Jasaks book's). The code now include: the traditional energy equation with the Viscous Heating + Pressure Work + Kinetic Energy. For OpenFoam 2.2, you need to edit EEqn.H to get: Code:
// Viscous Heating Source terms volTensorField gradU = fvc::grad(U); volTensorField kin1 = turbulence->muEff() * (gradU + gradU.T()); volVectorField kin4 = kin1 & U; volScalarField kin5 = fvc::div(kin4); volScalarField divU = fvc::div(U); volVectorField kin2 = 2.0/3.0 *turbulence->muEff() * divU * U; volScalarField kin3 = fvc::div(kin2); volScalarField& he = thermo.he(); fvScalarMatrix EEqn ( fvm::ddt(rho, he) + fvm::div(phi, he) + fvc::ddt(rho, K) + fvc::div(phi, K) // Kinetic Energy + ( he.name() == "e" ? fvc::div ( fvc::absolute(phi/fvc::interpolate(rho), U), p, "div(phiv,p)" ) : -dpdt // Pressure Work ) - fvm::laplacian(turbulence->alphaEff(), he) == fvOptions(rho, he) + kin5 - kin3 ); EEqn.relax(); fvOptions.constrain(EEqn); EEqn.solve(); thermo.correct(); This new solver doesn't request any special things except the integration of the new schemes. The gradient scheme can be linear and the solution is stable with divergence schemes like upwind and linearUpwind. To get an accurate result of the viscous heating, you need to have a y+ < 1 (because it is generated by the gradient of velocity in the sub-layer). In my case, I have used a y+ of 0.2 of average and the data looks very good. I have put enclosed a picture of the heated viscous layer obtained by OpenFoam. |
|
May 22, 2013, 01:03 |
|
#5 | |
Senior Member
|
Quote:
Nice work.. |
||
May 22, 2013, 01:15 |
|
#6 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17 |
Thx but I have to say that the topic of Chrisi1984 help me a lot.
|
|
May 22, 2013, 01:28 |
|
#7 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17 |
I forgot to say : the heat prediction highly depends of the free steam turbulence parameters! A high turbulence intensity (let say 1% such as a wind tunne) will not give the same rresults as a low intensity (0,01% such as a high flight condition). You need to get good k and omega values. So I highly recommend to use the tool given by this website to estimate the two values.
|
|
May 12, 2022, 03:24 |
|
#8 |
New Member
Amit Makhija
Join Date: Apr 2018
Posts: 11
Rep Power: 8 |
Hello,
Could you please help in writing the viscous dissipation term in OpenFOAM v9? I tried but was unable to figure out how to write the expression for shear-stress symmetric tensor ((gradU + gradU.T())). |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Radiation with adiabatic wall | Radiation | CFX | 7 | October 17, 2016 18:39 |
UDF Wall Temperature Problem - Coordinates | Marc | FLUENT | 1 | July 3, 2008 12:10 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
wall temperature setting | nianqi | CFX | 0 | October 16, 2006 07:53 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |