1 // use tetrahedral decomposition of the engine mesh
4 piston().cs().axis()*engineTime_.pistonSpeed().value();
7 tetPointVectorField& motionU = mSolver.motionU();
9 Info << "setting the piston velocity" << endl;
11 // Set piston velocity
12 if (piston().patchID().active())
17 Info << "Piston velocity: " << pistonVel;
20 motionU.boundaryField()[piston().patchID().index()] == pistonVel;
21 // motionU.boundaryField()[piston().patchID().index()] == vector::zero;