forceCoeffs 1.42 KB
Newer Older
1
2
3
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4
|  \\    /   O peration     | Version:  dev                                   |
5
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
6
7
8
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

andy's avatar
andy committed
9
forceCoeffs1
10
11
{
    type        forceCoeffs;
12

13
    functionObjectLibs ( "libforces.so" );
14
15
16
17

    outputControl   timeStep;
    outputInterval  1;

18
    log         yes;
19
20
21
22
23
24
25
26
27
28
29
30
31
32

    patches     ( "motorBike.*" );
    pName       p;
    UName       U;
    rhoName     rhoInf;      // Indicates incompressible
    log         true;
    rhoInf      1;           // Redundant for incompressible
    liftDir     (0 0 1);
    dragDir     (1 0 0);
    CofR        (0.72 0 0);  // Axle midpoint on ground
    pitchAxis   (0 1 0);
    magUInf     20;
    lRef        1.42;        // Wheelbase length
    Aref        0.75;        // Estimated
33

andy's avatar
andy committed
34
35
36
37
38
39
40
    binData
    {
        nBin        20;          // output data into 20 bins
        direction   (1 0 0);     // bin direction
        format      gnuplot;
        cumulative  yes;
    }
41
42
43
44
}


// ************************************************************************* //