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 componentMixedTetPolyPatchVectorField& pp =
21 refCast<componentMixedTetPolyPatchVectorField>
23 motionU.boundaryField()[piston().patchID().index()]
26 pp.refValue() = vector::zero;