/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
forces1-gas
{
type forces;
libs ("libforces.so");
writeControl timeStep;
timeInterval 1;
log yes;
patches (impeller_66 impeller_67);
rho rhoInf; // Indicates incompressible
log true;
rhoInf 700; // Redundant for incompressible
phase gas;
p p;
CofR (0 0.35 0); // Rotation around centre line of propeller
pitchAxis (0 5 0);
}
// ************************************************************************* //
把每个相的扭矩值都分别处理,然后相加即可,跟实验值较为吻合