|
[Sponsors] |
March 29, 2019, 06:08 |
Wall Function & Convergence
|
#1 |
New Member
Alexandros
Join Date: Jun 2016
Posts: 28
Rep Power: 10 |
Hello,
I am trying to set up and run a steady state simulation for a truck using Acusolve (FEM solver). I am using the k-epsilon turbulence model (Spalart-Almaras for first try) and I have some troubles regarding the near wall treatment schemes implemented. Having tried models both with and without wall functions, I end up that my model is prohibitely huge for a No Wall Function scheme (demanding y+=1 at all cell nodes) so I choosed the Wall Function option (y+ ranges from 0 to 80). Monitoring the residuals I see that the No Wall Function model (see Pic.) has a much faster convergence and the curves are obviously smoother than the model with Wall Function option (see Pic.). The results seem are less accurate though, maybe due to high y+ values (unfortunately I cannot plot the y+ contour). So my question is, is there any possibility that the Wall Function for the cells near to the wall could affect the residuals' behavior? Is this the reason for the oscillating behaviour for the residuals? How could I justify the slower convergence for this model? Thank you in advance. Alex Last edited by AlexRonto; March 29, 2019 at 06:22. Reason: Better title description |
|
March 29, 2019, 06:30 |
|
#2 |
Senior Member
|
While there might be any kind of issue due to how wall functions are implemented in a code, wall functions can obviously have an effect on convergence, including a stall as in your case. But one should know how such wall functions are implemented to understand what the issue might be, besides knowing your specific case.
If you are allowed to by the code, you should try to plot the residual, to see where it is higher. If it is near a wall, as everything seems to suggest, then check what y+ values you have there and what's happening there in general (probably y+ is changing at each iteration). Nonetheless, your plots do not seem fair enough, compare the two formulations for the same number of iterations. |
|
March 29, 2019, 07:12 |
|
#3 | |||
New Member
Alexandros
Join Date: Jun 2016
Posts: 28
Rep Power: 10 |
Quote:
Quote:
Quote:
Really helpful answer. Thank you! |
||||
March 29, 2019, 07:46 |
|
#4 | ||
Senior Member
|
Quote:
"AcuSolve utilizes a two-layer model on the dissipation rate equation. At low y+ values, the solver uses an algebraic expression to compute the dissipation rate. As the distance from the wall increases, the solver blends the value of the algebraic expression into the solution of the differential equation, then eventually transitions to using the differential equation solution fully beyond a specific y+. This two layer treatment produces a robust and stable solution from the k-epsilon models and is the default wall function for all three variants of k-epsilon." While this does not say anything about the wall function for the velocity, it is typically the case that this is also in a form that is y+ insensitive for the two layer formulation (otherwise there is no much sense). However, I see that you are using SA from the residuals, which only needs a WF for the velocity (the SA variable is just linear in the whole boundary layer). The point is, an y+ insensitive formulation, if properly calibrated for a given turbulence model, can give actual y+ insensitive results. But you can't bet on the developers always doing the right thing, my experience is quite the contrary (I include myself in this). If a standard wall-law is used for the velocity (in SA or k-epsilon), what happens is that the specific formulation has a switch based on y+ instead of a single formula valid for all y+. Thus, if the solution keep switching between the two branches from iteration to iteration, the solution won't converge. If an y+ insensitive formulation is used, and all the remaining parameters of your simulation are correct, you shouldn't see this sort of residual stall (yet, residual histories can generally be different). Quote:
Yes, compare the residual histories for a given, equal, number of iterations, say, 1000 (100 could be too low). If they both converge, even if with different rates, there is nothing wrong in principle. |
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 12:04 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Force can not converge | colopolo | CFX | 13 | October 4, 2011 23:03 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |