111 lines
2.4 KiB
C++
111 lines
2.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.2 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application dbnsFASTurbFoam;
|
|
|
|
// startFrom startTime;
|
|
startFrom latestTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 0.1;
|
|
|
|
deltaT 1e-08;
|
|
|
|
// writeControl runTime;
|
|
// writeInterval 2e-04;
|
|
|
|
writeControl timeStep;
|
|
writeInterval 1000;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression compressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
adjustTimeStep no;
|
|
|
|
maxCo 2.5;
|
|
|
|
maxDeltaT 1;
|
|
|
|
functions
|
|
{
|
|
minMaxP
|
|
{
|
|
type minMaxField;
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
name p;
|
|
}
|
|
|
|
minMaxT
|
|
{
|
|
type minMaxField;
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
name T;
|
|
}
|
|
|
|
minMaxRho
|
|
{
|
|
type minMaxField;
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
name rho;
|
|
}
|
|
|
|
minMaxU
|
|
{
|
|
type minMaxField;
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
name U;
|
|
}
|
|
|
|
forces
|
|
{
|
|
type forceCoeffs;
|
|
functionObjectLibs ( "libforces.so" );
|
|
outputControl timeStep;
|
|
outputInterval 1;
|
|
patches
|
|
(
|
|
wall
|
|
);
|
|
pName p;
|
|
UName U;
|
|
log true;
|
|
rhoInf 1;
|
|
CofR ( 0 0 0 );
|
|
liftDir ( -0.239733 0.970839 0 );
|
|
dragDir ( 0.970839 0.239733 0 );
|
|
pitchAxis ( 0 0 1 );
|
|
magUInf 618.022;
|
|
lRef 1;
|
|
Aref 1;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|