openfoam/tutorials/multiphase/overInterDyMFoam/simpleRotor/system/controlDict
2024-06-24 09:58:36 +01:00

104 lines
2.3 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2406 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application overInterDyMFoam;
startFrom startTime;
startTime 0.;
stopAt endTime;
endTime 6;
deltaT 0.0025;
writeControl adjustable;
writeInterval 0.5;
purgeWrite 0;
writeFormat ascii;
writePrecision 10;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
adjustTimeStep yes;
maxCo 1.0;
maxAlphaCo 2.0;
functions
{
probes
{
type probes;
libs (sampling);
// Name of the directory for probe data
name probes;
// Write at same frequency as fields
writeControl timeStep;
writeInterval 1;
// Fields to be probed
fields (p U);
// Optional: interpolation scheme to use (default is cell)
interpolationScheme cell;
probeLocations
(
(0.0009999 0.0015 0.003)
);
}
residuals
{
type solverInfo;
libs (utilityFunctionObjects);
fields (p_rgh);
}
alphaVol
{
type volFieldValue;
libs (fieldFunctionObjects);
fields (alpha.water);
operation volIntegrate;
regionType all;
postOperation none;
// Write at same frequency as fields
writeControl timeStep;
writeInterval 1;
writeFields false;
log true;
}
}
// ************************************************************************* //