最简单的提取openfoam边界名字的方法
-
6 ( FOIL { type wall; inGroups 1(wall); nFaces 267; startFace 55485; } INLET { type patch; nFaces 89; startFace 55752; } OUTLET { type patch; nFaces 138; startFace 55841; } WALL_UP { type wall; inGroups 1(wall); nFaces 158; startFace 55979; } WALL_DOWN { type wall; inGroups 1(wall); nFaces 158; startFace 56137; } frontAndBackPlanes { type empty; inGroups 1(empty); nFaces 55890; startFace 56295; } )
请问哪位大佬知道有没有最简单的方法,可以把上面的边界名提出处理,要最简单的方法,不打算写openfoam程序来处理。就是处理成这样:
FOIL INLET OUTLET WALL_UP WALL_DOWN frontAndBackPlanes