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

Forces on two body-wing in compressible flow.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 12, 2016, 11:09
Default Forces on two body-wing in compressible flow.
  #1
New Member
 
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 5
Rovs is on a distinguished road
Hello!

i'm having some problems with my forces function in controlDict.
I need to calculate forces on two different patches, for a 2D compressible flow over an airfoil
is correct my add in controlDict?

Code:
functions
{
    forces
    {
        type                forces;
        functionObjectLibs  ( "libforces.so" );
        outputControl       timeStep;
        outputInterval      10;
        patches             (airfoil, spoiler);
        pName               p;
        UName               U;
        rhoName             rhoInf;
        log                 true;
        rhoInf              1;
        CofR                (0.4974612746 -0.01671895744 0.125);
    }
}
i'm worried for rhoName rhoInf. is it correct for compressible flow?
i'm using rhocentralfoam as solver.

my output is something like this:
Code:
1.000000e+00    ((5.429676e-03 -6.062612e-02 -1.929098e-21) (0.000000e+00 0.000000e+00 0.000000e+00) (0.000000e+00 0.000000e+00 0.000000e+00)) ((2.273480e-02 2.036128e-03 -2.466588e-02) (0.000000e+00 0.000000e+00 0.000000e+00) (0.000000e+00 0.000000e+00 0.000000e+00))
with two bodies, i was expecting 8 sets. (for each body: 1 set of pressure forces, 1 set of viscous forces,1 set of pressure moment, 1 set of viscous moment)
there are just 6 sets...why?
Rovs is offline   Reply With Quote

Reply

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
compressible flow calculation error using rhoSimpleFoam solver student4326 OpenFOAM Running, Solving & CFD 7 November 2, 2015 12:34
Newbie to compressible, viscous flow. Advice on approach to problem? bzz77 Main CFD Forum 4 December 4, 2012 08:59
Forces in compressible internal flow zabar OpenFOAM 6 April 26, 2010 11:21
Inviscid Drag at subsonic, subcritical Mach # Axel Rohde Main CFD Forum 1 November 19, 2001 13:19
compressible channel flow.. R.D.Prabhu Main CFD Forum 0 July 17, 1998 17:23


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