|
[Sponsors] |
September 25, 2018, 08:10 |
pisoFoam (LES) - internal pipe flow - RMS
|
#1 | ||
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 225
Rep Power: 10 |
Hello,
I'm post-processing my RMS results for the tests I'm doing and would like opinions. The results "are good" but when compared to Fluent, I see that they can be better, since in Fluent I am using the same mesh. Below I share my fvSolution. I would like to understand how I can approach my RMS values in X and Y (not good results), since the flow is in the Z direction (whose RMS has given good results). Quote:
Quote:
Last edited by gu1; September 25, 2018 at 09:21. |
|||
October 15, 2018, 11:30 |
|
#2 |
Member
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16 |
Interesting post. Of course you could just lower the tolerances in your fvSolution (Why is it zero for p? maybe a mistake?). Also p relTol=0.1 seems a bit high. Try 0.001.
Only today I noticed the coupled solver for U in OF 1712. Have you tried a more conventional approach? If yes please share what you saw. My first test did not show a worthwhile improvement.
__________________
www.MantiumCAE.com |
|
October 16, 2018, 06:59 |
|
#3 | |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 225
Rep Power: 10 |
Quote:
I have not tested other models for U, what I have used works very well. |
||
October 16, 2018, 09:27 |
|
#4 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11 |
But if you are interested in the last iteration value, why not define it explicitly via pFinal, e.g. set it to 1e-6 to calculate to that res., instead of via the first iteration res.?
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
|
October 16, 2018, 10:39 |
|
#5 | |
Member
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16 |
Quote:
Makes sense what you say. Anyway, you can still lower the final tolerance for p to 1e-8 and for the other variables to 1e-6. and see what happens. What actually confuses me is that you also have k set as "coupled". Like I said, I have only now come across this in 1712 so I do not yet know what this actually does. What I would try to see what happens solving k conventionally and then U as well.
__________________
www.MantiumCAE.com |
||
October 16, 2018, 21:08 |
|
#6 | |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 225
Rep Power: 10 |
Quote:
LVDH, the 'coupled' model only applies to velocity. The 'k' should not even be there... the Wale model does not use it. Do you know what the 'coupled' means?! If not, with it I define tolerance for Ux, Uy and Uz. The model I use is the PBiCCCG (CCC = XYZ). Would you know how to get me started on how to improve my results when compared to Fluent (according to the images I presented above)? |
||
October 17, 2018, 03:18 |
|
#7 | |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11 |
Quote:
The tolerance lets you define a final residual to be reached per iteration. If you e.g. use tolerance 1e-6; the Final residual of your variable (p, U, k, etc.) will be < 1e-6. The relTol keyword lets you define a relative tolerance based on the initial iteration residual. If you use relTol 0.1; the final residual of the interation will be final res. = relTol*inti. res. So if your iteration starts with Initial residual = 0.5437478881 the iteration ends at Final residual = 0.05437478881. So i would think that if you want to control your Final residual you should rather the the tolerance. Setting relTol to 0 disables the keyword.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
||
October 17, 2018, 03:34 |
|
#8 | |
Member
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16 |
Quote:
If you are happy with your fvSolution, you should also look at your fvSchemes as the settings there also affect accuracy. Then, please also keep in mind that a mesh which is good for Fluent is not necessarily good for OpenFOAM. Fluent will likely be able a handle bad quality cells better than OF. You could run checkMesh and see what OF thinks about your mesh. Then, also mesh related, is the height of your surface layers. Maybe your wall model in Fluent is different than what you are using in OF.
__________________
www.MantiumCAE.com |
||
October 17, 2018, 07:53 |
|
#9 | ||||
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 225
Rep Power: 10 |
Quote:
Quote:
CheckMesh: Quote:
Quote:
|
|||||
October 18, 2018, 02:10 |
|
#10 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11 |
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
|
October 18, 2018, 08:09 |
|
#11 |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 225
Rep Power: 10 |
I will test with the settings mentioned above, since you have recommended them.
I'm not 'VERY' hopeful. Actually the difference of the results I got in OF compared to those of the Fluent are glaring (I attached an image below). I believe the only output at the moment is to look at fvSolution and increase the tolerance (10-8) to see if I can lower the results in RMSx and RMSy (since the flow is in the Z direction and the RMS is with "good" results). Would you have any other suggestions? *Another point I have to address is the difference in uTau values. In Fluent for this same flow, uTau is 0.1. In OF I have obtained results of 0.09. And unfortunately I do not understand why. I'm using this formulation to monitor uTau through the additional swak4Foam: sqrt(nu*mag(snGrad(U))). I believe the equation is correct ... right? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simpleFOAM (RANS) - internal pipe flow - 'k' | gu1 | OpenFOAM Running, Solving & CFD | 1 | May 15, 2018 07:17 |
pisoFoam, fully developed pipe flow using cyclic BC's | thijs1909 | OpenFOAM Running, Solving & CFD | 17 | February 21, 2018 22:07 |
integral length scale and cross-correlation (with openfoam data, LES pipe flow) | jet | Main CFD Forum | 1 | November 7, 2016 04:23 |
internal pipe flow | Amar Kad | CFX | 0 | January 23, 2016 00:46 |
LES of highly heated pipe flow - incorrect results | MichalH | FLUENT | 3 | June 3, 2009 05:00 |