Skip to content
Snippets Groups Projects
controlDict 1.49 KiB
Newer Older
  • Learn to ignore specific revisions
  • *--------------------------------*- C++ -*----------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
    |  \\    /   O peration     | Version:  1.6                                   |
    |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
    |    \\/     M anipulation  |                                                 |
    \*---------------------------------------------------------------------------*/
    FoamFile
    {
        version     2.0;
        format      ascii;
        class       dictionary;
        location    "system";
        object      controlDict;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    
    application     icoFoam;
    
    startFrom       startTime;
    
    startTime       0;
    
    stopAt          endTime;
    
    endTime         0.5;
    
    deltaT          0.005;
    
    writeControl    timeStep;
    
    writeInterval   20;
    
    purgeWrite      0;
    
    writeFormat     ascii;
    
    writePrecision  6;
    
    writeCompression uncompressed;
    
    timeFormat      general;
    
    timePrecision   6;
    
    runTimeModifiable yes;
    
    
    functions
    (
        convergenceChecks
        {
            type           residualControl;
            functionObjectLibs ( "libresidualControl.so" );
            outputControl  timeStep;
            outputInterval 1;
    
            maxResiduals
            (
                (p          5e-4)
                (U          1e-3)
            );
        }
    );
    
    
    // ************************************************************************* //