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

application     sonicFoam;

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         0.003;

deltaT          6e-07; //timestep changed from 3e-07 to 6e-07 for better allocation of computational resources

writeControl	timeStep;

writeInterval	100;

purgeWrite      0;

writeFormat     binary;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

functions
{
	forceCoeffs1
	{
		type 		forceCoeffs;
		libs 		("libforces.so");
		writeControl 	timeStep;
		writeInterval 	10;
		log 		true;
		patches 	(vehicle);
		rhoName 	rhoInf;
		rhoInf 		9.77e-4;
		liftDir 	(0 1 0);
		dragDir 	(1 0 0);
		CofR 		(0 0 0);
		pitchAxis 	(0 0 1);
		magUInf 	825;
		lRef 		0.19;
		Aref 		0.5;
	}
}














