This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/validationAndVerificationSuite/validation/overset/NACA4412-airfoil/oversetMeshes/frontMesh/system/controlDict
2018-06-01 18:11:37 +02:00

76 lines
1.6 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application simpleFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 10000;
deltaT 1;
writeControl adjustableRunTime;
writeInterval 1000;
cycleWrite 0;
writeFormat ascii;
writePrecision 15;
writeCompression off;
timeFormat general;
timePrecision 6;
adjustTimeStep yes;
maxCo 0.3;
maxDeltaT 1;
functions
(
forces
{
type forceCoeffs;
functionObjectLibs ("libforces.so");
patches (airfoil);
pName p;
UName U;
rhoName rhoInf;
rhoInf 1; // Reference density, fluid
CofR (0.25 0 0); // Origin for moment calculations
outputControl timeStep;
outputInterval 1;
log true;
liftDir (-0.239719744 0 0.970842132 );
dragDir (0.970842132 0 0.239719744);
magUInf 24.472;
lRef 1;
Aref 1;
pitchAxis (0 1 0);
}
);
// ************************************************************************* //