This changes simplifies the specification of functionObjects in controlDict and is consistent with the 'libs' option in controlDict to load special solver libraries. Support for the old 'functionObjectLibs' name is supported for backward compatibility.
41 lines
1.3 KiB
C++
41 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
forceCoeffs1
|
|
{
|
|
type forceCoeffs;
|
|
|
|
libs ( "libforces.so" );
|
|
|
|
writeControl timeStep;
|
|
timeInterval 1;
|
|
|
|
log yes;
|
|
|
|
patches ( motorBikeGroup );
|
|
rhoName rhoInf; // Indicates incompressible
|
|
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
|
|
/*
|
|
binData
|
|
{
|
|
nBin 20; // output data into 20 bins
|
|
direction (1 0 0); // bin direction
|
|
cumulative yes;
|
|
}
|
|
*/
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|