2015-05-11 10:41:43 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
2015-05-17 13:55:59 +00:00
|
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
2018-05-29 07:35:20 +00:00
|
|
|
| \\ / O peration | Version: 4.1 |
|
2015-05-17 13:55:59 +00:00
|
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
2015-05-11 10:41:43 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object controlDict;
|
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
2018-05-16 11:27:19 +00:00
|
|
|
DebugSwitches
|
|
|
|
{
|
|
|
|
// immersedBoundary 1;
|
|
|
|
// polyMesh 2;
|
|
|
|
// fvMesh 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
application pimpleDyMFoam;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
|
|
|
startFrom startTime;
|
|
|
|
|
|
|
|
startTime 0;
|
|
|
|
|
|
|
|
stopAt endTime;
|
|
|
|
|
2018-05-16 11:27:19 +00:00
|
|
|
endTime 5;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
2018-05-16 11:27:19 +00:00
|
|
|
deltaT 0.005;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
2018-05-16 11:27:19 +00:00
|
|
|
// writeControl runTime;
|
|
|
|
// writeInterval 0.2;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
2018-05-16 11:27:19 +00:00
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 2;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
|
|
|
purgeWrite 0;
|
|
|
|
|
|
|
|
writeFormat ascii;
|
|
|
|
|
|
|
|
writePrecision 6;
|
|
|
|
|
2018-05-16 11:27:19 +00:00
|
|
|
writeCompression uncompressed;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
|
|
|
timeFormat general;
|
|
|
|
|
|
|
|
timePrecision 6;
|
|
|
|
|
|
|
|
runTimeModifiable yes;
|
|
|
|
|
2018-05-16 11:27:19 +00:00
|
|
|
adjustTimeStep no;
|
|
|
|
|
|
|
|
maxCo 0.2;
|
|
|
|
|
2016-04-14 17:47:48 +00:00
|
|
|
libs
|
|
|
|
(
|
2018-05-31 15:01:37 +00:00
|
|
|
"liblduSolvers.so"
|
2016-04-14 17:47:48 +00:00
|
|
|
"libimmersedBoundary.so"
|
2018-05-16 11:27:19 +00:00
|
|
|
"libimmersedBoundaryDynamicMesh.so"
|
2016-04-14 17:47:48 +00:00
|
|
|
);
|
|
|
|
|
2015-05-11 10:41:43 +00:00
|
|
|
functions
|
|
|
|
(
|
|
|
|
forces
|
|
|
|
{
|
2018-05-16 11:27:19 +00:00
|
|
|
type forces;
|
|
|
|
functionObjectLibs ("libforces.so");
|
2015-05-11 10:41:43 +00:00
|
|
|
|
|
|
|
outputControl timeStep;
|
|
|
|
outputInterval 1;
|
2018-05-16 11:27:19 +00:00
|
|
|
patches ( ibCylinder );
|
2015-05-11 10:41:43 +00:00
|
|
|
|
|
|
|
pName p;
|
|
|
|
UName U;
|
|
|
|
rhoName rhoInf;
|
|
|
|
rhoInf 1;
|
|
|
|
|
|
|
|
log true;
|
|
|
|
CofR ( 0 0 0 );
|
|
|
|
|
|
|
|
Aref 0.05;
|
|
|
|
Uref 1;
|
|
|
|
}
|
2018-05-16 11:27:19 +00:00
|
|
|
probes
|
|
|
|
{
|
|
|
|
type probes;
|
|
|
|
functionObjectLibs ("libsampling.so");
|
|
|
|
outputControl timeStep;
|
|
|
|
outputInterval 1;
|
|
|
|
probeLocations
|
|
|
|
(
|
|
|
|
( 1.5 0 0)
|
|
|
|
( 1.75 0 0)
|
|
|
|
);
|
|
|
|
fields
|
|
|
|
(
|
|
|
|
p
|
|
|
|
);
|
|
|
|
}
|
2015-05-11 10:41:43 +00:00
|
|
|
minMaxP
|
|
|
|
{
|
|
|
|
type minMaxField;
|
|
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
|
|
name p;
|
|
|
|
}
|
|
|
|
minMaxU
|
|
|
|
{
|
|
|
|
type minMaxField;
|
|
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
|
|
name U;
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
2016-06-21 12:50:08 +00:00
|
|
|
|
2015-05-11 10:41:43 +00:00
|
|
|
// ************************************************************************* //
|