OpenFOAM我想refine多个set,或者监测多个patch,这里该怎么写呀??
-
如下代码,我想refine多个set集合,或者flowRatePatch多个name patch,这种该怎么写呀??试了几个都不行。。。。求助
FoamFile { version 2.0; format ascii; class dictionary; object refineMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // set c0;//集合名字 coordinateSystem global;//全局坐标系 globalCoeffs { tan1 (1 0 0);//X方向 tan2 (0 1 0);//Y方向,Z方向自动生成 }
name inlet,outlet; writeControl timeStep; writeInterval 1; #includeEtc "caseDicts/postProcessing/flowRate/flowRatePatch.cfg"
-
@李东岳 在 OpenFOAM我想refine多个set,或者监测多个patch,这里该怎么写呀?? 中说:
可以放多个flowratepatch
老师,咋能放多个呢,controlDict目录也只能放一个同名的flowratepatch文件呀,就算在flowratepatch文件里面写两个,它也只执行一个patch
name inlet; writeControl timeStep; writeInterval 1; name outlet; writeControl timeStep; writeInterval 1; #includeEtc "caseDicts/postProcessing/flowRate/flowRatePatch.cfg"