111 lines
2.2 KiB
C++
111 lines
2.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.2 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
libs
|
|
(
|
|
"liblduSolvers.so"
|
|
)
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 2000;
|
|
|
|
deltaT 1;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 50;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression uncompressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
graphFormat raw;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
functions
|
|
(
|
|
flux
|
|
{
|
|
type divFlux;
|
|
phiName phi;
|
|
|
|
functionObjectLibs ("libutilityFunctionObjects.so");
|
|
}
|
|
|
|
Mach
|
|
{
|
|
type MachNumber;
|
|
UName U;
|
|
|
|
functionObjectLibs ("libutilityFunctionObjects.so");
|
|
}
|
|
|
|
minMaxU
|
|
{
|
|
type minMaxField;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
|
|
name U;
|
|
}
|
|
|
|
minMaxP
|
|
{
|
|
type minMaxField;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
|
|
name p;
|
|
}
|
|
|
|
minMaxRho
|
|
{
|
|
type minMaxField;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
|
|
name rho;
|
|
}
|
|
|
|
minMaxT
|
|
{
|
|
type minMaxField;
|
|
|
|
// Where to load it from (if not already in solver)
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
|
|
name T;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|