我在使用buoyantSimpleFoam时需要将流体密度、黏度、热导率、定压比热容等设置成温度的插值函数,通过如下的thermophysicalProperties字典文件能够实现依照温度插值的效果吗?
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2306 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heRhoThermo;
mixture pureMixture;
transport tabulated;
thermo hTabulated;
equationOfState icoTabulated;
specie specie;
energy sensibleEnthalpy;
}
mixture
{
specie
{
molWeight 1;
}
equationOfState
{
rho
(
(300 1)
(400 1)
...
(1000 1)
);
}
thermodynamics
{
Hf 0;
Sf 0;
Cp
(
(300 1)
(400 1)
...
(1000 1)
);
}
transport
{
mu
(
(300 1)
(400 1)
...
(1000 1)
);
kappa
(
(300 1)
(400 1)
...
(1000 1)
);
}
}
// ************************************************************************* //