OpenFOAM 里计算Cp,Cf等参数
-
我是用rhoSimpleFoam计算螺旋桨,但后处理时我需要得到螺旋桨的推力,扭矩,以及螺旋桨叶片表面(或者某一截面)的叶片表面压力系数Cp,阻力系数Cf等值。我是要在controlDict里面指定什么函数吗?在网上也没找到合适的教程,求各位大神帮忙解答一下。
-
functions { forceCoeffs1 { type forceCoeffs; libs ("libforces.so"); writeControl timeStep; timeInterval 1; log yes; patches (cylinder); rho rhoInf; // Indicates incompressible rhoInf 1; // Redundant for incompressible liftDir (0 1 0); dragDir (1 0 0); CofR (0 0 0); // Axle midpoint on ground pitchAxis (0 0 1); magUInf 1; lRef 2; // Wheelbase length Aref 6; // Estimated /* binData { nBin 20; // output data into 20 bins direction (1 0 0); // bin direction cumulative yes; } */ } }
-
李老师,这个function可以输出Cp吗?
-
-
@hoversoar 你好,请问下这个Cp后处理是如何实现的呢,非常感谢
-
@rebelyoung 放在controlDict文件的functions中
2019年12月21日 01:17
4/10
2022年1月26日 10:07