CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

thermophysicalProperties for multicompound

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2024, 11:03
Default thermophysicalProperties for multicompound
  #1
New Member
 
LIYAFEI
Join Date: May 2022
Posts: 8
Rep Power: 4
LIYAFEI is on a distinguished road
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?
LIYAFEI is offline   Reply With Quote

Old   February 27, 2024, 11:05
Default
  #2
New Member
 
LIYAFEI
Join Date: May 2022
Posts: 8
Rep Power: 4
LIYAFEI is on a distinguished road
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 );
}
}
LIYAFEI is offline   Reply With Quote

Old   February 28, 2024, 05:12
Default
  #3
New Member
 
LIYAFEI
Join Date: May 2022
Posts: 8
Rep Power: 4
LIYAFEI is on a distinguished road
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.
LIYAFEI is offline   Reply With Quote

Reply

Tags
multicomponent, openfoam 11, thermophysical properties


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:45.