OpenFOAM当中物性参数的设置
固体当中物性参数的设置:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object
thermophysicalProperties
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
energy sensibleEnthalpy;
}
mixture
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa
8000;
}
thermodynamics
{
Hf
0;
Cp 450;
}
equationOfState
{
rho
8000;
}
}
// ************************************************************************* //
流体当中物性参数的设置:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object
thermophysicalProperties
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//pRef
thermoType
{
type heRhoThermo;
mixture pureMixture;
transport const;
thermo hConst;
//===================================================
//有自然对流存在的情况下
// equationOfState应设置为perfectGas(理想气体状态方程)
//====================================================
equationOfState rhoConst;
specie specie;
energy sensibleEnthalpy;
}
mixture
{
specie
{
nMoles
1;
molWeight
18;
}
equationOfState
{
//===========================
//密度
//采用理想气体状态方程时不设此项
//可根据其他物性参数计算得到
//============================
rho
1000;
}
thermodynamics
{
Cp
4181;
Hf 0;
}
transport
{
mu
500;
Pr
6.62;
}
}
// ************************************************************************* //
说明:
constTransport:粘度μ为常数,并有普朗特数公式:
来计算,其中需要制定μ和Pr。
通过对该公式进行变形,我们可以计算得到热导率为: