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

libs            (overset fvMotionSolvers); // needed for using overset solvers

application     overPimpleDyMFoam;

startFrom       latestTime;

startTime       0;

stopAt          writeNow;

endTime         4000;

deltaT          0.1;

writeControl    adjustableRunTime;

writeInterval   5;

purgeWrite      0;

writeFormat     ascii;

writePrecision  10;

writeCompression off;

timeFormat      general;

timePrecision   8;

runTimeModifiable true;

adjustTimeStep  yes;

maxCo           0.5;

# include "parameters"

functions
{
    
    #includeFunc divergence

    forces_imp1
    {
    	type          forces;
	libs          (forces);

	writeControl  runTime; 
	writeInterval 5;   
	log           false;

	patches       (hole_impeller1);
	p	      p;
	U	      U;
	rho           rhoInf;     // Indicates incompressible
	rhoInf        $data_rho;
	porosity      no;

	CofR          $CofR1;
	pitchAxis     (0 0 1);
    }

    forces_imp2

    {
    	type          forces;
	libs          (forces);

	writeControl  runTime;
	writeInterval 5;
	log           false;

	patches       (hole_impeller2);
	p	      p;
	U	      U;
	rho           rhoInf;     // Indicates incompressible
	rhoInf        $data_rho;

	porosity      no;

	CofR          $CofR2;
	pitchAxis     (0 0 1);
    }

}


/*
DebugSwitches		// print detailed information about the interpolation in overset meshes
{
	overset 1;
}
*/

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