Skip to content
Snippets Groups Projects
controlDict 2.29 KiB
Newer Older
  • Learn to ignore specific revisions
  • /*--------------------------------*- C++ -*----------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
    
    |  \\    /   O peration     | Version:  v2412                                 |
    
    |   \\  /    A nd           | Website:  www.openfoam.com                      |
    
    |    \\/     M anipulation  |                                                 |
    \*---------------------------------------------------------------------------*/
    FoamFile
    {
        version     2.0;
        format      ascii;
        class       dictionary;
        object      controlDict;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    
    
    libs            (overset fvMotionSolvers);
    
    application     overInterDyMFoam;
    
    sergio's avatar
    sergio committed
    startFrom       latestTime;
    
    sergio's avatar
    sergio committed
    endTime         10;
    
    
    purgeWrite      0;
    
    writeFormat     ascii;
    
    writePrecision  12;
    
    
    writeCompression off;
    
    
    timeFormat      general;
    
    timePrecision   6;
    
    runTimeModifiable yes;
    
    adjustTimeStep  yes;
    
    
    sergio's avatar
    sergio committed
    maxCo           1.5;
    
    sergio's avatar
    sergio committed
    functions
    {
        probes
        {
            type            probes;
    
            libs            (sampling);
    
    sergio's avatar
    sergio committed
    
            // Name of the directory for probe data
            name            probes;
    
            // Write at same frequency as fields
            writeControl    timeStep;
            writeInterval   1;
    
            // Fields to be probed
            fields          (p U);
    
            // Optional: interpolation scheme to use (default is cell)
            interpolationScheme cell;
    
            probeLocations
            (
                (0.00132  0.0009 0.005)
            );
        }
    
        alphaVol
        {
    
            // Mandatory entries
            type            volFieldValue;
            libs            (fieldFunctionObjects);
            fields          (alpha.water);
            operation       volIntegrate;
            regionType      all;
    
            // Optional entries
            postOperation   none;
            // Write at same frequency as fields
    
    sergio's avatar
    sergio committed
            writeControl    timeStep;
    
            writeInterval   1;
            writeFields     false;
            log             true;
    
    sergio's avatar
    sergio committed
        }
    }
    
    
    // ************************************************************************* //