CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Post-Processing

Get the total Forces in OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 31, 2013, 08:54
Default Get the total Forces in OpenFOAM
Join Date: Jul 2013
Posts: 44
Rep Power: 4
HHOS is on a distinguished road
Hello everyone!

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!
HHOS is offline   Reply With Quote


forces, openfoam 2.2, total drag

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory protection in OpenFOAM / combinig with FORTRAN botp OpenFOAM Programming & Development 1 February 6, 2013 05:26
Error Message Determining Forces in OpenFOAM 1.7 Greg Givogue OpenFOAM 3 August 23, 2010 18:03
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
Total Forces on Nodes and Center of Pressure ?? Iqbal FLUENT 0 January 30, 2006 04:58

All times are GMT -4. The time now is 07:15.