|
[Sponsors] |
solidificationMeltingSource - varying thermal properties |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 18, 2023, 07:16 |
solidificationMeltingSource - varying thermal properties
|
#1 |
New Member
Join Date: Apr 2023
Posts: 8
Rep Power: 3 |
Dear Foamers,
I am working with an ice melting problem, that I intended to model using solidificationMeltingSource. I am using OF8. I have managed to validate its use assuming that the thermal properties (density, specific heat capacity, thermal conductivity) remain the same at both sides of the melting temperature. The issue is, for ice-water, all these three properties undergo quite a sharp jump at 0 oC and, if I have correctly understood, it is not possible to provide solidificationMeltingSource with different properties for the liquid and the solid. It is the solver who must be provided with a way to determine them in function of temperature (or fraction of liquid). So far, I have tried the following, without success:
I am trying to avoid the last one, together with upgrading to OF10 or downgrading to OF7. I am pretty sure there must be a (or even several) easier solutions than the ones posted above. How would you implement this jump? Is there a way to use sMS that I am missing? Or to provide the property calculation at run time without compiling a new solver or thermotype? Thanks in advance for your help |
|
March 11, 2024, 07:36 |
|
#2 |
New Member
Dasha
Join Date: Sep 2023
Posts: 14
Rep Power: 2 |
Hello,
I'm struggling with the same problem, do you have any progress? |
|
March 12, 2024, 05:40 |
|
#3 |
New Member
Join Date: Apr 2023
Posts: 8
Rep Power: 3 |
Hi,
Any progress ? Well, I managed to solve the problem, but the solution was far less than optimal.
I have recently discovered that you can use #codestream to include code that is compiled compiled during runtime. I have successfully used it for a complex boundary condition. I think it should be possible to include in your thermo dictionary some lines that:
Please let me know if this helps you, and if you happen to try it, could you let me know if it worked? Regards and good luck |
|
Tags |
multicomponent mixture, solidificationmeltingsour, thermo type |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 05:21 |
chtMultiRegionSimpleFoam: Thermal Conduction + Surface-To-Surface Radiation | Zeppo | OpenFOAM Running, Solving & CFD | 16 | May 18, 2017 18:04 |
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion | faizan_habib7 | CFX | 4 | February 1, 2016 17:00 |
Can i get the thermal properties | nareshpolasa | Main CFD Forum | 0 | July 7, 2009 13:05 |
Info: Short Course On Thermal Design of Electronic Equipment | Arnold Free | Main CFD Forum | 0 | August 10, 1999 10:18 |