93 lines
2 KiB
C++
93 lines
2 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;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
libs
|
|
(
|
|
"libincompressibleLESModels.so"
|
|
"liblduSolvers.so"
|
|
)
|
|
|
|
application cavitatingFoam;
|
|
|
|
startFrom latestTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 0.0001;
|
|
|
|
deltaT 1e-08;
|
|
|
|
writeControl adjustableRunTime;
|
|
|
|
writeInterval 5e-06;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression compressed;
|
|
|
|
timeFormat general;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
adjustTimeStep on;
|
|
|
|
maxCo 0.5;
|
|
|
|
maxAcousticCo 50;
|
|
|
|
functions
|
|
{
|
|
fieldAverage1
|
|
{
|
|
type fieldAverage;
|
|
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
|
enabled false;
|
|
outputControl outputTime;
|
|
fields
|
|
(
|
|
U
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
}
|
|
|
|
p
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
}
|
|
|
|
gamma
|
|
{
|
|
mean on;
|
|
prime2Mean off;
|
|
base time;
|
|
}
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|