Files
OpenFOAM-12/tutorials/modules/incompressibleFluid/drivaerFastback/system/controlDict.orig
Henry Weller 020ec8b14d incompressibleFluid: Completed the update of tutorial and template cases
to use the incompressibleFluid solver module rather than simpleFoam, pimpleFoam
or pisoFoam.
2022-09-15 10:58:28 +01:00

87 lines
1.6 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application foamRun;
solver incompressibleFluid;
startFrom latestTime;
startTime 0;
stopAt endTime;
endTime 1000;
deltaT 1;
writeControl timeStep;
writeInterval 250;
purgeWrite 0;
writeFormat binary;
writePrecision 8;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
// adjustTimeStep yes;
// maxCo 1;
functions
{
#includeFunc forceCoeffsIncompressible
#includeFunc time
#includeFunc streamlinesSphere
(
funcName=streamlines,
centre=(4 0 0.7),
radius=1,
nPoints=30,
fields=(U)
)
#includeFunc cutPlaneSurface
(
funcName=xNormal,
point=(4 0 1),
normal=(1 0 0),
fields=(p U)
)
#includeFunc cutPlaneSurface
(
funcName=yNormal,
point=(-5 0.02 1),
normal=(0 1 0),
fields=(p U)
)
#includeFunc patchSurface(funcName=car, patch=".*(body|Wheels)", p)
}
// ************************************************************************* //