/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2206                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     simpleFoam;
// application     pimpleFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         15000.000000;
 
deltaT          1.000000;

//writeControl    adjustable;
writeControl	timeStep;

writeInterval   1;

purgeWrite	1;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

adjustTimeStep  on;

maxCo           0.8;

tolerance	1e-8;

functions
{
	/*
	shearStress1
	{
		type	shearStress;
		libs	(fieldFunctionObjects);
		   // Optional (inherited) entries
		    writePrecision  6;
		    writeToFile     true;
		    writeControl    timeStep;
	    	    writeInterval   1;
		    purgeWrite	    1;
	}
	*/
	
	#includeFunc flowRatePatch(name=outlet)
	wallShearStress1
	{
	    // Mandatory entries (unmodifiable)
	    type            wallShearStress;
    	    libs            (fieldFunctionObjects);
    	    
	    // Optional (inherited) entries
	    writePrecision  6;
	    writeToFile     true;
	    writeControl    timeStep;
    	    writeInterval   1;
	    purgeWrite	    1;
	    patches	    ("fixedWalls");
	}
}


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