Reading forces within solver code
Hello FOAMers,
what would be the best way of reading forces within solver code? I'm calculating some cases with OF 1.6 via simpleFoam. I noticed the function objects where pressure and viscous forces/moments are integrated over given patches. In forces.C Code:
fm.first().first() (pressure force) or fm.first().second() (viscous force) Code:
fm.second().first() (moment of pressure force) or fm.second().second() (moment viscous force) I'm not familiar with the code conventions of OF! Any advice is much appreciated... /Stefan |
All times are GMT -4. The time now is 08:02. |