mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
100 lines
2.1 KiB
C++
Executable File
100 lines
2.1 KiB
C++
Executable File
/*--------------------------------*- 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;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 100;
|
|
|
|
deltaT 0.0025;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 400;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable true;
|
|
|
|
functions
|
|
{
|
|
probes1
|
|
{
|
|
type probes;
|
|
|
|
functionObjectLibs ("libsampling.so");
|
|
|
|
dictionary probesDict;
|
|
}
|
|
|
|
|
|
totConcentration
|
|
{
|
|
type cellSource;
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
enabled true;
|
|
outputControl timeStep;
|
|
outputInterval 10;
|
|
log true;
|
|
valueOutput false;
|
|
source all;
|
|
operation volIntegrate;
|
|
weightField "alpha.2Rec";
|
|
|
|
fields
|
|
(
|
|
T
|
|
);
|
|
}
|
|
|
|
volumeWater
|
|
{
|
|
type cellSource;
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
enabled true;
|
|
outputControl timeStep;
|
|
outputInterval 10;
|
|
log true;
|
|
valueOutput false;
|
|
source all;
|
|
operation volIntegrate;
|
|
|
|
fields
|
|
(
|
|
alpha.2Rec
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
// ************************************************************************* //
|