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

Find where force is applied

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 25, 2012, 20:16
Default Find where force is applied
  #1
Senior Member
 
Julien de Charentenay
Join Date: Jun 2009
Location: Australia
Posts: 231
Rep Power: 17
julien.decharentenay is on a distinguished road
Send a message via Skype™ to julien.decharentenay
Hi,

I am using simpleFoam (of v2.1.1). I am trying to find where the forces are applied and have been outputing the forces and moments using the following in the controlDict:
functions
(
forces
{
type forces;
functionObjectLibs ( "libforces.so" );
outputControl timeStep;
outputInterval 1;
patches ( "Volume_0_Wheel-1" "Volume_0_Wheel-2" "Volume_0_Wheel-3" "Volume_0_Wheel-4" "Volume_0_Car" );
rhoName rhoInf;
rhoInf 1.205;
pName p;
UName U;
log true;
CofR (0.0 0.0 0.0);
}
);

It worked great and I got all the outputs in the forces\0\forces.dat file:

# Time forces( pressure, viscous ) moment( pressure, viscous )
997 ( ( ( -25.6521 1575.07 -2489 ) ( 0.0440792 73.7995 8.74441 ) ) ( ( -5215.72 15.0189 86.2846 ) ( -15.0971 -0.0198099 -0.124274 ) ) )
998 ( ( ( -25.6488 1575.07 -2488.99 ) ( 0.0442406 73.8003 8.74387 ) ) ( ( -5215.69 15.0191 86.2908 ) ( -15.0984 -0.0198765 -0.124476 ) ) )
999 ( ( ( -25.6506 1575.07 -2489.01 ) ( 0.0442343 73.8004 8.74362 ) ) ( ( -5215.72 15.0171 86.289 ) ( -15.0978 -0.02023 -0.124946 ) ) )

My problem is that I can't work out how to derive the x,y,z coordinates where the forces are applied to obtain the moment. I have been struggling for a couple of hours and have to admit that geometry is one of my many weak points... Any help would be appreciated.

Thanks in advance
Julien
__________________
---
Julien de Charentenay
julien.decharentenay is offline   Reply With Quote

 


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
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 06:32
Time-averaged force in CFX rjmcsherry CFX 2 October 21, 2010 10:34
Body force at the cell face Souviktor Fluent UDF and Scheme Programming 0 March 31, 2009 08:54
plotting force magnitude force Siemens 6 July 11, 2008 04:19


All times are GMT -4. The time now is 06:24.