|
[Sponsors] |
Implementation of turbulent algebraic heat flux model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 15, 2021, 15:03 |
|
#21 |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15 |
Hi @Andrea, nice to read you around!
I managed to implement this some months ago in OpenFOAM 7, and it provides reasonable results in forced convection. As they say before, it seems quite unstable, so it is better to initialize with another turbulence model. If you are trying to use it in natural convection, it can be painful. About the fvSolutions, I use to relax the THF (check any pEqn.H to check out how you can do this), and try to use upwind schemes, at least at the beginning of the simulation. The problems I found out with this model is the numericla stability: the leftSide as @jherb refers to can have a very bad condition number, which leads to spurious THF values, even if the region is isothermal. I'm looking for some workarounds for this. Good luck! BTW: what is the test case you use to validate your implementation? |
|
February 15, 2021, 15:15 |
|
#22 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
If it can be of any consolation, this turbulent heat flux closure was pretty unstable in both STAR-CCM+ and Code_Saturne as well.
On top of what Augustin mentioned above, I would also suggest to ramp-up the values of the coefficients gradually from ~ 0 to their final value. It might also be helpful to set Ct4 = 0 altogether (unless the term multiplied by Ct4 plays a key role in the physics of the case that you are modelling). Good luck, Andrea |
|
February 16, 2021, 17:05 |
|
#23 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
This exactly what I also saw: At the beginning of the simulation of a Rayleigh–Bénard convection, when the whole flow domain has the same temperature and only the walls are heated, the simulation gets immediatelly unstable.
At the end of the simulation (with whatever tricks like bounding terms to get there) the simulation gets stable |
|
November 27, 2021, 07:51 |
|
#24 |
New Member
Yuan Baoqiang
Join Date: Nov 2016
Location: China
Posts: 3
Rep Power: 10 |
Quote:
hi Fabio. I have the same question as you mentioned before. I have no idea to implement thermal expansion coefficient. I try to create a new value in createFields.H but failed. |
|
December 30, 2021, 03:08 |
|
#25 | |
New Member
Zhen WANG
Join Date: Jul 2021
Posts: 4
Rep Power: 5 |
Quote:
Dear jherb, I couldn't find buoyantBoussinesqPimpleFoam in openfoam7. Maybe you mean openfoam6? I noticed that this FOAM has been deleted in openfoam7/8/9, I don't know why. I also want to implant the AHFM-NRG model into OpenFOAM, just beginning, and I hope to get more guidance from you. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
CFX radiatin model wall heat flux imblance | cscfx | CFX | 0 | May 21, 2014 04:39 |
UDF for Heat Exchanger model | francois louw | FLUENT | 2 | July 16, 2010 03:21 |
Natural convection - Inlet boundary condition | max91 | CFX | 1 | July 29, 2008 21:28 |