You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
900 B
C++
31 lines
900 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 11
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
forces
|
|
{
|
|
type forces;
|
|
|
|
libs ("libforces.so");
|
|
|
|
writeControl timeStep;
|
|
timeInterval 1;
|
|
|
|
log yes;
|
|
|
|
patches ("wag");
|
|
rho rhoInf; // Indicates incompressible
|
|
log true;
|
|
rhoInf 1000; // Redundant for incompressible
|
|
|
|
CofR (0 0 0); // Rotation around centre line of propeller
|
|
pitchAxis (1 0 0);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|