This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/validationSuite/incompressible/icoFoam/consistencyTest/cavity/TemplateCase/system/controlDict
Vuko Vukcevic f327093a69 Cavity verification test case for icoFoam
icoFoam/consistencyTest/cavity: the test case serves to verify the time and
under-relaxation consistent formulation which produces the solution that does
not depend on time step size and under-relaxation factor.
Author: Vuko Vukcevic
2017-01-17 16:37:50 +01:00

75 lines
1.9 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application icoFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 0.5;
deltaT TimeStepSize;
writeControl runTime;
writeInterval 0.1;
writeFormat ascii;
writePrecision 12;
writeCompression uncompressed;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
functions
{
probes
{
// Where to load it from
functionObjectLibs ( "libsampling.so" );
type probes;
// Name of the directory for probe data
name probes;
probeLocations
(
( 0.0025 0.0025 0.005 ) // lower left corner cell centre
( 0.0975 0.0025 0.005 ) // lower right corner cell centre
( 0.0025 0.0975 0.005 ) // upper left corner cell centre
( 0.0975 0.0975 0.005 ) // upper right corner cell centre
( 0.05 0.05 0.005 ) // centre
);
// Fields to be probed
fields ( p U );
// Write at same frequency as fields
outputControl timeStep;
outputInterval ProbeOutputInterval;
}
}
// ************************************************************************* //