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

Calculating lift forces on various bodies

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2016, 17:08
Default Calculating lift forces on various bodies
  #1
New Member
 
Isaac
Join Date: Feb 2013
Posts: 27
Rep Power: 13
isaac1326 is on a distinguished road
I have taken a simple model of an aircraft and successfully ran the simulation.
I have split the model into fuselage, left wing and right wing.
When I checked the forcecoeff file, it showed me one single number for lift, one single number for drag and one single number for moment.
Since I was unable to create the patch commands, my snappyhexmesh commands looks something like this...
geometry
{
CF.obj
{
type triSurfaceMesh;
name CF;
}
RW.obj
{
type triSurfaceMesh;
name RW;
}
LW.obj
{
type triSurfaceMesh;
name LW;
}
where CF stands for fuselage and RW stands for right wing and LW stands for left wing
isaac1326 is offline   Reply With Quote

Old   August 31, 2016, 08:30
Default
  #2
New Member
 
Join Date: May 2016
Posts: 28
Rep Power: 9
g.freeman is on a distinguished road
Quote:
Originally Posted by isaac1326 View Post
I have taken a simple model of an aircraft and successfully ran the simulation.
I have split the model into fuselage, left wing and right wing.
When I checked the forcecoeff file, it showed me one single number for lift, one single number for drag and one single number for moment.
Since I was unable to create the patch commands, my snappyhexmesh commands looks something like this...
geometry
{
CF.obj
{
type triSurfaceMesh;
name CF;
}
RW.obj
{
type triSurfaceMesh;
name RW;
}
LW.obj
{
type triSurfaceMesh;
name LW;
}
where CF stands for fuselage and RW stands for right wing and LW stands for left wing

In controlDict file you need to define for each part properties of your forces coefficient, like this:

Quote:
{
type forceCoeffs;
functionObjectLibs ( "libforces.so" );
outputControl timeStep;
outputInterval 1;

patches ( "airfoil.*" );
pName p;
UName U;
rhoName rhoInf;
log true;

liftDir (-6.98e-2 0 9.98e-1);
dragDir ( 9.98e-1 0 6.98e-2);
CofR (0.25 0 0);
pitchAxis (0 1 0);

magUInf 87.5;
rhoInf 1000;
lRef 1;
Aref 0.1;
}
Instead of patches you have to write CF, RW, ecc.ecc. and after that you will look lift and drag coefficients for each patch
g.freeman is offline   Reply With Quote

Old   August 31, 2016, 10:17
Default
  #3
New Member
 
Isaac
Join Date: Feb 2013
Posts: 27
Rep Power: 13
isaac1326 is on a distinguished road
Yes, I have done that, when I open the postprocessing file
It just shows me
one CL value and one CD value
..
This was my control Dict File
Attached Files
File Type: txt forceCoeffs Copy.txt (2.1 KB, 2 views)
File Type: txt controlDictcopy.txt (4.8 KB, 0 views)
isaac1326 is offline   Reply With Quote

Reply


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
Lift forces generated by a Coanda UAV model gordonhere CFX 17 April 15, 2016 11:59
Calculating lift & drag forces in OpenFoam-2.1.0 bhups45 OpenFOAM 1 June 8, 2012 08:08
Vortex Lattice Method: Calculating lift using circulation from vortex ring elements black&gold Main CFD Forum 11 June 26, 2011 23:51
Calculating forces on a non-closed surface ScottN FLUENT 0 March 1, 2011 17:18
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27


All times are GMT -4. The time now is 20:12.