80 lines
1.8 KiB
C++
80 lines
1.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.0 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
libs
|
|
(
|
|
"liblduSolvers.so"
|
|
)
|
|
|
|
application MRFSimpleFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 200;
|
|
|
|
deltaT 1;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 20;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression compressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
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;
|
|
|
|
phi phi;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libcheckFunctionObjects.so");
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|