/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
//文件格式
FoamFile
{
version 2.0; //版本号
format ascii; //文本格式
class dictionary; //类型为字典文件
location "system"; //所在目录
object fvSchemes; //对象名字
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//时间一阶导项(非定常项)格式
ddtSchemes
{
default Euler;//一阶精度,有界,隐式
//localEuler,局部时间步,一阶精度,有界,隐式
//CrankNicolson,phi,二阶精度,有界,隐式
//backward,二阶精度,隐式
//steadyState,定常,忽略时间导数项
//其中,CrankNicolson格式中的系数介于0和1之间,时为纯Crank-Nicolson格式,时为纯Euler格式。
}
//梯度项格式
gradSchemes
{
default Gauss linear;//Gauss <interpolationScheme>,高斯积分,<interpolationScheme>设置插值格式,二阶精度
grad(T) Gauss linear;
}
//散度项格式
divSchemes
{
default none;//Gauss <interpolationScheme>为线化此非线性项,在对对流项进行离散的过程中
}
//拉普拉斯项格式
laplacianSchemes
{
default none;//
laplacian(DT,T) Gauss linear corrected;
//Gauss<interpolationScheme> <snGradScheme>
}
//插值格式
interpolationSchemes
{
default linear;//cubicCorrection、midPoint线性插值(中心差分)格式----中心格式--二阶,无界
//skewLinear,二阶带skewness修正,无界
//cubicCOrrected,四阶无界
//upwind,一阶,有界--迎风格式
//linearUpwind,QUICK一/二阶,SFCD,二阶,有界
}
//面法向梯度格式
snGradSchemes
{
default corrected;//显式非正交修正格式
//uncorrected;无非正交修正格式
//limited,0.5,phi,非完全正交修正格式
//bounded, 对正值标量的有界修正格式
//fourth,四阶格式
}
// ************************************************************************* //
openFoam—fvschemes文件解读
最新推荐文章于 2024-04-05 19:04:16 发布