|
[Sponsors] | |||||
how is latent heat acounted for during phase change in compressibleInterFoam of9? |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
S Abrahams
Join Date: Mar 2022
Location: UK
Posts: 15
Rep Power: 5 ![]() |
I'm using compressibleInterFoam in OpenFOAM 9. It is possible to allow phase change using the Kunz, Merkle or Schnerr-Sauer models.
I expected there to be a source term in the temperature equation to account for the latent heat taken/released during vaporisation/condensation. I can't see any such source term or any correction to the temperature due to phase change. Code:
fvScalarMatrix TEqn
(
fvm::ddt(rho, T) + fvm::div(rhoPhi, T) - fvm::Sp(contErr, T)
- fvm::laplacian(turbulence.alphaEff(), T)
+ (
fvc::div(fvc::absolute(phi, U), p)()() // - contErr/rho*p
+ (fvc::ddt(rho, K) + fvc::div(rhoPhi, K))()()
- (U()&(fvModels.source(rho, U)&U)()) - contErr*K
)
*(
alpha1()/mixture.thermo1().Cv()()
+ alpha2()/mixture.thermo2().Cv()()
)
==
fvModels.source(rho, T)
);
TEqn.relax();
fvConstraints.constrain(TEqn);
TEqn.solve();
fvConstraints.constrain(T);
mixture.correctThermo();
mixture.correct();
Is a latent heat source term or temperature correction defined elsewhere? Or is the latent heat energy not accounted for in this solver? |
|
|
|
|
|
|
|
|
#2 |
|
New Member
saloni
Join Date: May 2025
Posts: 5
Rep Power: 2 ![]() |
Hello, I have had this same confusion. Did you find out?
|
|
|
|
|
|
![]() |
| Tags |
| compressibleinterfoam, latent heat, phase change |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Heat pipe simulation with phase change | mecman | OpenFOAM Running, Solving & CFD | 10 | May 8, 2020 04:42 |
| Conjugate heat transfer with phase change produced wrong temperature | qtruong | OpenFOAM Programming & Development | 0 | July 10, 2018 15:16 |
| Effective heat capacity - Phase change does not work!!! | papteo | CFX | 8 | October 31, 2013 06:15 |
| Phase change heat transfer | Lexa | FLUENT | 0 | October 10, 2011 03:53 |
| help needed about phase change | Yanhu Guo | Main CFD Forum | 4 | January 24, 2001 00:16 |