1 // use tetrahedral decomposition of the engine mesh
4 tetPointVectorField& motionU = mSolver.motionU();
7 piston().cs().axis()*engineTime_.pistonSpeed().value();
10 if (piston().patchID().active())
15 Info << "Piston velocity: " << pistonVel;
18 componentMixedTetPolyPatchVectorField& pp =
19 refCast<componentMixedTetPolyPatchVectorField>
21 motionU.boundaryField()[piston().patchID().index()]
24 pp.refValue() = pistonVel;
28 motionU.correctBoundaryConditions();