66 lines
1.6 KiB
C++
66 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM Extend Project: Open Source CFD |
|
|
| \\ / O peration | Version: 1.6-ext |
|
|
| \\ / A nd | Web: www.extend-project.de |
|
|
| \\/ 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);
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|