|
[Sponsors] |
Diverging result for Temperature field in interFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 11, 2020, 09:15 |
Using temperature dependent density, viscosity and surface tension
|
#101 |
New Member
Nico van Esch
Join Date: Sep 2019
Posts: 1
Rep Power: 0 |
Dear all,
I am trying to reproduce/validate the result of the paper of Khater et al (2019): HTML Code:
https://www.nature.com/articles/s41598-019-40069-9 So I'm looking for something like this: I already looked into integrating the thermoPhysical library into the solver, but these are incompatible since these are only available for compressible solvers. If anyone can lead me the way to the answer, I would be very grateful. Best, //UPDATE never mind, found it myself. You can use: http://www.tfd.chalmers.se/~hani/kur...nFoam%20v2.pdf to make the viscosity temperature dependent. Then, you can use the temperatureDependent function to make a temperature dependent surface tension: sigma { type temperatureDependent; sigma polynomial ((a 1) (b 1) ); with a and b as in the equations above. Then, for the density I recalculated the polynomial above to fit to the bousineqq approximation and used the code from the beginning of this post. The only thing that I know still have to figure out, is to make the Prandtl number to be dependent of the temperature dependent viscosity. Anyone have suggestions on this? Last edited by nico.vanesch; February 18, 2020 at 06:31. |
|
July 16, 2020, 14:30 |
|
#102 |
Member
Join Date: Oct 2016
Posts: 31
Rep Power: 10 |
Hi Nico,
I have also added temperature equation to OF-v1812 using information provided in this sub Adding the Energy Equation to interFoam (OF 2.4.0). But results for temperature equation diverging. Which version of OpenFOAM you have used? Is there anything trick to make it work on simple damTempBreak tutorial? Thank you, Best regards Tonnykz |
|
November 28, 2021, 13:48 |
|
#103 |
New Member
AUbuntu
Join Date: Oct 2021
Posts: 6
Rep Power: 5 |
Hello Guys,
I see that this thread is very old. I am interested to know if any solver has been developed in OpenFOAM to be used for solving energy equation for interFoam during this 10 years period similar to interTempFoam. As I followed this thread and used different schemes such as harmonic and vanLeer scheme to suppress the diffusion at the water-air interface. vanLeer gives me the best results however there is still some unrealistic increase in temperature at the water-air interface. Does anyone have any idea how to completely solve this issue? Regards |
|
November 29, 2021, 09:42 |
|
#104 | |
Member
Join Date: Oct 2016
Posts: 31
Rep Power: 10 |
Quote:
Hi AUbuntu, I have switched to the formulation of energy equation as in this article https://github.com/MahdiNabil/CFD-PC I don't see same divergence with using it. Best, Tonnykz |
||
December 6, 2021, 09:55 |
|
#105 | |
New Member
AUbuntu
Join Date: Oct 2021
Posts: 6
Rep Power: 5 |
Quote:
Many thanks for your reply. So, based on my understanding in the paper they used the energy equation in the form of enthalpy (h) Is this the only change that you have considered? I saw they also mentioned using different surface-tension force model. Could you please also kindly let me know if you have also considered that? regards Last edited by AUbuntu; December 7, 2021 at 16:47. |
||
December 6, 2021, 10:02 |
|
#106 | |
Member
Join Date: Oct 2016
Posts: 31
Rep Power: 10 |
Quote:
Hi AUbuntu, Yes, they are using enthalpy and that what I have implemented. But they have thermal phase change implemented apart from special surface-tension models. Latter i did not consider. But also adopted thermal phase change models they provide. You can use noPhaseChange model if you want to model transient energy equation transport due to convection and diffusion. Best, Tonnykz |
||
Tags |
interfoam energy, temperature field |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting a concentration field around a bubble in InterFoam | azman | OpenFOAM Running, Solving & CFD | 3 | June 7, 2022 05:21 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Adding temperature field to InterFoam | yapalparvi | OpenFOAM Running, Solving & CFD | 8 | October 14, 2009 21:18 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
Problems calculating field gh with interFoam | cricke | OpenFOAM Running, Solving & CFD | 0 | December 10, 2007 08:17 |