82 lines
1.7 KiB
C++
82 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
libs
|
|
(
|
|
"libscotchDecomp.so"
|
|
"liblduSolvers.so"
|
|
)
|
|
|
|
application icoDyMFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 1;
|
|
|
|
deltaT 0.0001;
|
|
|
|
writeControl adjustableRunTime;
|
|
|
|
writeInterval 0.01;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat binary;
|
|
|
|
writePrecision 10;
|
|
|
|
writeCompression compressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 10;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
adjustTimeStep yes;
|
|
|
|
maxCo 0.8;
|
|
|
|
maxDeltaT 0.01;
|
|
|
|
functions
|
|
(
|
|
minMaxU
|
|
{
|
|
type minMaxField;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs (/*"libsampling.so"*/ "libfieldFunctionObjects.so");
|
|
|
|
name U;
|
|
}
|
|
minMaxP
|
|
{
|
|
type minMaxField;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
|
|
name p;
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|