python找不到polyMesh文件夹
-
想使用python提取一个三维模型的数据,之前用这个代码成功提取过二维模型
报错如下:Traceback (most recent call last): File "time1depth.py", line 76, in <module> x, z = readxz(case) File "time1depth.py", line 10, in readxz x, y, z = fluidfoam.readmesh(case) File "/home/work/OpenFOAM/OpenFOAM-v2306/fluidfoam-master/fluidfoam/readof.py", line 1063, in readmesh raise ValueError( ValueError: ('No ', '/constant/polyMesh/', ' directory in ', '../sedfoam-2312/3DScour/1D/', ' Please verify the directory of your case.')
数据在3DScour中,case路径在3DScour中或者1D中均显示该报错,麻烦各位大佬帮忙,感谢!