|
[Sponsors] |
February 27, 2024, 11:03 |
thermophysicalProperties for multicompound
|
#1 |
New Member
LIYAFEI
Join Date: May 2022
Posts: 8
Rep Power: 4 |
Dear OpenFOAMer
Recently, I use the openfoam 11 (foundation edition) to simulate a multicompound gas + solid case with foamMultiRun. For the gas, thermophysicalProperties was set as follows: thermoType { type heRhoThermo; mixture coefficientWilkeMulticomponentMixture; transport polynomial; thermo hPolynomial; equationOfState icoPolynomial; specie specie; energy sensibleEnthalpy; } but, the transport, thermodynamics and equationOfState could not wok When I use : thermoType { type heRhoThermo; mixture coefficientWilkeMulticomponentMixture; transport sutherland; thermo janaf; equationOfState perfectGas; specie specie; energy sensibleEnthalpy; } It is ok. So I wanna know what is wrong with the code. And when I use the transport (polynomial), thermo (hPolynomial) and equationOfState (icoPolynomial), should I need to recompile openfoam? |
|
February 27, 2024, 11:05 |
|
#2 |
New Member
LIYAFEI
Join Date: May 2022
Posts: 8
Rep Power: 4 |
For example, there is one specie property
N2 { specie { molWeight 28.0134; } equationOfState { rhoCoeffs<8> ( 0.27748668 0.00015383 -0.0126020 0 0 0 0 0 ); } thermodynamics { Hf 0; Sf 0; CpCoeffs<8> ( 979.08 0.41787 -0.0011761 1.6742e-06 -7.2559e-10 0 0 0 ); } transport { muCoeffs<8> ( -1.59498e-05 -5.64465e-09 2.003549e-6 0 0 0 0 0 ); kappaCoeffs<8> ( -0.0236496 1.069544e-05 0.002561146 0 0 0 0 0 ); } } |
|
February 28, 2024, 05:12 |
|
#3 |
New Member
LIYAFEI
Join Date: May 2022
Posts: 8
Rep Power: 4 |
From the guidance, I know equationOfState icoPolynomial could not be used for mixture.
So know, I use equationOfState perfectGas. When conducting single-core simulation, there are no issues, but parallel simulation returns an error. |
|
Tags |
multicomponent, openfoam 11, thermophysical properties |
|
|