Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. OF并行报错未定义关键词PIMPLE

OF并行报错未定义关键词PIMPLE

已定时 已固定 已锁定 已移动 OpenFOAM
3 帖子 2 发布者 2.8k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • 小 离线
    小 离线
    小考拉
    写于 最后由 编辑
    #1

    在of2.3版本中,目前并行计算报错如下:

    [6] 
    [6] --> FOAM FATAL IO ERROR: 
    [6] keyword PIMPLE is undefined in dictionary "/project/zywang2/exp/processor6/system/fvSolution"
    [6] 
    [6] file: /project/zywang2/exp/processor6/system/fvSolution from line 0 to line 0.
    [6] 
    [6]     From function dictionary::subDict(const word& keyword) const[8] 
    

    感觉报错很奇怪,为什么会显示processor文件中的system未定义PIMPLE呢?

    理论上讲 在每一个processor里面应该没有system文件呀:zoule:

    fvSolution文件如下:

    solvers
    {
        alpha.water
        {
            nAlphaCorr      1;
            nAlphaSubCycles 1;
            cAlpha          1;
    
            MULESCorr       yes;
            nLimiterIter    5;
    
            solver          smoothSolver;
            smoother        symGaussSeidel;
            tolerance       1e-8;
            relTol          0;
            maxIter         100;
    
        }
    
         alpha.waterFinal
        {
            nAlphaCorr      1;
            nAlphaSubCycles 1;
            cAlpha          1;
    
            MULESCorr       yes;
            nLimiterIter    5;
    
            solver          smoothSolver;
            smoother        symGaussSeidel;
            tolerance       1e-8;
            relTol          0;
            maxIter         100;
    
        "U.*"
        {
            solver          smoothSolver;
            smoother        symGaussSeidel;
            tolerance       1e-6;
            relTol          0;
        };
    
        ".*(rho|rhoFinal)"
        {
            solver          diagonal;
        }
    
        pcorr
        {
            solver          PCG;
            preconditioner
            {
                preconditioner  GAMG;
                tolerance       1e-05;
                relTol          0;
                cacheAgglomeration true;
    			nCellsInCoarsestLevel 10;
    			nPreSweeps      0;
                nPostSweeps     2;
                nFinestSweeps   2;
    			agglomerator    faceAreaPair;
                smoother        DICGaussSeidel;
    			mergeLevels     1;
            }
            tolerance       1e-05;
            relTol          0;
    		agglomerator    faceAreaPair;
            maxIter         500;
        }
    	
        Phi
        {
            $p_rgh;
            relTol          0;
        };
    
        p_rgh
        {
            solver          GAMG;
            tolerance       1e-07;
            relTol          0.00001;
            smoother        DIC;
        }
    
        p_rghFinal
        {
            solver          PCG;
            preconditioner
            {
               preconditioner  GAMG;
    
                tolerance        1e-7;
                relTol           0;
    
                nVcycles         2;
    
                smoother         DICGaussSeidel;
                nPreSweeps       0;
                nPostSweeps      2;
                nFinestSweeps    2;
    
                cacheAgglomeration true;
                nCellsInCoarsestLevel 10;
                agglomerator     faceAreaPair;
                mergeLevels      1;
            }
            tolerance       1e-07;
            relTol          0;
            maxIter         1000;
        }
    
        U
        {
            solver          smoothSolver;
            smoother        GaussSeidel;
            tolerance       1e-06;
            relTol          0;
            nSweeps         1;
        }
    
        "(U|k|omega)"
        {
            solver          smoothSolver;
            smoother        symGaussSeidel;
            tolerance       1e-08;
            relTol          0.0001;
        }
    
        "(T|k|B|nuTilda).*"
        {
            solver          smoothSolver;
            smoother        symGaussSeidel;
            tolerance       1e-08;
            relTol          0;
            maxIter         100;
        }
        "(U|k|omega)Final"
        {
            solver          smoothSolver;
            smoother        symGaussSeidel;
            tolerance       1e-08;
            relTol          0;
        }
    }
    
    
    
    PIMPLE
    {
        momentumPredictor          no;
    	nOuterCorrectors 1;
        nCorrectors    3;
        nNonOrthogonalCorrectors 0;
    
    }
    

    请问有哪位朋友遇到过类似的问题呢??

    而且感觉从高版本里面可以运行的代码 放到 低版本里面运行,会出一堆很奇怪的问题。:zoule:

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #2

    不清楚,但是感觉是非常简单的文件设置问题

    OpenFOAM这面如果不是老手,强烈不建议代码算例混用。我记得你好像是拿到一个代码只能在openfoam 2.3上运行,我建议你移植到openfoam 7

    或者就只运行openfoam 2.3

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复
  • 小 离线
    小 离线
    小考拉
    写于 最后由 编辑
    #3

    嗯嗯,好的,谢谢李老师指点:chitang:

    1 条回复 最后回复

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]