104 lines
2.2 KiB
C++
104 lines
2.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM Extend Project: Open Source CFD |
|
|
| \\ / O peration | Version: 1.6-ext |
|
|
| \\ / A nd | Web: www.extend-project.de |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application simpleIbFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 1000;
|
|
|
|
deltaT 1;
|
|
|
|
writeControl timeStep;
|
|
|
|
writeInterval 50;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression compressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
libs
|
|
(
|
|
"libfoam.so"
|
|
"libincompressibleTransportModels.so"
|
|
"libcompressibleTurbulenceModel.so"
|
|
"libincompressibleRASModels.so"
|
|
// "libimmersedBoundary.so"
|
|
// "libimmersedBoundaryTurbulence.so"
|
|
|
|
"libtriSurface.so"
|
|
"libmeshTools.so"
|
|
"libsampling.so"
|
|
"libsurfMesh.so"
|
|
"libimmersedBoundary.so"
|
|
"libimmersedBoundaryTurbulence.so"
|
|
);
|
|
|
|
|
|
functions
|
|
(
|
|
forces
|
|
{
|
|
type immersedBoundaryForces;
|
|
functionObjectLibs ("libimmersedBoundaryForceFunctionObject.so");
|
|
|
|
outputControl timeStep;
|
|
outputInterval 1;
|
|
patches ( pitzDailyIB );
|
|
|
|
pName p;
|
|
UName U;
|
|
rhoName rhoInf;
|
|
rhoInf 1;
|
|
|
|
log true;
|
|
CofR ( 0 0 0 );
|
|
|
|
Aref 0.05;
|
|
Uref 1;
|
|
}
|
|
|
|
minMaxP
|
|
{
|
|
type minMaxField;
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
name p;
|
|
}
|
|
|
|
minMaxU
|
|
{
|
|
type minMaxField;
|
|
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
name U;
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|