This means the field can be used by other run-time post-processing functions; e.g., with '#includeFunc volIntegrate(cloud:alpha)'.
59 lines
1.4 KiB
C++
59 lines
1.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application foamRun;
|
|
|
|
solver incompressibleDenseParticleFluid;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0.0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 0.1;
|
|
|
|
deltaT 1e-4;
|
|
|
|
writeControl runTime;
|
|
|
|
writeInterval 0.001;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
functions
|
|
{
|
|
#includeFunc volIntegrate(cloud:alpha)
|
|
#includeFunc patchFlowRate(patch=lowerInlet, cloud:massFlux)
|
|
#includeFunc patchFlowRate(patch=upperInlet, cloud:massFlux)
|
|
#includeFunc faceZoneFlowRate(faceZone=mid, cloud:massFlux)
|
|
#includeFunc patchFlowRate(patch=outlet, cloud:massFlux)
|
|
}
|
|
|
|
// ************************************************************************* //
|