mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
68 lines
1.8 KiB
C++
68 lines
1.8 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 sampling;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
fieldAverage1
|
|
{
|
|
type fieldAverage;
|
|
libs (fieldFunctionObjects);
|
|
writeControl writeTime;
|
|
timeStart ${/timeStart};
|
|
|
|
fields
|
|
(
|
|
U
|
|
{
|
|
mean on;
|
|
prime2Mean on;
|
|
base time;
|
|
}
|
|
);
|
|
}
|
|
|
|
|
|
inletSampling
|
|
{
|
|
type sets;
|
|
libs (sampling);
|
|
writeControl writeTime;
|
|
timeStart ${/timeStart};
|
|
|
|
interpolationScheme cellPoint;
|
|
setFormat raw;
|
|
fields (UPrime2Mean);
|
|
|
|
sets
|
|
(
|
|
inletPatch
|
|
{
|
|
type face;
|
|
axis y;
|
|
start (0.0 0 1.57);
|
|
end (0.0 2 1.57);
|
|
}
|
|
inletCell
|
|
{
|
|
type face;
|
|
axis y;
|
|
start (0.062832 0 1.57);
|
|
end (0.062832 2 1.57);
|
|
}
|
|
);
|
|
}
|
|
|
|
// ************************************************************************* //
|