2013-10-09 10:00:52 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
2012-04-15 17:43:52 +00:00
|
|
|
| ========= | |
|
2013-12-11 16:09:41 +00:00
|
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
2016-06-20 15:00:40 +00:00
|
|
|
| \\ / O peration | Version: 4.0 |
|
2015-05-17 13:55:59 +00:00
|
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
2012-04-15 17:43:52 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
2013-12-11 16:09:41 +00:00
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object controlDict;
|
2012-04-15 17:43:52 +00:00
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
2016-05-25 09:52:59 +00:00
|
|
|
libs
|
|
|
|
(
|
|
|
|
"liblduSolvers.so"
|
|
|
|
)
|
|
|
|
|
2013-10-09 10:00:52 +00:00
|
|
|
application simpleFoam;
|
2012-04-15 17:43:52 +00:00
|
|
|
|
|
|
|
startFrom startTime;
|
|
|
|
|
|
|
|
startTime 0;
|
|
|
|
|
|
|
|
stopAt endTime;
|
|
|
|
|
|
|
|
endTime 50;
|
|
|
|
|
|
|
|
deltaT 1;
|
|
|
|
|
|
|
|
writeControl timeStep;
|
|
|
|
|
2013-10-09 10:00:52 +00:00
|
|
|
writeInterval 10;
|
2012-04-15 17:43:52 +00:00
|
|
|
|
|
|
|
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;
|
2013-10-09 10:00:52 +00:00
|
|
|
phi phi;
|
2012-04-15 17:43:52 +00:00
|
|
|
|
|
|
|
// Where to load it from (if not already in solver)
|
|
|
|
functionObjectLibs ("libcheckFunctionObjects.so");
|
|
|
|
}
|
|
|
|
);
|
2013-10-09 10:00:52 +00:00
|
|
|
|
2016-06-21 12:50:08 +00:00
|
|
|
|
2013-10-09 10:00:52 +00:00
|
|
|
// ************************************************************************* //
|