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. 动网格并行计算找不到point文件

动网格并行计算找不到point文件

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

    求解器interFoam,涉及旋转动网格
    具体问题是:
    从中间时间步(非0时间文件)开始计算的话,decomposePar生成的processor文件的constan-polyMesh文件中不包含“point”文件,导致后续并行计算报错

    /*---------------------------------------------------------------------------*\
      =========                 |
      \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
       \\    /   O peration     | Website:  https://openfoam.org
        \\  /    A nd           | Version:  10
         \\/     M anipulation  |
    \*---------------------------------------------------------------------------*/
    Build  : 10
    Exec   : interFoam -parallel
    Date   : Mar 20 2023
    Time   : 14:31:00
    Host   : "dyfluid-virtual-machine"
    PID    : 5576
    I/O    : uncollated
    Case   : /home/dyfluid/OpenFOAM/dyfluid-10/run/2Dtry
    nProcs : 2
    Slaves : 1("dyfluid-virtual-machine.5577")
    Pstream initialised with:
        floatTransfer      : 0
        nProcsSimpleSum    : 0
        commsType          : nonBlocking
        polling iterations : 0
    sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
    allowSystemOperations : Allowing user-supplied system call operations
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    Create mesh for time = 0.2
    
    Selecting fvMeshMover motionSolver
    Selecting motion solver: solidBody
    [0] 
    [0] 
    [0] --> FOAM FATAL ERROR: [1] 
    [1] 
    [1] --> FOAM FATAL ERROR: 
    [1] cannot find file "/home/dyfluid/OpenFOAM/dyfluid-10/run/2Dtry/processor1/constant/polyMesh/points"
    [1] 
    [1]     From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
    
    [0] cannot find file "/home/dyfluid/OpenFOAM/dyfluid-10/run/2Dtry/processor0/constant/polyMesh/points"
    [0] 
    [0]     From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
    [0]     in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 539.
    [0] 
    FOAM parallel run exiting
    [0] 
    [1]     in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 539.
    [1] 
    FOAM parallel run exiting
    [1] 
    --------------------------------------------------------------------------
    MPI_ABORT was invoked on rank 1 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0
    with errorcode 1.
    
    NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
    You may or may not see output from other processes, depending on
    exactly when Open MPI kills them.
    --------------------------------------------------------------------------
    [dyfluid-virtual-machine:05572] 1 more process has sent help message help-mpi-api.txt / mpi-abort
    [dyfluid-virtual-machine:05572] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
    
    

    目前尚不清楚该如何解决,求助

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

    decomposePar的log怎么提示?

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

    郑 1 条回复 最后回复
  • 郑 离线
    郑 离线
    郑学习
    在 中回复了 李东岳 最后由 编辑
    #3

    @李东岳 李老师您好
    这是中间时间文件decomposePar的结果

    /*---------------------------------------------------------------------------*\
      =========                 |
      \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
       \\    /   O peration     | Website:  https://openfoam.org
        \\  /    A nd           | Version:  10
         \\/     M anipulation  |
    \*---------------------------------------------------------------------------*/
    Build  : 10
    Exec   : decomposePar
    Date   : Mar 21 2023
    Time   : 16:04:48
    Host   : "dyfluid-virtual-machine"
    PID    : 3798
    I/O    : uncollated
    Case   : /home/dyfluid/OpenFOAM/dyfluid-10/run/2Dtry
    nProcs : 1
    sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
    allowSystemOperations : Allowing user-supplied system call operations
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    
    
    Decomposing mesh region0
    
    Create mesh
    
    Calculating distribution of cells
    Selecting decomposer scotch
    
    Finished decomposition in 0.038637 s
    
    Calculating original mesh data
    
    Distributing cells to processors
    
    Distributing faces to processors
    
    Distributing points to processors
    
    Constructing processor meshes
    
    Processor 0
        Number of cells = 42000
        Number of faces shared with processor 1 = 80
        Number of processor patches = 1
        Number of processor faces = 80
        Number of boundary faces = 85660
    
    Processor 1
        Number of cells = 42000
        Number of faces shared with processor 0 = 80
        Number of processor patches = 1
        Number of processor faces = 80
        Number of boundary faces = 85180
    
    Number of processor faces = 80
    Max number of cells = 42000 (0% above average 42000)
    Max number of processor patches = 1 (0% above average 1)
    Max number of faces between processors = 80 (0% above average 80)
    
    Time = 0.0005s
    
    Processor 0: field transfer
    Detected additional non-decomposed files in "/home/dyfluid/OpenFOAM/dyfluid-10/run/2Dtry/0.0005/uniform"
    Processor 1: field transfer
    Detected additional non-decomposed files in "/home/dyfluid/OpenFOAM/dyfluid-10/run/2Dtry/0.0005/uniform"
    
    End
    
    

    这个0.0005时间文件,是之前并行计算后reconstructPar出来的
    我自己对比了一下,用0文件分网格出来,和0.0005分网格出来,确实后者会少一个“point”文件
    个人推测和动网格有关,因为我用dambreak的并行计算对比过,dambreak中途进行并行计算是可行的,但是具体哪里出问题了还不清楚

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

    用0文件分网格出来,和0.0005分网格出来,确实后者会少一个“point”文件

    你把0.0005改成0试一下

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

    郑 1 条回复 最后回复
  • 郑 离线
    郑 离线
    郑学习
    在 中回复了 李东岳 最后由 编辑
    #5

    @李东岳 试了一下,文件名和“uniform-time”文件里面的时间信息也都更改了,分网格出来仍然没有“point”文件

    1 条回复 最后回复

  • 登录

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