84 lines
1.8 KiB
C++
84 lines
1.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.2 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application icoDyMFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 5;
|
|
|
|
deltaT 0.01;
|
|
|
|
writeControl runTime;
|
|
writeInterval 0.2;
|
|
|
|
// writeControl timeStep;
|
|
// writeInterval 1;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression compressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
adjustTimeStep no;
|
|
|
|
maxCo 0.2;
|
|
|
|
libs
|
|
(
|
|
"liblduSolvers.so"
|
|
"libimmersedBoundary.so"
|
|
"libimmersedBoundaryDynamicFvMesh.so"
|
|
);
|
|
|
|
functions
|
|
(
|
|
forces
|
|
{
|
|
type immersedBoundaryForces;
|
|
functionObjectLibs ("libimmersedBoundaryForceFunctionObject.so");
|
|
|
|
outputControl timeStep;
|
|
outputInterval 1;
|
|
patches ( ibCylinder );
|
|
|
|
pName p;
|
|
UName U;
|
|
rhoName rhoInf;
|
|
rhoInf 1;
|
|
|
|
log true;
|
|
CofR ( 0 0 0 );
|
|
|
|
Aref 0.05;
|
|
Uref 1;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|