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

application     Mhd3dTEulerFoam;

startFrom       latestTime;

stopAt          endTime;

endTime         0.006;

deltaT          0.001;

//writeControl    adjustableRunTime;

//writeInterval   1;

writeControl    timeStep;

writeInterval   1;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

adjustTimeStep  no;

maxCo           1;

functions
{
	fieldAverage1
	{
		type fieldAverage;
		functionObjectLibs ("libfieldFunctionObjects.so");
		outputControl outputTime;
		fields
		(
			U
			{
				mean on;
				prime2Mean off;
				base time;
			}
			phie
			{
				mean on;
				prime2Mean off;
				base time;
			}
			C
			{
				mean on;
				prime2Mean off;
				base time;
			}
			T
			{
				mean on;
				prime2Mean off;
				base time;
			}
		);
	}

	co1
	{
		type CourantNo;
		libs ("libfieldFunctionObjects.so");
		executeControl timeStep;
		executeInterval	1;
		writeControl	writeTime;
	}
}
// ************************************************************************* //
