Get the total Forces in OpenFOAM
I'm starting to use OpenFOAM 2.2.0 and I have set up a very simple case with a Sphere within a laminar flow, to compare the results with Fluent.
I have change the ControlDict file to get the Forces, but they are always divided into Pressure and Viscous forces and Moments. But I want them together... Something as simple as a sum of the values, but I have no idea about how to do it... I have wasted some time trying to use AWK functions to extract the values from the forces file, but I don't know programming such things and I didn't manage to get it :(.
It must be very simple, because they are important values...
If you have some piece of code to implement somewhere, it would be great!
Thank you very much!
|All times are GMT -4. The time now is 23:49.|