mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
60 lines
1.4 KiB
C++
60 lines
1.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1906 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application pimpleFoam;
|
|
|
|
startFrom latestTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime END_TIME;
|
|
|
|
deltaT 4e-3;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 1250;
|
|
|
|
purgeWrite 3;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 8;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 8;
|
|
|
|
runTimeModifiable false;
|
|
|
|
adjustTimeStep false;
|
|
|
|
// Allow 10% of time for initialisation before sampling
|
|
timeStart #eval #{ 0.1 * ${/endTime} #};
|
|
|
|
functions
|
|
{
|
|
#include "fieldAverage"
|
|
#include "sampling"
|
|
}
|
|
|
|
// ************************************************************************* //
|