OpenFOAM-4.x/tutorials/incompressible/pimpleDyMFoam/propeller/system/forces
2016-06-28 11:59:45 +01:00

30 lines
1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
forces
{
type forces;
libs ( "libforces.so" );
writeControl timeStep;
timeInterval 1;
log yes;
patches ( "propeller.*" );
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
CofR (0 0 0); // Rotation around centre line of propeller
pitchAxis (0 1 0);
}
// ************************************************************************* //