This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/immersedBoundary/refiningMovingCylinderInChannelIco/system/controlDict

121 lines
2.4 KiB
Text
Raw Normal View History

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
2015-05-17 13:55:59 +00:00
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.1 |
2015-05-17 13:55:59 +00:00
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ 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;
startFrom startTime;
startTime 0;
stopAt endTime;
2018-05-16 11:27:19 +00:00
endTime 5;
2018-05-16 11:27:19 +00:00
deltaT 0.005;
2018-05-16 11:27:19 +00:00
// writeControl runTime;
// writeInterval 0.2;
2018-05-16 11:27:19 +00:00
writeControl timeStep;
writeInterval 2;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
2018-05-16 11:27:19 +00:00
writeCompression uncompressed;
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
(
"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
);
functions
(
forces
{
2018-05-16 11:27:19 +00:00
type forces;
functionObjectLibs ("libforces.so");
outputControl timeStep;
outputInterval 1;
2018-05-16 11:27:19 +00:00
patches ( ibCylinder );
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
);
}
minMaxP
{
type minMaxField;
functionObjectLibs ("libfieldFunctionObjects.so");
name p;
}
minMaxU
{
type minMaxField;
functionObjectLibs ("libfieldFunctionObjects.so");
name U;
}
);
2016-06-21 12:50:08 +00:00
// ************************************************************************* //