mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
for consistency with the time controls in controlDict and to avoid unnecessary confusion. All code and tutorials have been updated. The old names 'outputControl' and 'outputInterval' are but supported for backward compatibility but deprecated.
73 lines
1.7 KiB
C++
73 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application reactingParcelFoam;
|
|
|
|
startFrom latestTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 300;
|
|
|
|
deltaT 1;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 10;
|
|
|
|
purgeWrite 20;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 10;
|
|
|
|
writeCompression uncompressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
|
|
functions
|
|
{
|
|
faceSource1
|
|
{
|
|
type faceSource;
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
enabled yes;
|
|
writeControl outputTime;
|
|
log yes;
|
|
valueOutput no;
|
|
source patch;
|
|
sourceName outlet;
|
|
operation weightedAverage;
|
|
weightField phi;
|
|
fields
|
|
(
|
|
H2O
|
|
T
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|