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

co-efficient of drag and lift

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2016, 06:30
Default co-efficient of drag and lift
  #1
Member
 
subhankar
Join Date: May 2016
Posts: 36
Rep Power: 9
SUBHANKAR is on a distinguished road
Hi everyone,
I have started using openFoam since last two months.
I am studying flow past a cylinder kept between two infinitely large plates. Reynolds no. is 500 and strouhal no. is 0.18.I want to get the co-efficient of drag and lift. How can i get the values?Also can you suggest appropriate boundary conditions.

Thanks in advance.

regards
Subhankar
SUBHANKAR is offline   Reply With Quote

Old   August 4, 2016, 10:43
Default
  #2
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
Hi,

You can get them by forces functions to place inside system/controDict.
For example, if you look to /tutorials/compressible/sonicFoam/ras/nacaAirfoil/system/controlDict
you will fine the following:

Code:
functions
{
    forces
    {
        type            forceCoeffs;
        libs ( "libforces.so" );
        writeControl   timeStep;
        writeInterval  1;

        patches
        (
            WALL10
        );

        log         true;
        rhoInf      1;
        CofR        (0 0 0);
        liftDir     (-0.239733 0.970839 0);
        dragDir     (0.970839 0.239733 0);
        pitchAxis   (0 0 1);
        magUInf     618.022;
        lRef        1;
        Aref        1;
    }
}
Good Luck !

Regards,
T.D.
T.D. is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to calculate lift, drag and lift distribution in Star CCM+? israelcasillas94 STAR-CCM+ 4 November 6, 2020 08:35
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 05:18
[OpenFOAM] Display lift and Drag in paraview SamerAli ParaView 1 May 16, 2013 12:51
Lift and Drag Monitor Point Values Converging to Zero Josh CFX 24 May 9, 2011 10:38
Correct lift but wrong pressure drag - possible? zx Main CFD Forum 4 July 27, 2007 23:38


All times are GMT -4. The time now is 05:09.