MPPICFoam计算求解时的错误
-
首先感谢李老师在忙碌中的回复,我的文件如下@李东岳
application MPPICFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 7; deltaT 2e-4; writeControl runTime; writeInterval 0.1; purgeWrite 0; writeFormat binary; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable yes; libs ( "libturbinesFoam.so" ); functions { fieldAverage { type fieldAverage; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; timeStart 1.0; outputControl outputTime; resetOnRestart true; resetOnOutput false; fields ( U.air { mean on; prime2Mean on; base time; } p { mean on; prime2Mean off; base time; } nut.air { mean on; prime2Mean off; base time; } k.air { mean on; prime2Mean off; base time; } ); } } DebugSwitches { axialFlowTurbineALSource 0; actuatorLineSource 0; actuatorLineElement 0; LeishmanBeddoes 0; }
我将上面改为u、nut、不加.air后,计算没有报错了,但是只计算了0.0064s,end结束