anisotropy/src/simple-cubic/system/controlDict

81 lines
2.0 KiB
Plaintext
Raw Normal View History

2021-02-18 15:28:14 +05:00
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application simpleFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 500;
deltaT 1;
writeControl timeStep;
writeInterval 50;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
functions
{
flowRatePatch(name=inlet)
2021-02-18 15:28:14 +05:00
{
name inlet;
type surfaceFieldValue;
libs ( "libfieldFunctionObjects.so" );
writeControl timeStep;
writeInterval 1;
writeFields false;
log false;
regionType patch;
fields ( phi );
operation sum;
2021-02-18 15:28:14 +05:00
}
flowRatePatch(name=outlet)
2021-02-18 15:28:14 +05:00
{
name outlet;
type surfaceFieldValue;
libs ( "libfieldFunctionObjects.so" );
writeControl timeStep;
writeInterval 1;
writeFields false;
log false;
regionType patch;
fields ( phi );
operation sum;
2021-02-18 15:28:14 +05:00
}
}
// ************************************************************************* //