mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
101 lines
2.3 KiB
C++
101 lines
2.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.5 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application sonicTurbFoam;
|
|
|
|
startFrom latestTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 0.03;
|
|
|
|
deltaT 4e-08;
|
|
|
|
writeControl runTime;
|
|
|
|
writeInterval 1e-05;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression compressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
functions
|
|
(
|
|
//forces
|
|
//{
|
|
// type forces;
|
|
// functionObjectLibs ("libforces.so");
|
|
//
|
|
// // Patches to sample
|
|
// patches (WALL10);
|
|
// // Name of fields
|
|
// pName p;
|
|
// UName U;
|
|
// // Dump to file
|
|
// log true;
|
|
// // Density
|
|
// rhoInf 1;
|
|
// // Centre of rotation
|
|
// CofR (0 0 0);
|
|
//}
|
|
|
|
forces
|
|
{
|
|
type forceCoeffs;
|
|
functionObjectLibs ("libforces.so");
|
|
|
|
// Patches to sample
|
|
patches (WALL10);
|
|
// Name of fields
|
|
pName p;
|
|
UName U;
|
|
// Dump to file
|
|
log true;
|
|
// Density
|
|
rhoInf 1;
|
|
// Centre of rotation
|
|
CofR (0 0 0);
|
|
|
|
// Direction for lift
|
|
liftDir (-0.239733 0.970839 0);
|
|
// Direction for drag
|
|
dragDir ( 0.970839 0.239733 0);
|
|
|
|
// Pitching axis
|
|
pitchAxis (0 0 1);
|
|
|
|
magUInf 618.022;
|
|
|
|
lRef 1.0;
|
|
Aref 1.0;
|
|
}
|
|
|
|
);
|
|
|
|
// ************************************************************************* //
|