73 lines
1.7 KiB
Text
73 lines
1.7 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 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);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// ************************************************************************* //
|