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

Force Coeffs with icoFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By A.Wendy

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 18, 2013, 10:33
Default Force Coeffs with icoFoam
  #1
Member
 
VS
Join Date: Nov 2012
Posts: 86
Rep Power: 13
VSass is on a distinguished road
Hello there,

i'm trying to use the function object forces and forceCoeffs with icoFoam.

i put this in controlDict :

functionObjects
(
forces
{
type forces;
functionObjectLibs ("libforces.so"); //Lib to load
patches (Upstream); // change to your patch name
rhoInf 1.225; //Reference density for fluid
CofR (0.25 0 0); //Origin for moment calculations
}

forceCoeffs
{
type forceCoeffs;
functionObjectLibs ("libforces.so");
patches (Upstream); //change to your patch name
rhoInf 1.225;
CofR (0 0 0);
liftDir (0 1 0);
dragDir (1 0 0);
pitchAxis (0.25 0 0);
magUInf 10.0;
lRef 1;
Aref 1;
}

I thought that a .dat file should appear in my case directory, but nothing happens.
Is there anything else i should do, complie or add something else?
VSass is offline   Reply With Quote

 

Tags
force, forcecoeffs, forces, functionobjects


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
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 10 September 14, 2018 11:12
How to add a source term (body force) to icoFoam? chris Liu OpenFOAM Programming & Development 4 October 27, 2014 15:38
Force coeffs in compressible flows nachettito OpenFOAM Post-Processing 0 August 13, 2012 06:18
Force can not converge colopolo CFX 13 October 4, 2011 22:03
DEFINE_CG_MOTION and pressure force Teo Fumagalli FLUENT 0 April 11, 2008 10:25


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