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

Get the total Forces in OpenFOAM

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2013, 08:54
Default Get the total Forces in OpenFOAM
Join Date: Jul 2013
Posts: 85
Rep Power: 13
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 2 February 15, 2016 12:25
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 14: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 03:58

All times are GMT -4. The time now is 02:46.