Commit 5cd75ac7 authored by mattijs's avatar mattijs
Browse files

BUG: surfaceInertia: undo incorrect commit df3a560d

parent dce9d9e0
......@@ -384,26 +384,6 @@ int main(int argc, char *argv[])
<< " momentOfInertia " << eVal << token::END_STATEMENT << nl
<< " orientation " << eVec.T() << token::END_STATEMENT
<< endl;
// Get inertia as a symmetric tensor
const symmTensor st
(
eVal.xx(),
eVal.xy(),
eVal.xz(),
eVal.yy(),
eVal.yz(),
eVal.zz()
);
Info<< nl
<< "Entries for rigidBodyDynamics dynamicMeshDict:"
<< nl
<< " mass " << m << token::END_STATEMENT << nl
<< " centreOfMass " << cM << token::END_STATEMENT << nl
<< " inertia " << st << token::END_STATEMENT << nl
<< endl;
}
if (calcAroundRefPt)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment