TUT: Cleaned some forceCoeffs usages

This commit is contained in:
Andrew Heather
2018-10-16 08:40:23 +01:00
parent aafbb6723f
commit 8bf5d2747d
4 changed files with 6 additions and 34 deletions

View File

@ -16,7 +16,7 @@ forces
patches ("motorBike.*");
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
rhoInf 1; // Required when rho = rhoInf
liftDir (0 0 1);
dragDir (1 0 0);
CofR (0.72 0 0); // Axle midpoint on ground

View File

@ -19,7 +19,7 @@ forceCoeffs1
patches (motorBikeGroup);
rho rhoInf; // Indicates incompressible
rhoInf 1; // Redundant for incompressible
rhoInf 1; // Required when rho = rhoInf
liftDir (0 0 1);
dragDir (1 0 0);
CofR (0.72 0 0); // Axle midpoint on ground

View File

@ -47,35 +47,7 @@ runTimeModifiable true;
functions
{
forceCoeffs1
{
type forceCoeffs;
libs ("libforces.so" );
writeControl writeTime;
writeFields true;
patches (body);
p p;
U U;
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
liftDir (0 1 0);
dragDir (1 0 0);
CofR (3.5 0 0); // Axle midpoint on ground
pitchAxis (0 0 1);
magUInf 10;
lRef 4; // Wheelbase length
Aref 1; // Estimated
porosity on;
binData
{
nBin 20; // output data into 20 bins
direction (1 0 0); // bin direction
cumulative yes;
}
}
#include "forceCoeffs"
}
// ************************************************************************* //

View File

@ -18,14 +18,14 @@ forceCoeffs1
U U;
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
rhoInf 1; // Required when rho = rhoInf
liftDir (0 1 0);
dragDir (1 0 0);
CofR (3.5 0 0); // Axle midpoint on ground
pitchAxis (0 0 1);
magUInf 10;
lRef 4; // Wheelbase length
Aref 1; // Estimated
lRef 4; // Wheelbase length
Aref 1; // Estimated
porosity on;
binData