Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation Contents Index Forces Acting On the Patch - forces Function Function forces is included in file controlDict. Definition of forces functions are created in file forces.fun. This functions can evaluate aerodynamic forces acting on selected model patches: forcesBlade { type forces; functionObjectLibs ( "libforces.so" ); outputControl timeStep; outputInterval 1; region rotor; patches ( blade_rot_wall ); pname pMean; Uname UMean; rhoName rhoInf; rhoInf 1; // blueSolver uses rho = 1 log true; CofR (0 0 0); } forcesWall { type forces; functionObjectLibs ( "libforces.so" ); outputControl timeStep; outputInterval 1; region rotor; patches ( hub_rot_wall_wall hub_rot_wheel_wall hub_rot_tip_wall ); pname pMean; Uname UMean; rhoName rhoInf; rhoInf 1; // blueSolver uses rho = 1 log true; CofR (0 0 0); } During the computation the results are written in directory forces/0/forces.dat. OpenFOAM Training by CFD Support, CFD SUPPORT, info@cfdsupport.com +420 212 243 883 © CFD support, s.r.o., Sokolovská 270/201, 190 00 Praha 9, Czech Republic