动网格并行计算找不到point文件
-
求解器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
目前尚不清楚该如何解决,求助
-
@李东岳 李老师您好
这是中间时间文件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中途进行并行计算是可行的,但是具体哪里出问题了还不清楚