diff --git a/tutorials/sonicTurbFoam/nacaAirfoil/system/controlDict b/tutorials/sonicTurbFoam/nacaAirfoil/system/controlDict index 31559931cf18171a8d54b924fe2f196e6cdc03ae..633ee17026fcb5e2f00b6de867e311d0713fc787 100644 --- a/tutorials/sonicTurbFoam/nacaAirfoil/system/controlDict +++ b/tutorials/sonicTurbFoam/nacaAirfoil/system/controlDict @@ -44,4 +44,60 @@ timePrecision 6; runTimeModifiable yes; +functions +( + //forces + //{ + // type forces; + // functionObjectLibs ("libforces.so"); + // + // // Patches to sample + // patches (WALL10); + // // Name of fields + // pName p; + // Uname U; + // // Dump to file + // log true; + // // Density + // rhoInf 1; + // // Centre of rotation + // CofR (0 0 0); + //} + + forces + { + type forceCoeffs; + functionObjectLibs ("libforces.so"); + + // Patches to sample + patches (WALL10); + // Name of fields + pName p; + Uname U; + // Dump to file + log true; + // Density + rhoInf 1; + // Centre of rotation + CofR (0 0 0); + + // Direction for lift + liftDir (-0.239733 0.970839 0); + // Direction for drag + dragDir ( 0.970839 0.239733 0); + + // Pitching axis + pitchAxis (0 0 1); + + magUInf 618.022; + + lRef 1.0; + Aref 1.0; + } + + +); + + + // ************************************************************************* //