
motorBike case not getting cl and cd
followingÂ is my system/controlDict/function Dict
i got this from openfoam website.
forceCoeffs1
{
// Mandatory entries
type forceCoeffs;
libs (forces);
patches (motorBike); // (wall1 “(wall2wall3)”);
magUInf 20;
lRef 1.8;
Aref 3.6;// Optional entries
//coefficients (<wordHashSet>);
//directForceDensity <bool>;
// porosity <bool>;
// writeFields <bool>;
// useNamePrefix <bool>;// Conditional mandatory entries
// Cartesian coordinate system specification when evaluating
// force and moment coefficients, either of the below// Option1, i.e. the centre of rotation
// by inherently using e3=(0 0 1) and e1=(1 0 0)
CofR (0 0 0); // Centre of rotation
dragDir (1 0 0);
liftDir (0 0 1);// Option2, i.e. local coordinate system specification
origin (0 0 0);
e1 (1 0 0);
e3 (0 0 1); // (e1, e2) or (e2, e3) or (e3, e1)// Option3, i.e. general coordinate system specification
coordinateSystem
{
type cartesian;
origin (0 0 0);
rotation
{
type axes;
e3 (0 0 1);
e1 (1 0 0); // (e1, e2) or (e2, e3) or (e3, e1)
}
}// Conditional optional entries
// if directForceDensity == true
fD <word>;// if directForceDensity == false
p p;
U U;
rho rhoInf;rhoInfÂ 1; // redundant for incompressibleflow cases
pRef 0;// Inherited entries
}
Log in to reply.