1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
|
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application simpleFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 10000;
deltaT 1;
writeControl timeStep;
writeInterval 100;
purgeWrite 3;
writeFormat ascii;
writePrecision 8;
writeCompression off;
timeFormat general;
timePrecision 8;
runTimeModifiable true;
functions
{
pressure
{
type pressure;
libs (fieldFunctionObjects);
writeControl writeTime;
result Cp;
mode staticCoeff;
rho rhoInf;
rhoInf 1;
U UInf;
UInf (69.44 0 0);
pInf 0;
}
forceCoeffs
{
type forceCoeffs;
libs (forces);
writeControl writeTime;
rho rhoInf;
rhoInf 1;
liftDir (0 1 0);
dragDir (1 0 0);
CofR (0.75 0 0); // bump midpoint
pitchAxis (0 0 1);
magUInf 69.44;
lRef 0.9; // length of bump
Aref 0.1; // mesh span = 2, bump height = 0.05; 2*0.05=0.1
patches (bump);
}
wallShearStress
{
type wallShearStress;
libs (fieldFunctionObjects);
writeControl writeTime;
patches (bump);
}
yPlus
{
type yPlus;
libs (fieldFunctionObjects);
writeControl writeTime;
patches (bump);
}
cellCentres
{
type writeCellCentres;
libs (fieldFunctionObjects);
writeControl writeTime;
}
residuals
{
type solverInfo;
libs (utilityFunctionObjects);
fields (".*");
}
}
// ************************************************************************* //
|