fsiFoam自带算例 ./Allrun 报错
-
@number44你好,这个算例里的Allrun是有两个blockMesh的,在polyMesh文件夹中是有points文档的。
如图:
以下是Allrun的文本代码:#!/bin/sh # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name application=`getApplication` runApplication -l log.blockMesh.solid blockMesh -case ../solid runApplication -l log.setSet.solid setSet -case ../solid -batch ../solid/setBatch runApplication -l log.setToZones.solid setsToZones -case ../solid -noFlipMap runApplication blockMesh runApplication setSet -batch setBatch runApplication setsToZones -noFlipMap cd .. # Build setInletVelocity function object wmake libso setInletVelocity ./makeSerialLinks fluid solid cd fluid runApplication $application # ----------------------------------------------------------------- end-of-file
-
借鉴这个教程已解决
https://zhuanlan.zhihu.com/p/450526288