- Use on/off vs longer compressed/uncompressed. For consistency, replaced yes/no with on/off. - Avoid the combination of binary/compressed, which is disallowed and provokes a warning anyhow
65 lines
1.5 KiB
C++
65 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application interFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 4000;
|
|
|
|
deltaT 1;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 100;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat binary;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
functions
|
|
{
|
|
forces
|
|
{
|
|
type forces;
|
|
libs ("libforces.so");
|
|
patches (hull);
|
|
rhoInf 998.8;
|
|
log on;
|
|
writeControl timeStep;
|
|
writeInterval 1;
|
|
CofR (2.929541 0 0.2);
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|