85 lines
2 KiB
C++
85 lines
2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
libs
|
|
(
|
|
"liblduSolvers.so"
|
|
)
|
|
|
|
application simpleFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 50;
|
|
|
|
deltaT 1;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 10;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression uncompressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
graphFormat raw;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
// Compute the flux value on each side of a GGI interface
|
|
functions
|
|
(
|
|
ggiCheck
|
|
{
|
|
// Type of functionObject
|
|
type ggiCheck;
|
|
|
|
phi phi;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libcheckFunctionObjects.so");
|
|
}
|
|
|
|
// Compute the flux value on each side of a mixingPlane interface
|
|
mixingPlaneCheck
|
|
{
|
|
// Type of functionObject
|
|
type mixingPlaneCheck;
|
|
|
|
masterPatchName upstreamMixingPlanePatch;
|
|
masterPatchScaleFactor 10.0;
|
|
shadowPatchScaleFactor 4.0;
|
|
phi phi;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libcheckFunctionObjects.so");
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|