mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
135 lines
3.0 KiB
C++
135 lines
3.0 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 2.3.0 |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application pisoFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0.0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 5.0;
|
|
|
|
deltaT 0.00005;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 1000000;
|
|
|
|
purgeWrite 2;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable true;
|
|
|
|
libs (
|
|
|
|
);
|
|
|
|
functions
|
|
{
|
|
fieldAverage1
|
|
{
|
|
type fieldAverage;
|
|
libs ("libfieldFunctionObjects.so");
|
|
writeControl writeTime;
|
|
|
|
fields
|
|
(
|
|
U
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
window 0.0025;
|
|
}
|
|
Us
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
window 0.0025;
|
|
}
|
|
voidfraction
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
window 0.0025;
|
|
}
|
|
rho
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
window 0.0025;
|
|
}
|
|
p
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
window 0.0025;
|
|
}
|
|
phi
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
window 0.0025;
|
|
}
|
|
NuField
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
window 0.0025;
|
|
}
|
|
);
|
|
}
|
|
|
|
fieldOutput
|
|
{
|
|
type writeObjects;
|
|
functionObjectLibs ( "libutilityFunctionObjects.so" );
|
|
exclusiveWriting true;
|
|
objects ("rhoMean" "pMean" "UMean" "UsMean" "voidfractionMean" "phiMean" "NuFieldMean");
|
|
writeControl timeStep;
|
|
writeInterval 100;
|
|
}
|
|
|
|
probes1
|
|
{
|
|
type probes;
|
|
|
|
functionObjectLibs ("libsampling.so");
|
|
|
|
#include "probesDict";
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|