CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Get the total Forces in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2013, 09:54
Default Get the total Forces in OpenFOAM
  #1
Member
 
Join Date: Jul 2013
Posts: 98
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

Reply

Tags
forces, openfoam 2.2, total drag


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 13:25
Error Message Determining Forces in OpenFOAM 1.7 Greg Givogue OpenFOAM 3 August 23, 2010 19: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 06: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 18:42.