132 lines
2.7 KiB
C++
132 lines
2.7 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
|
|
(
|
|
"libcompressibleRASModels.so"
|
|
"liblduSolvers.so"
|
|
)
|
|
|
|
application sonicFoam;
|
|
|
|
startFrom latestTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 0.01;
|
|
|
|
deltaT 5e-08;
|
|
|
|
writeControl runTime;
|
|
|
|
writeInterval 1e-05;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression compressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
adjustTimeStep no;
|
|
maxCo 10;
|
|
|
|
functions
|
|
(
|
|
forces
|
|
{
|
|
type forceCoeffs;
|
|
functionObjectLibs ( "libforces.so" );
|
|
outputControl timeStep;
|
|
outputInterval 1;
|
|
patches
|
|
(
|
|
WALL10
|
|
);
|
|
pName p;
|
|
UName U;
|
|
log true;
|
|
rhoInf 1;
|
|
CofR ( 0 0 0 );
|
|
liftDir ( -0.239733 0.970839 0 );
|
|
dragDir ( 0.970839 0.239733 0 );
|
|
pitchAxis ( 0 0 1 );
|
|
magUInf 618.022;
|
|
lRef 1;
|
|
Aref 1;
|
|
}
|
|
|
|
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;
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|