2019年4月10日水曜日

{dir_main_dym}/system/controlDict


/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5                                     |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     pimpleDyMFoam;

startFrom       startTime;

startTime        0;

stopAt          endTime;

endTime         5.0e0;

deltaT          1e-5;

writeControl    adjustableRunTime;

writeInterval   1e-1;

purgeWrite      0;

writeFormat     ascii;

writePrecision  10;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

adjustTimeStep  yes;

maxCo           0.9;

functions
{
    forces
    {
        type                forces;
        libs                ("libforces.so");
        writeControl        timeStep;
        writeInterval       1;
        patches             (wall);
        rho                 rhoInf;
        log                 true;
        rhoInf              1;
        CofR                (0.4 0 0);
    }
//
//    sixDoFRigidBodyState
//    {
//        type           sixDoFRigidBodyState;
//        libs           ("libsixDoFRigidBodyState.so");
//        angleFormat    degrees;
//    }
}

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

0 件のコメント:

コメントを投稿