Skip to content
Snippets Groups Projects
controlDict 1.71 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
    {
        fileUpdate1
        {
    
            type            timeActivatedFileUpdate;
    
            functionObjectLibs ("libutilityFunctionObjects.so");
    
            outputControl   timeStep;
            outputInterval  1;
            fileToUpdate    "$FOAM_CASE/system/fvSolution";
    
    
                ( -1   "$FOAM_CASE/system/fvSolution.0"  )
                ( 0.10 "$FOAM_CASE/system/fvSolution.10" )
                ( 0.20 "$FOAM_CASE/system/fvSolution.20" )
                ( 0.35 "$FOAM_CASE/system/fvSolution.35" )
    
            );
        }
    }
    
    // ************************************************************************* //