Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
OpenFoam
| \\
/ F ield
| \\
/ O peration
| \\ / A nd
|
\\/
| Version: 2.1.1
| Web:
www.OpenFOAM.org
M anipulation |
|
|
\*---------------------------------------------------------------------------*/
forces
{
type forces;
functionObjectLibs ("libforces.so");
patches (Nadador);
pName p;
UName U;
rhoName rhoInf;
rhoInf 1000;
outputControl timeStep;
OutputInterval 50;
}
patches ( "Mariposa.*" );
pName
p;
UName
U;
rhoName rhoInf; // Indicates incompressible
log
true;
rhoInf 1;
// Redundant for incompressible
liftDir (0 0 1);
dragDir (1 0 0);
CofR
(0.72 0 0); // Axle midpoint on ground
pitchAxis (0 1 0);
magUInf 20;
lRef
1.42;
// Wheelbase length
Aref
0.75;
// Estimated
}
/ F ield
| \\ / O peration
| \\ / A nd
| \\/
| Version: 2.1.1
| Web:
M anipulation |
Modificar el Diccionario
ControlDict
www.OpenFOAM.org
|
|
writeControl timeStep;
writeInterval 100;
\*---------------------------------------------------------------------------*/
purgeWrite
0;
FoamFile
writeFormat
ascii;
writePrecision 6;
version
2.0;
writeCompression compressed;
format
ascii;
timeFormat
general;
class
dictionary;
timePrecision 6;
object
controlDict;
runTimeModifiable true;
functions
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application
simpleFoam;
startFrom
latestTime;
startTime
0;
stopAt
endTime
deltaT
{
#include "forces"
#include "forceCoeffs"
endTime;
500;
1;
Resultados de Coeficientes
Time
Cd
Cl
0.1
2345.56
5.95693
-251.284
0.2
4643.53
1271.1
-9114.97
0.3
-5.43946e+11 3.42022e+12
-1.6541e+14
0.4
-6.06731e+29 1.3728e+29
7.81321e+30
0.5
5.70247e+51
4.90589e+49
3.46159e+51
0.6
2.15216e+68
-3.0019e+66
3.80131e+69
0.7
4.20393e+82
1.83888e+82
-1.67758e+83
0.8
1.95549e+99
7.70646e+97
-5.52581e+100
0.9
1.1
1.2
1.3
Cm
Cd: Coeficiente de
arrastre.
Cl: Coeficiente de
sustentacion.
Cm: Coeficiente de
cabeceo.