72 lines
1.7 KiB
C++
72 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.1 |
|
|
| \\ / A nd | Web: http://www.extend-project.de |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application pimpleDyMFoam;
|
|
|
|
startFrom latestTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 1;
|
|
|
|
deltaT 1e-5;
|
|
|
|
writeControl adjustableRunTime;
|
|
|
|
writeInterval 5e-3;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 10;
|
|
|
|
writeCompression uncompressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable true;
|
|
|
|
adjustTimeStep yes;
|
|
|
|
maxCo 0.9;
|
|
|
|
libs ("libforces.so");
|
|
|
|
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.25 0.007 0.125);
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|