pitzDaily分别用RAS和LES模型进行计算并对比结果
-
各位老师大家好,
我想分别使用RAS和LES模型计算pitzDaily这个算例,并进行结果对比。求解器用的是simpleFoam。tutorials/incompressible/pisoFoam/les/pitzDaily里面pitzDaily用LES模型计算时用的是pisoFoam,我对fvsolution和controlDict文件进行了一点修改,想用simpleFoam计算得到稳定之后的结果。但是运行simpleFoam后计算一直无法无法稳定下来(无论计算时间设置多长)。以下是我修改的内容:fvsolution FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { p { solver GAMG; tolerance 1e-06; relTol 0.1; smoother GaussSeidel; } pFinal { $p; smoother DICGaussSeidel; tolerance 1e-06; relTol 0; } "(U|k|B|nuTilda|s)" { solver smoothSolver; smoother GaussSeidel; tolerance 1e-05; relTol 0; } } SIMPLE { nNonOrthogonalCorrectors 0; consistent yes; residualControl { p 1e-2; "(pFinal|U|B|nuTilda|s)" 1e-3; } } relaxationFactors { equations { U 0.9; // 0.9 is more stable but 0.95 more convergent ".*" 0.9; // 0.9 is more stable but 0.95 more convergent } } controlDict FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application simpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 2000; deltaT 1; writeControl timeStep; writeInterval 100; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true;