You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
1.8 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 11
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application foamRun;
solver incompressibleFluid;
startFrom latestTime;
startTime 0;
stopAt endTime;
endTime 20000;
deltaT 1;
//writeControl adjustableRunTime;
//writeInterval 0.001;
////- For testing with moveMesh
//deltaT 0.01;
writeControl timeStep;
writeInterval 1000;
purgeWrite 2;
writeFormat binary;
writePrecision 6;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
adjustTimeStep yes;
maxCo 2;
functions
{
//#includeFunc Q
//#include "surfaces"
#include "forces"
/* yPlus
{
// Mandatory entries (unmodifiable)
type yPlus;
libs ("libfieldFunctionObjects.so");
// Optional (inherited) entries
writePrecision 8;
writeToFile true;
useUserTime true;
patches
(
propeller
);
enabled true;
log true;
timeStart 0;
timeEnd 10000;
executeControl timeStep;
executeInterval 100;
writeControl timeStep;
writeInterval 100;
}*/
}
// ************************************************************************* //