mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
82 lines
1.9 KiB
C++
82 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.6 |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application interDyMFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 0.05;
|
|
|
|
deltaT 0.0003;
|
|
|
|
writeControl adjustableRunTime;//timeStep;//
|
|
|
|
writeInterval 0.003;//10;//0.05;//
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression uncompressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable off;//yes;
|
|
|
|
adjustTimeStep no;
|
|
|
|
maxCo 1;
|
|
|
|
maxDeltaT 1;
|
|
|
|
|
|
// ************************************************************************* //
|
|
|
|
|
|
functions
|
|
(
|
|
probes
|
|
{
|
|
type probes;
|
|
// Where to load it from
|
|
functionObjectLibs ( "libsampling.so" );
|
|
// Name of the directory for probe data
|
|
name drag;
|
|
probeLocations
|
|
(
|
|
(0.0 0.0 0.0)
|
|
);
|
|
|
|
// Fields to be probed
|
|
fields ( particleForces );
|
|
|
|
// Write at same frequency as fields
|
|
outputControl timeStep;//outputTime;
|
|
outputInterval 1;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|