计算力学OpenFOAM讲座-基础篇(陈丽萍)【爆款】.pptVIP

  • 26
  • 0
  • 约1.03万字
  • 约 72页
  • 2020-09-17 发布于湖北
  • 举报

计算力学OpenFOAM讲座-基础篇(陈丽萍)【爆款】.ppt

PISO? //piso控制参数 { ??? nCorrectors???? 2;//修正次数 ??? nNonOrthogonalCorrectors 0;//非正交修正次数 ??? pRefCell??????? 0;//压力参考cell的index ??? pRefValue?????? 0;//压力参考值 } 0.0 * 离散格式的选择: 文件:system/fvSchemes,典型文件 :(省去文件头) ddtSchemes { ??? default???????? Euler; //欧拉离散 } gradSchemes //梯度离散 { ??? default???????? Gauss linear;//高斯方法,线性插值 ??? grad(p)???????? Gauss linear; //压力的梯度离散 } ? 0.0 * divSchemes? //散度离散 { ??? default???????? none;?????? //散度的离散(必须指定没有默认值) ??? div(phi,U)???Gauss linear;//对流项离散,高斯理论,用线性插值 } laplacianSchemes //拉普拉斯项离散 { ??? default???????? none;? //拉普拉斯项离散,必须指定 ??? laplacian(nu,U) Gauss linear corrected;? //扩散项离散采用高斯理论,采用线性插值 ??? laplacian((1|A(U)),p) Gauss linear corrected;//压力方程离散采用高斯理论,线性插值 } 0.0 * interpolationSchemes? //插值格式 { ??? default???????? linear;? //默认线性插值 ??? interpolate(HbyA) linear;//线性插值 } snGradSchemes//梯度法向分量 { ??? default????????corrected;//默认带有非正交修正 } fluxRequired //是否计算流律 { ??? default???????? no; //默认不计算 ??? p;//压力需要计算,因为需要利用压力流律修正速度 } 0.0 * 0目录中压力文件: FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * ** * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; 0.0 * boundaryField { movingWall {type zeroGradient; } fixedWalls {type zeroGradient; } frontAndBack { type empty; } } // *********************************** // 0.0 * ? dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { movingWall {type fixedValue; value uniform (1 0 0); } fixedWalls {type fixedValue; value uniform (0 0 0); } frontAndBack {type empty; } } 速度文件如下: 0.0 * transportProperties 字典文件: FoamFile { version 2.0; format ascii; class dictionary; location constant; object

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档