68 lines
1.6 KiB
Text
68 lines
1.6 KiB
Text
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||
|
| ========= | |
|
||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||
|
| \\ / O peration | Version: 1.6.x |
|
||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||
|
| \\/ M anipulation | |
|
||
|
\*---------------------------------------------------------------------------*/
|
||
|
FoamFile
|
||
|
{
|
||
|
version 2.0;
|
||
|
format ascii;
|
||
|
class dictionary;
|
||
|
location "system";
|
||
|
object controlDict;
|
||
|
}
|
||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||
|
|
||
|
application simpleFoam;
|
||
|
|
||
|
startFrom latestTime;
|
||
|
|
||
|
startTime 0;
|
||
|
|
||
|
stopAt endTime;
|
||
|
|
||
|
endTime 3000;
|
||
|
|
||
|
deltaT 1;
|
||
|
|
||
|
writeControl runTime;
|
||
|
|
||
|
writeInterval 100;
|
||
|
|
||
|
purgeWrite 0;
|
||
|
|
||
|
writeFormat ascii;
|
||
|
|
||
|
writePrecision 6;
|
||
|
|
||
|
writeCompression uncompressed;
|
||
|
|
||
|
timeFormat general;
|
||
|
|
||
|
timePrecision 6;
|
||
|
|
||
|
runTimeModifiable true;
|
||
|
|
||
|
functions
|
||
|
{
|
||
|
forces
|
||
|
{
|
||
|
type forces;
|
||
|
functionObjectLibs ( "libforces.so" );
|
||
|
outputControl timeStep;
|
||
|
outputInterval 10;
|
||
|
patches (wing);
|
||
|
pName p;
|
||
|
UName U;
|
||
|
rhoName rhoInf;
|
||
|
log true;
|
||
|
rhoInf 1;
|
||
|
CofR (0.4974612746 -0.01671895744 0.125);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
// ************************************************************************* //
|