当我把一个封闭几何体的各个面分成多个stl文件,snappyhexmesh文件中该怎么定义这些stl呢,它自动识别并封闭吗?
-
geometry { inlet { type triSurfaceMesh; file "inelt.stl"; } wall { type triSurfaceMesh; file "wall.stl"; } outlet1 { type triSurfaceMesh; file "outlet1.stl"; } outlet2 { type triSurfaceMesh; file "outlet2.stl"; } };
我是这么写的,但是运行有报错:Cannot find triSurfaceMesh at "/home/openfoam/6207/1/constant/triSurface/inelt.stl"
-
先检查路径,一般入口是inlet,你应该就是拼错名字了(现在是inelt),可能你导出的时候是对的,snappyhexmesh里错了