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

drag an lift coeffis after solution is done using ExecFlowFuntionObjects

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

LinkBack Thread Tools Display Modes
Old   June 2, 2010, 04:38
Default drag an lift coeffis after solution is done using ExecFlowFuntionObjects
Join Date: May 2009
Location: Spain
Posts: 46
Rep Power: 10
anmartin is on a distinguished road
I would like to calculate drag an lift coefficients after solution is done, It is possible to calculate it using “execFlowFuntionObjects” it generate a folder for forces and for forceCeffs, but it overwrite the file for every time-step.

When I solve the case the controldic works well, but it is no possible to use the same dic for postproccesing.

My controldic is:

type forces;
functionObjectLibs (""); //Lib to load
patches (name); // change to your patch name
rhoName rhoInf;
rhoInf 1.225; //Reference density for fluid
CofR (5.885 0 0); //Origin for moment calculations
outputControl timeStep;
outputInterval 1;
type forceCoeffs;
functionObjectLibs ("");
patches (name);
rhoName rhoInf;
rhoInf 1.225;
CofR (5.885 0 0);
liftDir (0 0 1);
dragDir (-1 0 0);
pitchAxis (0 1 0);
magUInf -20;
lRef 5.885;
Aref 8.91037; //projected area
outputControl timeStep;
outputInterval 1;
Can someone help me?

anmartin is offline   Reply With Quote

Old   June 15, 2010, 10:45
Senior Member
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 10
rieuk is on a distinguished road
Hi angel,

Are you doing a transient simulation? I'd like to do the same for a transient simulation - I have a bunch of results for which I've now decided I'd like lift and drag coefficients for. Does anyone know how to do this??

I had no idea about execFlowFunctionObjects - what does this do?
rieuk is offline   Reply With Quote

Old   September 15, 2011, 05:06
New Member
Thijs Gillebaart
Join Date: Oct 2010
Location: Delft
Posts: 2
Rep Power: 0
tgillebaart is on a distinguished road
Any solution for this problem? Why is the forces file overwritten each time step for postprocessing with execFlowFunctionObjects?
tgillebaart is offline   Reply With Quote


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
how to set lift and drag coefficients in force mon alagesanj FLUENT 0 November 16, 2008 21:47
Correct lift but wrong pressure drag - possible? zx Main CFD Forum 4 July 27, 2007 23:38
Find Mean Drag and Mean lift using LES Cfd-Student FLUENT 1 January 9, 2006 12:03
Lift and Drag Coefficients Reliability Luis FLUENT 2 December 27, 2005 15:45
Fluid mechanics / drag & lift Jamcam Main CFD Forum 0 October 31, 2002 05:39

All times are GMT -4. The time now is 08:38.